http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806
--- Comment #2 from Steven Bosscher steven at gcc dot gnu.org 2011-02-18
17:23:44 UTC ---
Also fails, but in a different way, if --disable-multilib is removed from the
configure options:
# If this is the top-level multilib, build all the other
# multilibs.
/home/stevenb/devel/cross-aix/build/./gcc/xgcc
-B/home/stevenb/devel/cross-aix/build/./gcc/
-B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/bin/
-B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/lib/ -isystem
/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/include -isystem
/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/sys-include
-L/home/stevenb/devel/cross-aix/build/./ld-g -O2 -pthread -O2 -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -I. -I.
-I../../.././gcc -I../../../../combined/libgcc -I../../../../combined/libgcc/.
-I../../../../combined/libgcc/../gcc -I../../../../combined/libgcc/../include
-o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
../../../../combined/libgcc/../gcc/unwind-dw2.c
In file included from ../../../../combined/libgcc/../gcc/gthr-aix.h:30:0,
from ../../.././gcc/gthr-default.h:1,
from ../../../../combined/libgcc/../gcc/gthr.h:162,
from ../../../../combined/libgcc/../gcc/unwind-dw2.c:37:
../../../../combined/libgcc/../gcc/gthr-posix.h:41:21: fatal error: pthread.h:
No such file or directory
compilation terminated.
make[4]: *** [unwind-dw2.o] Error 1
make[4]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/pthread/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
`/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/stevenb/devel/cross-aix/build'
make: *** [all] Error 2
$ cat gcc/configargs.h
/* Generated automatically. */
static const char configuration_arguments[] = ../combined/configure
--enable-languages=c --disable-checking --target=powerpc-ibm-aix6.0
--with-mpc=/opt/ --disable-nls
--prefix=/home/stevenb/devel/cross-aix/install/;
static const char thread_model[] = aix;
static const struct {
const char *name, *value;
} configure_default_options[] = { { NULL, NULL} };
$