delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/31/14:37:40

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: about bootstrap the djgpp's gcc
Date: Sun, 31 Aug 2003 19:28:47 +0100
Lines: 93
Message-ID: <3F523E5F.BF5BAC09@phekda.freeserve.co.uk>
References: <70f1c48a DOT 0308310734 DOT 21c131c1 AT posting DOT google DOT com>
NNTP-Posting-Host: 217.135.134.249
Mime-Version: 1.0
X-Trace: news6.svr.pol.co.uk 1062354587 13390 217.135.134.249 (31 Aug 2003 18:29:47 GMT)
NNTP-Posting-Date: 31 Aug 2003 18:29:47 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019