Jim Wilson wrote:
Douglas B Rupp wrote:
I'm happy to try writing a patch, but my version of gcc/configure
doesn't look like what you described.
I tried a build with the gcc-4.1.x branch, and gcc/nm is computed
correctly, so the problem I described on mainline does not exist here.
Unfortunately, I wasn't able to produce a problem as I don't have a copy
of ppc-aix to use for the sysroot, and I don't see any configure error
before the build fails because the sysroot is missing. Also, I don't
have your complete configure command, or your config.log file, so I can
not do anything further here without more info.
Would you like the complete config.log by private email?
../gcc-41/configure --target=powerpc-ibm-aix5.2.0.0
--prefix=/home/rupp/gnat --with-gnu-as
--with-local-prefix=/home/rupp/gnat/local --enable-threads=posix
-disable-nls --disable-multilib --enable-checking=release
--enable-languages=c,ada
----------------
config.log fragment
.........
configure:4787: checking for pid_t
configure:4811: /home/rupp/ngnat/buildxppcaix/./gcc/xgcc
-B/home/rupp/ngnat/buildxppcaix/./gcc/
-B/home/rupp/gnat/powerpc-ibm-aix5.2.0.0/bin/
-B/home/rupp/gnat/powerpc-ibm-aix5.2.0.0/lib/ -isystem
/home/rupp/gnat/powerpc-ibm-aix5.2.0.0/include -isystem
/home/rupp/gnat/powerpc-ibm-aix5.2.0.0/sys-include -c -O2 -g
conftest.c >&5
configure:4817: $? = 0
configure:4821: test -z
|| test ! -s conftest.err
configure:4824: $? = 0
configure:4827: test -s conftest.o
configure:4830: $? = 0
configure:4841: result: yes
configure:5861: checking for library containing strerror
configure:5869: error: Link tests are not allowed after GCC_NO_EXECUTABLES.