bash-3.2$ CC="gcc -B/usr/bin/" ../gcc-4.1.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether ln works... (cached) yes checking whether ln -s works... (cached) yes checking for gcc... (cached) gcc -b/usr/bin/ checking whether the C compiler (gcc -b/usr/bin/ ) works... yes checking whether the C compiler (gcc -b/usr/bin/ ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc -b/usr/bin/ accepts -g... (cached) no checking for gnatbind... no checking whether compiler driver understands Ada... (cached) no checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... no *** This configuration is not supported in the following subdirectories: target-libada gnattools target-libstdc++-v3 target-libgfortran target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) gcc: unrecognized option '-b/usr/bin/' checking for bison... (cached) bison -y checking for bison... (cached) bison checking for gm4... (cached) m4 checking for flex... (cached) flex checking for flex... (cached) flex checking for makeinfo... (cached) makeinfo checking for expect... no checking for runtest... no checking for i686-pc-linux-gnu-ar... (cached) ar checking for i686-pc-linux-gnu-as... (cached) as checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for i686-pc-linux-gnu-ld... (cached) ld checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for i686-pc-linux-gnu-nm... (cached) nm checking for i686-pc-linux-gnu-ranlib... (cached) ranlib checking for i686-pc-linux-gnu-strip... (cached) strip checking for i686-pc-linux-gnu-windres... no checking for windres... no checking for i686-pc-linux-gnu-objcopy... (cached) objcopy checking for i686-pc-linux-gnu-objdump... (cached) objdump checking for i686-pc-linux-gnu-ar... (cached) ar checking for i686-pc-linux-gnu-as... (cached) as checking for i686-pc-linux-gnu-cc... (cached) cc checking for i686-pc-linux-gnu-c++... (cached) c++ checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking for i686-pc-linux-gnu-gcc... (cached) gcc checking for i686-pc-linux-gnu-gcj... no checking for gcj... no checking for i686-pc-linux-gnu-gfortran... no checking for gfortran... no checking for i686-pc-linux-gnu-ld... (cached) ld checking for i686-pc-linux-gnu-lipo... no checking for lipo... no checking for i686-pc-linux-gnu-nm... (cached) nm checking for i686-pc-linux-gnu-objdump... (cached) objdump checking for i686-pc-linux-gnu-ranlib... (cached) ranlib checking for i686-pc-linux-gnu-strip... (cached) strip checking for i686-pc-linux-gnu-windres... no checking for windres... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... host tool checking where to find the target c++ for libstdc++... host tool checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gcj... host tool checking where to find the target gfortran... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... (cached) yes creating ./config.status creating Makefile bash-3.2$ make bootstrap Configuring in build-i686-pc-linux-gnu/libiberty configure: loading cache ../config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... (cached) makeinfo checking for perl... (cached) perl checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking for i686-pc-linux-gnu-ar... no checking for ar... (cached) ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... (cached) ranlib checking for i686-pc-linux-gnu-gcc... (cached) gcc -b/usr/bin/ 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 gcc -b/usr/bin/ accepts -g... (cached) yes checking for gcc -b/usr/bin/ option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -b/usr/bin/ -E checking whether gcc -b/usr/bin/ and cc understand -c and -o together... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking whether byte ordering is bigendian... (cached) no checking for a BSD-compatible install... (cached) /usr/bin/install -c xhost-mkfrag is unchanged checking for sys/file.h... (cached) no checking for sys/param.h... (cached) no checking for limits.h... (cached) no checking for stdlib.h... (cached) no checking for malloc.h... (cached) no checking for string.h... (cached) no checking for unistd.h... (cached) no checking for strings.h... (cached) no checking for sys/time.h... (cached) no checking for time.h... (cached) no checking for sys/resource.h... (cached) no checking for sys/stat.h... (cached) no checking for sys/mman.h... (cached) no checking for fcntl.h... (cached) no checking for alloca.h... (cached) no checking for sys/pstat.h... (cached) no checking for sys/sysmp.h... (cached) no checking for sys/sysinfo.h... (cached) no checking for machine/hal_sysinfo.h... (cached) no checking for sys/table.h... (cached) no checking for sys/sysctl.h... (cached) no checking for sys/systemcfg.h... (cached) no checking for stdint.h... (cached) no checking for stdio_ext.h... (cached) no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether errno must be declared... (cached) no checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) no checking for sys/stat.h... (cached) no checking for stdlib.h... (cached) no checking for string.h... (cached) no checking for memory.h... (cached) no checking for strings.h... (cached) no checking for inttypes.h... (cached) no checking for stdint.h... (cached) no checking for unistd.h... (cached) no checking for int... (cached) yes checking size of int... (cached) 4 checking for uintptr_t... (cached) no checking for a 64-bit type... (cached) unsigned long long checking for pid_t... (cached) yes checking for library containing strerror... (cached) none required checking for asprintf... (cached) yes checking for atexit... (cached) yes checking for basename... (cached) yes checking for bcmp... (cached) yes checking for bcopy... (cached) yes checking for bsearch... (cached) yes checking for bzero... (cached) yes checking for calloc... (cached) yes checking for clock... (cached) yes checking for ffs... (cached) yes checking for getcwd... (cached) yes checking for getpagesize... (cached) yes checking for gettimeofday... (cached) yes checking for index... (cached) yes checking for insque... (cached) yes checking for memchr... (cached) yes checking for memcmp... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for mempcpy... (cached) yes checking for memset... (cached) yes checking for mkstemps... (cached) no checking for putenv... (cached) yes checking for random... (cached) yes checking for rename... (cached) yes checking for rindex... (cached) yes checking for setenv... (cached) yes checking for snprintf... (cached) yes checking for sigsetmask... (cached) yes checking for stpcpy... (cached) yes checking for stpncpy... (cached) yes checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strncasecmp... (cached) yes checking for strndup... (cached) yes checking for strrchr... (cached) yes checking for strstr... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strverscmp... (cached) yes checking for tmpnam... (cached) yes checking for vasprintf... (cached) yes checking for vfprintf... (cached) yes checking for vprintf... (cached) yes checking for vsnprintf... (cached) yes checking for vsprintf... (cached) yes checking for waitpid... (cached) yes checking whether alloca needs Cray hooks... (cached) no checking stack direction for C alloca... (cached) -1 checking for unistd.h... (cached) no checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... (cached) yes checking for working vfork... (cached) yes checking for _doprnt... (cached) no checking for sys_errlist... (cached) yes checking for sys_nerr... (cached) yes checking for sys_siglist... (cached) yes checking for external symbol _system_configuration... no checking for getrusage... (cached) yes checking for on_exit... (cached) yes checking for psignal... (cached) yes checking for strerror... (cached) yes checking for strsignal... (cached) yes checking for sysconf... (cached) yes checking for times... (cached) yes checking for sbrk... (cached) yes checking for gettimeofday... (cached) yes checking for realpath... (cached) yes checking for canonicalize_file_name... (cached) yes checking for pstat_getstatic... (cached) no checking for pstat_getdynamic... (cached) no checking for sysmp... (cached) no checking for getsysinfo... (cached) no checking for table... (cached) no checking for sysctl... (cached) yes checking for wait3... (cached) yes checking for wait4... (cached) yes checking for __fsetlocking... (cached) yes checking whether basename is declared... (cached) no checking whether ffs is declared... (cached) no checking whether asprintf is declared... (cached) no checking whether vasprintf is declared... (cached) no checking whether snprintf is declared... (cached) yes checking whether vsnprintf is declared... (cached) yes checking whether calloc is declared... (cached) yes checking whether getenv is declared... (cached) yes checking whether getopt is declared... (cached) no checking whether malloc is declared... (cached) yes checking whether realloc is declared... (cached) yes checking whether sbrk is declared... (cached) no checking whether strverscmp is declared... (cached) no checking whether canonicalize_file_name must be declared... (cached) yes checking for stdlib.h... (cached) no checking for unistd.h... (cached) no checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for working strncmp... (cached) no configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands make[1]: Entering directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty' if [ x"" != x ]; then \ gcc -b/usr/bin/ -c -DHAVE_CONFIG_H -O2 -I. -I../../../gcc-4.1.2/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../../gcc-4.1.2/libiberty/cplus-dem.c -o pic/cplus-dem.o; \ else true; fi gcc -b/usr/bin/ -c -DHAVE_CONFIG_H -O2 -I. -I../../../gcc-4.1.2/libiberty/../include -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes ../../../gcc-4.1.2/libiberty/cplus-dem.c -o cplus-dem.o gcc: unrecognized option '-b/usr/bin/' ../../../gcc-4.1.2/libiberty/cplus-dem.c:55: warning: function declaration isn't a prototype ../../../gcc-4.1.2/libiberty/cplus-dem.c:55: error: conflicting types for 'malloc' ../../../gcc-4.1.2/libiberty/cplus-dem.c:56: warning: function declaration isn't a prototype ../../../gcc-4.1.2/libiberty/cplus-dem.c: In function 'code_for_qualifier': ../../../gcc-4.1.2/libiberty/cplus-dem.c:582: warning: implicit declaration of function 'abort' ../../../gcc-4.1.2/libiberty/cplus-dem.c:582: warning: incompatible implicit declaration of built-in function 'abort' ../../../gcc-4.1.2/libiberty/cplus-dem.c: In function 'qualifier_string': ../../../gcc-4.1.2/libiberty/cplus-dem.c:622: warning: incompatible implicit declaration of built-in function 'abort' ../../../gcc-4.1.2/libiberty/cplus-dem.c: In function 'squangle_mop_up': ../../../gcc-4.1.2/libiberty/cplus-dem.c:1082: warning: implicit declaration of function 'free' ../../../gcc-4.1.2/libiberty/cplus-dem.c: In function 'demangle_qualified': ../../../gcc-4.1.2/libiberty/cplus-dem.c:3177: warning: implicit declaration of function 'atoi' make[1]: *** [cplus-dem.o] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty' make: *** [all-build-libiberty] Error 2