From: AIKO_sex AT hotmail DOT com (mike) Newsgroups: comp.os.msdos.djgpp Subject: Re: about bootstrap the djgpp's gcc Date: 31 Aug 2003 22:09:13 -0700 Organization: http://groups.google.com/ Lines: 115 Message-ID: <70f1c48a.0308312109.3658e07b@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> NNTP-Posting-Host: 219.139.51.149 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1062392954 19842 127.0.0.1 (1 Sep 2003 05:09:14 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 1 Sep 2003 05:09:14 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Richard Dawe wrote in message news:<3F523E5F DOT BF5BAC09 AT phekda DOT freeserve DOT co DOT uk>... > Hello. > > mike wrote: > > > > /dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs/libstdcxx.a( > > numeric_members.o)(.text._ZNSt8numpunctIcED0Ev+0x23):e:/gcc1/gnu/build.gcc/i586- > > pc-msdosdjgpp/libstdc++-v3/src/numeric_members.cc:50: undefined > > reference to `op > > erator delete(void*)' > > /dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs/libstdcxx.a( > > numeric_members.o)(.eh_frame+0x11):e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libs > > tdc++-v3/src/numeric_members.cc:47: undefined reference to > > `___gxx_personality_v > > 0' > > /dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs/libstdcxx.a( > > time_members.o)(.eh_frame+0x11):e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc > > ++-v3/src/time_members.cc:60: undefined reference to > > `___gxx_personality_v0' > > /dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs/libstdcxx.a( > > messages_members.o)(.eh_frame+0x11):e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/lib > > stdc++-v3/src/messages_members.cc:44: undefined reference to > > `___gxx_personality > > _v0' > > collect2: ld returned 1 exit status > > make.exe[4]: *** [abi_check] Error 1 > > make.exe[3]: *** [all-recursive] Error 1 > > make.exe[2]: *** [all] Error 2 > > make.exe[1]: *** [all-target-libstdc++-v3] Error 2 > > make.exe: *** [bootstrap] Error 2 > > __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. > > > this is my last info on the screen,i use djgpp on win98-msdos box . > > > > below is my redrect the erro in a file and these are the last message: > > LD_RUN_PATH=/dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs > > c:/djgpp/bin/sh.exe ../libtool --tag=CXX --mode=link `echo > > /dev/e/gcc1/gnu/build > > .gcc/gcc/xgcc -shared-libgcc -B/dev/e/gcc1/gnu/build.gcc/gcc/ > > -nostdinc++ -L/de > > v/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src > > -L/dev/e/gcc1/gnu/bui > > ld.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs > > -B/dev/env/DJDIR/i586-pc-msdosd > > jgpp/bin/ -B/dev/env/DJDIR/i586-pc-msdosdjgpp/lib/ -isystem > > /dev/env/DJDIR/i586- > > pc-msdosdjgpp/include | sed 's/xgcc/g++/g'` -g -O2 -o abi_check > > abi_check.o > > -lm > > mkdir .libs > > /dev/e/gcc1/gnu/build.gcc/gcc/g++ -shared-libgcc > > -B/dev/e/gcc1/gnu/build.gcc/gcc > > / -nostdinc++ -B/dev/env/DJDIR/i586-pc-msdosdjgpp/bin/ > > -B/dev/env/DJDIR/i586-pc- > > msdosdjgpp/lib/ -isystem /dev/env/DJDIR/i586-pc-msdosdjgpp/include -g > > -O2 -o abi > > _check abi_check.o -L/dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/ > > src -L/dev/e/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/src/.libs > > -lm > > make.exe[4]: Leaving directory > > `e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc > > ++-v3/testsuite' > > make.exe[3]: Leaving directory > > `e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc > > -- More -- > > > > ++-v3' > > make.exe[2]: Leaving directory > > `e:/gcc1/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc > > ++-v3' > > make.exe[1]: Leaving directory `e:/gcc1/gnu/build.gcc' > > > > E:\gcc1\gnu\build.gcc> > > > > I read the readme.djgpp in the gcc 's source and do as it told me > > cd $djgpp/gnu/build.gcc > > sh djconfig.sh > > sh sj make.sh bootstrap 2>1 > > > > ,but alwayes fail like above in the stage3,anybody known why?i have > > done it in the windows 2000 dos box server times and the same errors. > > > > can djgpp's gcc bootstrap by itself? > > I don't know. Sorry - that's not much help. > > Regards, ############################################################################### __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.:_)