This is the mail archive of the
mailing list for the libstdc++ project.
Re: g++ 3.2.x build problem
- From: "Val Nets" <val_nets at hotmail dot com>
- To: "David Edelsohn" <dje at watson dot ibm dot com>
- Cc: <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 28 Mar 2003 10:13:40 -0500
- Subject: Re: g++ 3.2.x build problem
- References: <200303251926.OAA31990@makai.watson.ibm.com>
Thanks for your quick response, and sorry for my delay -- I was out of
office since then.
Regarding what you asked:
1) AIX version is 220.127.116.11, and it was determined correctly, as you can see
in the paths in the error messages (that is, in my original message).
2) I honestly got no idea why the configuration procedure decided not to
default to absense of symbol versioning, as it should on AIX. Will try what
you suggested: --enable-symvers=no (in fact, I'm running this experiment
right now, hope to have the results by tonight).
3) Utilities I use (ld, as, etc) are from GNU BinUtils package, version 2.13
(which is the last stable release, as I can see on gnu.org). Do you think I
should use something else?
----- Original Message -----
From: "David Edelsohn" <dje at watson dot ibm dot com>
To: "Val Nets" <val_nets at hotmail dot com>
Cc: <libstdc++ at gcc dot gnu dot org>
Sent: Tuesday, March 25, 2003 2:26 PM
Subject: Re: g++ 3.2.x build problem
> >>>>> Val Nets writes:
> Val> Trying to build 3.2.2 on AIX/powerpc (3.2.1 had the same problem, but
> Val> let's talk specific).
> Val> Configured almost standard way, just giving my own --prefix and
> Val> --enabling c,c++ langs only,
> Val> and --disabled-shared (have my reasons):
> Val> undefined reference to `typeinfo for std::bad_alloc'
> Val> undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
> These may be related to --disable-shared.
> Val> P.S. while writing this message, got another experiment finished:
> Val> configured the same way but without --disable-shared.
> Val> this time, got assembler errors while compiling
> Val> gcc-3.2.2/libstdc++-v3/src/globals.cc:
> Val> /tmp//ccklu429.s: Assembler messages:
> Val> /tmp//ccklu429.s:629: Error: unknown pseudo-op: `.symver'
> Val> /tmp//ccklu429.s:637: Error: unknown pseudo-op: `.symver'
> Val> /tmp//ccklu429.s:645: Error: unknown pseudo-op: `.symver'
> Val> .... and so forth .... -- 20 of them
> Which assembler and linker are you using? AIX as and AIX ld, or
> using the GNUPro stuff from the AIX website? You need to figure out why
> the libstdc++ configuration is choosing to enable "versioning on shared
> library symbols". When I configure GCC on AIX, this defaults to "no".
> you can manually force it to be disabled using --enable-symvers=no when
> libstdc++ is configured, but it should not have been choosing "yes" on AIX
> (By the way, you do not mention which version of AIX you are