delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/09/03/15:15:35

From: "mike" <AIKO_sex AT linuxeden DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: about bootstrap the djgpp's gcc
Date: Tue, 2 Sep 2003 16:39:43 +0800
Organization: Bentium Ltd. (CN99)
Lines: 122
Message-ID: <bj5dp2$nht$1@mail.cn99.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> <tq86lvcoaf7i2s7e73cojsdab9he6olbto AT 4ax DOT com>
NNTP-Posting-Host: 219.139.51.63
X-Trace: mail.cn99.com 1062615650 24125 219.139.51.63 (3 Sep 2003 19:00:50 GMT)
X-Complaints-To: usenet AT news DOT cn99 DOT com
NNTP-Posting-Date: Wed, 3 Sep 2003 19:00:50 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Andrew Cottrell" <spam AT bigpond DOT com DOT au>
??????:tq86lvcoaf7i2s7e73cojsdab9he6olbto AT 4ax DOT com...
> >
>
>###########################################################################
####
> > __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
>
I do as you told,and i found if i use the 2.04alpha version to
bootstrap,then it still can't found the ___gxx_personality_v0 symbols and
other symbols in the libstdcxx.a at stage 3.the erros just the  same as
above.
If I use 2.03 version ,then the erros like follows(blow is the all erros in
my redirect erros file):

cc1plus.exe: warning: -ffunction-sections may affect debugging on some
targets
In file included from
/dev/f/gcc6/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/
include/bits/fpos.h:45,
                 from
/dev/f/gcc6/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/
include/bits/char_traits.h:46,
                 from
/dev/f/gcc6/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/
include/string:47,
                 from
/dev/f/gcc6/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/
include/bitset:55,
                 from /gcc6/gnu/gcc-3.22/libstdc++-v3/src/bitset.cc:43:
/dev/f/gcc6/gnu/build.gcc/i586-pc-msdosdjgpp/libstdc++-v3/include/cwchar:65:
con
flicting
   types for `typedef struct mbstate_t mbstate_t'
c:/djgpp/include/wchar.h:27: previous declaration as `typedef struct
mbstate_t
   mbstate_t'
make.exe[4]: *** [bitset.lo] 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
it still stop at stage3.

I download all the 2.04 alpha from the mirro
ftp://ftp.iij.ad.jp/pub/djgpp/alpha( just  used for above  and the  erros is
from this version ,i choosed all the same year and almost the same date
,except those no the same date foe me to choose,and  so ,i choosed the near
date's)
and yet download all the alpha 2.04 from
http://clio.rice.edu/djgpp/win2k/main_204.htm,   then still failed in stage
1.

all the version above i used the acnf213b.zip and amake14b for extra
requested in the gcc's readme.DJGPP.

I have make a ne dictory and install djgpp in the ne directory,but still
failed.(the erros just above)

how could I?






- Raw text -


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