Mail Archives: djgpp/2003/09/01/02:17:52
Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk> 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.:_)
- Raw text -