Hi *, when trying to installl gcc 4.2.3 on AIX 5.3 bootstraps fails in stage3 in configure-target-libmudflap when trying to detect used thread-model:
checking for thread model used by GCC... aix aix is an unsupported thread package make[1]: *** [configure-target-libmudflap] Error 1 make[1]: Leaving directory `/VWS/ENTW/temp/gcc/obj' make: *** [bootstrap] Error 2 I used configure: CONFIG_SHELL=/usr/local/bin/bash ../gcc-4.2.3/configure --prefix=/VWS/ENTW/usr/local --disable-nls --enable-languages=c,c++ --enable-libmudflap --enable-mudflap --with-gnu-make --enable-threads=posix but also: CONFIG_SHELL=/usr/local/bin/bash ../gcc-4.2.3/configure --prefix=/VWS/ENTW/usr/local --disable-nls --enable-languages=c,c++ --enable-libmudflap --enable-mudflap --with-gnu-make --enable-threads=single --disable-threads fails. Anyone an idea? Best regards, Thomas make[8]: Entering directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /pthread/ppc64/libstdc++-v3' true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include" "CFLAGS=-O2 -g -O2 -pthread -maix64" "CXXFLAGS=-g -O2 -pthread -maix64" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/VWS/ENTW/temp/gcc/gcc-4.2.3 /install-sh -c" "INSTALL_DATA=/VWS/ENTW/temp/gcc/gcc-4.2.3/install-sh -c -m 644" "INSTALL_PROGRAM=/VWS/ENTW/temp/gcc/gcc-4.2.3/install-sh -c" "INSTALL_SCRIPT=/VWS/ENTW/temp/gcc/gcc-4.2.3/install-sh -c" "LDFLAGS=-pthread -maix64" "LIBCFLAGS=-O2 -g -O2 -pthread -maix64" "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/usr/local/bin/bash" "RUNTESTFLAGS=" "exec_prefix=/VWS/ENTW/usr/local" "infodir=/VWS/ENTW/usr/local/info" "libdir=/VWS/ENTW/usr/local/lib" "includedir=/VWS/ENTW/usr/local/include" "prefix=/VWS/ENTW/usr/local" "tooldir=/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0" "gxx_include_dir=/VWS/ENTW/usr/local/include/c++/4.2.3" "AR=ar -X32_64" "AS=/VWS/ENTW/temp/gcc/obj/./gcc/as" "LD=/VWS/ENTW/temp/gcc/obj/./gcc/collect-ld" "RANLIB=ranlib" "NM=/VWS/ENTW/temp/gcc/obj/./gcc/nm -B -X32_64" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm -B -X32_64" "DESTDIR=" "WERROR=" DO=all multi-do # make make[8]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /pthread/ppc64/libstdc++-v3' make[7]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /pthread/ppc64/libstdc++-v3' make[6]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /pthread/ppc64/libstdc++-v3' make[5]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /libstdc++-v3' make[4]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /libstdc++-v3' make[3]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /libstdc++-v3' make[2]: Leaving directory `/VWS/ENTW/temp/gcc/obj/powerpc-ibm-aix5.3.0.0 /libstdc++-v3' Checking multilib configuration for libmudflap... Configuring in powerpc-ibm-aix5.3.0.0/libmudflap configure: loading cache ./config.cache checking build system type... (cached) powerpc-ibm-aix5.3.0.0 checking host system type... (cached) powerpc-ibm-aix5.3.0.0 checking target system type... (cached) powerpc-ibm-aix5.3.0.0 checking for a BSD-compatible install... /VWS/ENTW/temp/gcc/gcc-4.2.3 /install-sh -c checking whether build environment is sane... yes checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for --enable-version-specific-runtime-libs... no checking whether to enable maintainer-specific portions of Makefiles... no checking for powerpc-ibm-aix5.3.0.0-gcc... (cached) /VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether /VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include accepts -g... (cached) yes checking for /VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include option to accept ANSI C... (cached) none needed checking for style of include used by make... GNU checking dependency style of /VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include... (cached) gcc3 checking how to run the C preprocessor... (cached) /VWS/ENTW/temp/gcc/obj/./gcc/xgcc -B/VWS/ENTW/temp/gcc/obj/./gcc/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/bin/ -B/VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/lib/ -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/include -isystem /VWS/ENTW/usr/local/powerpc-ibm-aix5.3.0.0/sys-include -E checking whether dlsym(RTLD_NEXT,...) is available... yes checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for execinfo.h... (cached) no checking for signal.h... (cached) yes checking for dlfcn.h... (cached) yes checking for dirent.h... (cached) yes checking for pwd.h... (cached) yes checking for grp.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/ipc.h... (cached) yes checking for sys/sem.h... (cached) yes checking for sys/shm.h... (cached) yes checking for sys/wait.h... (cached) yes checking for ctype.h... (cached) yes checking for mntent.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for dlfcn.h... (cached) yes checking for sys/mman.h... (cached) yes checking for backtrace... (cached) no checking for backtrace_symbols... (cached) no checking for gettimeofday... (cached) yes checking for signal... (cached) yes checking for fopen64... (cached) yes checking for fseeko64... (cached) yes checking for ftello64... (cached) yes checking for stat64... (cached) yes checking for freopen64... (cached) yes checking for setbuf... (cached) yes checking for setbuffer... (cached) yes checking for setlinebuf... (cached) yes checking for setvbuf... (cached) yes checking for strnlen... (cached) yes checking for memrchr... (cached) no checking for strncpy... (cached) yes checking for memmem... (cached) yes checking for sethostname... (cached) yes checking for __ctype_b_loc... (cached) no checking for __ctype_tolower_loc... (cached) no checking for __ctype_toupper_loc... (cached) no checking for getlogin... (cached) yes checking for cuserid... (cached) yes checking for getpwnam... (cached) yes checking for getpwuid... (cached) yes checking for getpwent... (cached) yes checking for getgrnam... (cached) yes checking for getgrgid... (cached) yes checking for getgrent... (cached) yes checking for getlogin_r... (cached) yes checking for getpwnam_r... (cached) yes checking for getpwuid_r... (cached) yes checking for getgrnam_r... (cached) yes checking for getgrgid_r... (cached) yes checking for getservent... (cached) yes checking for getservbyname... (cached) yes checking for getservbyport... (cached) yes checking for getaddrinfo... (cached) yes checking for gai_strerror... (cached) yes checking for getprotoent... (cached) yes checking for getprotobyname... (cached) yes checking for getprotobynumber... (cached) yes checking for getmntent... (cached) yes checking for setmntent... (cached) yes checking for addmntent... (cached) yes checking for inet_ntoa... (cached) yes checking for mmap... (cached) yes checking for munmap... (cached) yes checking for socklen_t in sys/socket.h... yes checking for ld used by GCC... (cached) /VWS/ENTW/temp/gcc/obj/./gcc/collect-ld checking if the linker (/VWS/ENTW/temp/gcc/obj/./gcc/collect-ld) is GNU ld... (cached) no checking for /VWS/ENTW/temp/gcc/obj/./gcc/collect-ld option to reload object files... (cached) -r checking for BSD-compatible nm... (cached) /VWS/ENTW/temp/gcc/obj/./gcc/nm -B -X32_64 checking whether ln -s works... yes checking how to recognise dependant libraries... (cached) pass_all checking the maximum length of command line arguments... (cached) 24577 checking for powerpc-ibm-aix5.3.0.0-ranlib... (cached) ranlib checking for powerpc-ibm-aix5.3.0.0-strip... (cached) strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for /VWS/ENTW/temp/gcc/obj/./gcc/xgcc option to produce PIC... -DPIC checking if /VWS/ENTW/temp/gcc/obj/./gcc/xgcc PIC flag -DPIC works... (cached) yes checking if /VWS/ENTW/temp/gcc/obj/./gcc/xgcc static flag -static works... (cached) yes finding the maximum length of command line arguments... (cached) 24577 checking if /VWS/ENTW/temp/gcc/obj/./gcc/xgcc supports -c -o file.o... (cached) yes checking if /VWS/ENTW/temp/gcc/obj/./gcc/xgcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (/VWS/ENTW/temp/gcc/obj/./gcc/collect-ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... aix5.3.0.0 ld.so checking command to parse /VWS/ENTW/temp/gcc/obj/./gcc/nm -B -X32_64 output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking for stdint.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for thread model used by GCC... aix aix is an unsupported thread package make[1]: *** [configure-target-libmudflap] Error 1 make[1]: Leaving directory `/VWS/ENTW/temp/gcc/obj' make: *** [bootstrap] Error 2 [/VWS/ENTW/temp/gcc/obj]