Building g++ 3.0 under AIX

Hidvegi hzoli@austin.ibm.com
Mon Feb 19 14:06:00 GMT 2001


> The problem seems to be in building libstdc++-v3.
> My procedure was to :
> build and install latest-snapshot binutils.

I've tried that and it did not work, something is wrong with nm and
maybe with ar as well.  Make sure you only use as from binutils.

> The error is coming from the assembler, I've attached the output from
> make bootstrap.

gcc emits crnot which is rejected by gas in power mode, because the
old Power assembler does not support this.  You can hand-patch gas to
accept crnot, or fix gcc to use the right crnor format.  With that
libstdc++ builds fine.

Zoli



More information about the Gcc mailing list