From: AIKO_sex AT hotmail DOT com (mike) Newsgroups: comp.os.msdos.djgpp Subject: Re: about bootstrap the djgpp's gcc Date: 2 Sep 2003 10:36:03 -0700 Organization: http://groups.google.com/ Lines: 380 Message-ID: <70f1c48a.0309020936.33a5bed3@posting.google.com> References: <70f1c48a DOT 0308310734 DOT 21c131c1 AT posting DOT google DOT com> <3F523E5F DOT BF5BAC09 AT phekda DOT freeserve DOT co DOT uk> <70f1c48a DOT 0308312109 DOT 3658e07b AT posting DOT google DOT com> NNTP-Posting-Host: 219.139.51.85 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1062524164 18188 127.0.0.1 (2 Sep 2003 17:36:04 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 2 Sep 2003 17:36:04 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Andrew Cottrell wrote in message news:... > > > >############################################################################### > > __gxx_personality_v0 errors are usually due to linking C++ programs > >with gcc > >> instead of g++. It seems strange that you get this error when building gcc, > >> though, especially in stage 3. I would expect it to fail earlier than that, if > >> there's some kind of error in one of the Makefiles. > > > >i known the _gxx_personality_vo symbols in the libstdcxx.a library, > >and i test the original gpp (the one bootstrap the gcc above),and it > >can successfully compile and link .but when bootstrap in the stage3,it > >will stop as above.i retried server versions gcc source download from > >the DJ's home.for example:gcc321s.zip,gcc322s.zip,gcc323s.zip,gcc2.952s.zip.all > >failed for the symbol in the libstdcxx.a at stage 3 linking time.i > >don't know wheather the gcc in the djgpp can bootstrap with the > >source from DJ's home.If i make directly it will success,but when > >bootstrap ,it failed alwayes in the stage3 for those symbols in the > >libstdcxx.a > > > >so ,i don't think these were leaded by my original gpp .sombody even > >successly bootstrap gcc without no change the source download from the > >DJ's home? > >I want your help.:_) > > Based on my past experience this occurs when something goes horibbly > wrong and you get a brain dead C++ lib file. This has occured with > file utils in the past and one other app, but I can't remember what it > was. > > So long as you use all of the alpha 1 or the files from clio then > building from gccXXXs.zip should work fine (XXX > 310). > > To save you allot of time please ensure that you are using all of the > files from the ftp.delorie.com/pub/djgpp/alpha directory, do NOT mix > 2.03 and 2.04 files if you are trying to build GCC as you may come > accross symlink issues or 2.03 issues on your W2K OS. > > Please have a read of the following URLs:- > http://www.phekda.freeserve.co.uk/richdawe/djgpp/2.04/status204.html > http://clio.rice.edu/djgpp/win2k/main_204.htm > > If you use all of the apps from either the alpha or clio.rice.edu then > from the clio.rice.edu have a look at the build utils section as there > is a http://clio.rice.edu/djgpp/win2k/dj204_build_batch.zip file which > includes the batch files I use to build all of the zip files at > clio.rice.edu. > > If you still can't get it to build then I also suggest that you setup > DJGPP in a new directory from scratch and see if this new version > works. Check the dates of the exes in the bin directory to ensure that > they are from this year and all from about the same date. If they > aren't then you have installed an old program. > > > Andrew well, I have download all the packages needed by readme.djgpp in gcc322s.zip from ftp://ftp.iij.ad.jp/pub/djgpp/alpha/ (I want to konw why are there not the same date stamp package in the alpha,so I have to use some time of 2003.6.18's and some are 2003 4.25's packages.but this time i have the error as blow: make.exe[2]: Nothing to be done for `all'. make.exe[2]: Leaving directory `f:/gcc7/gnu/build.gcc/libiberty/testsuite' make.exe[1]: Leaving directory `f:/gcc7/gnu/build.gcc/libiberty' Bootstrapping the compiler make.exe[1]: Entering directory `f:/gcc7/gnu/build.gcc/gcc' c:/djgpp204/bin/make.exe CC="gcc" libdir=/dev/env/DJDIR/lib libsubdir=/dev/env/D JDIR/lib/gcc-lib/djgpp/3.22 \ gcc_version=3.22 LANGUAGES="c " \ CFLAGS="-g " MAKEINFO="makeinfo " \ MAKEINFOFLAGS="" make.exe[2]: Entering directory `f:/gcc7/gnu/build.gcc/gcc' (cd intl && c:/djgpp204/bin/make.exe all) make.exe[3]: Entering directory `f:/gcc7/gnu/build.gcc/gcc/intl' make.exe[3]: Nothing to be done for `all'. make.exe[3]: Leaving directory `f:/gcc7/gnu/build.gcc/gcc/intl' ./genattrtab.exe /gcc7/gnu/gcc-3.22/gcc/config/i386/i386.md > tmp-attrtab.c Cannot allocate 64 bytes after allocating 33334116 bytes make.exe[2]: *** [s-attrtab] Error 1 make.exe[2]: Leaving directory `f:/gcc7/gnu/build.gcc/gcc' make.exe[1]: *** [stage1_build] Error 2 make.exe[1]: Leaving directory `f:/gcc7/gnu/build.gcc/gcc' make.exe: *** [bootstrap] Error 2 I use the windows 2003 enterpise server and use djgpp in its dos box.anyhow,does the gcc in the 2.04 alpha( gcc322b.zip & gpp322.zip) support the ISO C89? because i have some errors like follows: /gcc7/gnu/gcc-3.22/include/xregex2.h:551: warning: ISO C89 does not support `sta tic' or type qualifiers in parameter array declarators and i have redirect all the errors in a file ,its have all the erros like below: In file included from /gcc7/gnu/gcc-3.22/include/xregex.h:26, from /gcc7/gnu/gcc-3.22/libiberty/regex.c:195: /gcc7/gnu/gcc-3.22/include/xregex2.h:551: warning: ISO C89 does not support `static' or type qualifiers in parameter array declarators In file included from /gcc7/gnu/gcc-3.22/libiberty/regex.c:649: /gcc7/gnu/gcc-3.22/libiberty/regex.c: In function `byte_compile_range': /gcc7/gnu/gcc-3.22/libiberty/regex.c:4602: warning: signed and unsigned type in conditional expression /gcc7/gnu/gcc-3.22/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression /gcc7/gnu/gcc-3.22/libiberty/regex.c:4612: warning: signed and unsigned type in conditional expression /gcc7/gnu/gcc-3.22/libiberty/regex.c: At top level: /gcc7/gnu/gcc-3.22/libiberty/regex.c:1380: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1382: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1383: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1385: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1386: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1388: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1389: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1391: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1392: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1394: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1395: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1397: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1398: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1400: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1401: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1403: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1404: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1406: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1407: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1409: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1410: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1412: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1413: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1415: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1416: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1418: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1419: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1421: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1422: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1424: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1425: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c:1427: warning: traditional C rejects string concatenation /gcc7/gnu/gcc-3.22/libiberty/regex.c: In function `xregerror': /gcc7/gnu/gcc-3.22/libiberty/regex.c:8234: warning: unused parameter `preg' /gcc7/gnu/gcc-3.22/libiberty/md5.c:356:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:357:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:358:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:359:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:360:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:361:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:362:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:363:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:364:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:365:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:366:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:367:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:368:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:369:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:370:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:371:58: warning: function-like macro "FG" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:374:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:375:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:376:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:377:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:378:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:379:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:380:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:381:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:382:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:383:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:384:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:385:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:386:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:387:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:388:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:389:58: warning: function-like macro "FH" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:392:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:393:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:394:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:395:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:396:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:397:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:398:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:399:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:400:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:401:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:402:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:403:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:404:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:405:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:406:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/md5.c:407:58: warning: function-like macro "FI" must be used with arguments in traditional C /gcc7/gnu/gcc-3.22/libiberty/getopt.c: In function `_getopt_initialize': /gcc7/gnu/gcc-3.22/libiberty/getopt.c:396: warning: unused parameter `argc' /gcc7/gnu/gcc-3.22/libiberty/getopt.c:397: warning: unused parameter `argv' /gcc7/gnu/gcc-3.22/libiberty/pexecute.c: In function `pexecute': /gcc7/gnu/gcc-3.22/libiberty/pexecute.c:146: warning: unused parameter `this_pname' /gcc7/gnu/gcc-3.22/libiberty/pexecute.c:147: warning: unused parameter `temp_base' /gcc7/gnu/gcc-3.22/libiberty/pexecute.c: In function `pwait': /gcc7/gnu/gcc-3.22/libiberty/pexecute.c:231: warning: unused parameter `flags' /gcc7/gnu/gcc-3.22/gcc/cppfiles.c: In function `open_file': /gcc7/gnu/gcc-3.22/gcc/cppfiles.c:279: warning: implicit declaration of function `setmode' /gcc7/gnu/gcc-3.22/gcc/calls.c:2069: warning: function declaration isn't a prototype /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `combine_simplify_rtx': /gcc7/gnu/gcc-3.22/gcc/combine.c:4106: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `simplify_if_then_else': /gcc7/gnu/gcc-3.22/gcc/combine.c:4866: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:4881: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `force_to_mode': /gcc7/gnu/gcc-3.22/gcc/combine.c:6779: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `extended_count': /gcc7/gnu/gcc-3.22/gcc/combine.c:8773: warning: signed and unsigned type in conditional expression /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `simplify_shift_const': /gcc7/gnu/gcc-3.22/gcc/combine.c:9001: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9119: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9161: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9195: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9352: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9407: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9426: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9450: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9515: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9518: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:9581: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `recog_for_combine': /gcc7/gnu/gcc-3.22/gcc/combine.c:9708: warning: pointer targets in passing arg 1 of `do_SUBST_INT' differ in signedness /gcc7/gnu/gcc-3.22/gcc/combine.c: In function `simplify_comparison': /gcc7/gnu/gcc-3.22/gcc/combine.c:10494: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:10578: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:10835: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:10932: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:11033: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/combine.c:11035: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/emit-rtl.c: In function `gen_rtx_REG': /gcc7/gnu/gcc-3.22/gcc/emit-rtl.c:424: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/emit-rtl.c: In function `set_mem_attributes_minus_bitpos': /gcc7/gnu/gcc-3.22/gcc/emit-rtl.c:1866: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/expr.c: In function `expand_assignment': /gcc7/gnu/gcc-3.22/gcc/expr.c:3719: warning: unused variable `old_expr' /gcc7/gnu/gcc-3.22/gcc/fold-const.c: In function `lshift_double': /gcc7/gnu/gcc-3.22/gcc/fold-const.c:418: warning: signed and unsigned type in conditional expression /gcc7/gnu/gcc-3.22/gcc/fold-const.c: In function `div_and_round_double': /gcc7/gnu/gcc-3.22/gcc/fold-const.c:723: warning: comparison between signed and unsigned /gcc7/gnu/gcc-3.22/gcc/function.c: In function `assign_stack_temp_for_type': /gcc7/gnu/gcc-3.22/gcc/function.c:764: warning: signed and unsigned type in conditional expression Cannot allocate 64 bytes after allocating 33334116 bytes make.exe[2]: *** [s-attrtab] Error 1 make.exe[1]: *** [stage1_build] Error 2 make.exe: *** [bootstrap] Error 2 please, some djgpp's guru help?with my appreciation in advance.