代码: 全选
lfs@tusooa-laptop:/mnt/lfs/sources/gcc-build$ CC="gcc -B/usr/bin" ../gcc-4.0.3/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... 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... yes
checking whether gcc -B/usr/bin accepts -g... yes
checking for gnatbind... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for MPFR... yes
*** This configuration is not supported in the following subdirectories:
target-libada 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.)
checking for bison... bison
checking for bison... bison -y
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for x86_64-unknown-linux-gnu-ld... /usr/bin/ld
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... nm
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... windres
checking for x86_64-unknown-linux-gnu-objcopy... no
checking for objcopy... objcopy
checking for x86_64-unknown-linux-gnu-objdump... no
checking for objdump... objdump
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-gnu-as... no
checking for as... as
checking for x86_64-unknown-linux-gnu-dlltool... no
checking for dlltool... dlltool
checking for x86_64-unknown-linux-gnu-ld... no
checking for ld... ld
checking for x86_64-unknown-linux-gnu-nm... no
checking for nm... nm
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gnu-windres... no
checking for windres... windres
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
lfs@tusooa-laptop:/mnt/lfs/sources/gcc-build$ ls
Makefile config.log fixincludes intl libiberty
config.cache config.status gcc libcpp serdep.tmp
lfs@tusooa-laptop:/mnt/lfs/sources/gcc-build$ make bootstrap
mkdir -p -- build-x86_64-unknown-linux-gnu/libiberty
Configuring in build-x86_64-unknown-linux-gnu/libiberty
configure: creating cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... /mnt/lfs/sources/gcc-4.0.3/missing makeinfo
configure: WARNING:
*** Makeinfo is missing. Info documentation will not be built.
checking for perl... perl
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gnu-gcc... 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... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -B/usr/bin accepts -g... yes
checking for gcc -B/usr/bin option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -B/usr/bin -E
checking whether gcc -B/usr/bin and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... yes
checking for stdio_ext.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int... yes
checking size of int... 4
checking for uintptr_t... yes
checking for a 64-bit type... uint64_t
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... yes
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... yes
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... yes
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... yes
checking for stpncpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... yes
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... -1
checking for unistd.h... (cached) yes
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _doprnt... no
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... yes
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... yes
checking for psignal... yes
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... yes
checking for __fsetlocking... yes
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
updating cache ../config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Entering directory `/mnt/lfs/sources/gcc-build/build-x86_64-unknown-linux-gnu/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/regex.c -o pic/regex.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/regex.c -o regex.o
In file included from ../../../gcc-4.0.3/libiberty/../include/xregex.h:26,
from ../../../gcc-4.0.3/libiberty/regex.c:199:
../../../gcc-4.0.3/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support 'static' or type qualifiers in parameter array declarators
In file included from ../../../gcc-4.0.3/libiberty/regex.c:653:
../../../gcc-4.0.3/libiberty/regex.c: In function 'byte_compile_range':
../../../gcc-4.0.3/libiberty/regex.c:4552: warning: signed and unsigned type in conditional expression
../../../gcc-4.0.3/libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression
../../../gcc-4.0.3/libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cplus-dem.c -o cplus-dem.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cp-demangle.c -o pic/cp-demangle.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cp-demangle.c -o cp-demangle.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/md5.c -o pic/md5.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/md5.c -o md5.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/alloca.c -o pic/alloca.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/alloca.c -o alloca.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/argv.c -o pic/argv.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/argv.c -o argv.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/choose-temp.c -o pic/choose-temp.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/choose-temp.c -o choose-temp.o
../../../gcc-4.0.3/libiberty/choose-temp.c: In function 'choose_temp_base':
../../../gcc-4.0.3/libiberty/choose-temp.c:68: warning: ignoring return value of 'mktemp', declared with attribute warn_unused_result
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/concat.c -o pic/concat.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/concat.c -o concat.o
../../../gcc-4.0.3/libiberty/concat.c: In function 'concat_length':
../../../gcc-4.0.3/libiberty/concat.c:112: warning: traditional C rejects ISO C style function definitions
../../../gcc-4.0.3/libiberty/concat.c: In function 'concat_copy':
../../../gcc-4.0.3/libiberty/concat.c:127: warning: traditional C rejects ISO C style function definitions
../../../gcc-4.0.3/libiberty/concat.c: In function 'concat_copy2':
../../../gcc-4.0.3/libiberty/concat.c:146: warning: traditional C rejects ISO C style function definitions
../../../gcc-4.0.3/libiberty/concat.c: In function 'concat':
../../../gcc-4.0.3/libiberty/concat.c:157: warning: traditional C rejects ISO C style function definitions
../../../gcc-4.0.3/libiberty/concat.c: In function 'reconcat':
../../../gcc-4.0.3/libiberty/concat.c:194: warning: traditional C rejects ISO C style function definitions
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cp-demint.c -o pic/cp-demint.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/cp-demint.c -o cp-demint.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/dyn-string.c -o dyn-string.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fdmatch.c -o fdmatch.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fibheap.c -o fibheap.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/floatformat.c -o floatformat.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fnmatch.c -o pic/fnmatch.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fnmatch.c -o fnmatch.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fopen_unlocked.c -o pic/fopen_unlocked.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/fopen_unlocked.c -o fopen_unlocked.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getopt.c -o pic/getopt.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getopt.c -o getopt.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getopt1.c -o pic/getopt1.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getopt1.c -o getopt1.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getpwd.c -o pic/getpwd.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getpwd.c -o getpwd.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getruntime.c -o pic/getruntime.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/getruntime.c -o getruntime.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/hashtab.c -o pic/hashtab.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/hashtab.c -o hashtab.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/hex.c -o pic/hex.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/hex.c -o hex.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/lbasename.c -o pic/lbasename.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/lbasename.c -o lbasename.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/lrealpath.c -o pic/lrealpath.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/lrealpath.c -o lrealpath.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/make-relative-prefix.c -o pic/make-relative-prefix.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/make-relative-prefix.c -o make-relative-prefix.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/make-temp-file.c -o pic/make-temp-file.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/make-temp-file.c -o make-temp-file.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/objalloc.c -o pic/objalloc.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/objalloc.c -o objalloc.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/obstack.c -o pic/obstack.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/obstack.c -o obstack.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/partition.c -o pic/partition.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/partition.c -o partition.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/physmem.c -o pic/physmem.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/physmem.c -o physmem.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/pex-unix.c -o pic/pex-unix.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/pex-unix.c -o pex-unix.o
../../../gcc-4.0.3/libiberty/pex-unix.c: In function 'pexecute':
../../../gcc-4.0.3/libiberty/pex-unix.c:159: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:165: warning: ignoring return value of 'dup', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:181: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:182: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:183: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:184: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:185: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:186: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:187: warning: ignoring return value of 'write', declared with attribute warn_unused_result
../../../gcc-4.0.3/libiberty/pex-unix.c:94: warning: variable 'out' might be clobbered by 'longjmp' or 'vfork'
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/safe-ctype.c -o pic/safe-ctype.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/safe-ctype.c -o safe-ctype.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/sort.c -o pic/sort.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/sort.c -o sort.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/spaces.c -o pic/spaces.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/spaces.c -o spaces.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/splay-tree.c -o pic/splay-tree.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/splay-tree.c -o splay-tree.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/strerror.c -o pic/strerror.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/strerror.c -o strerror.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/strsignal.c -o pic/strsignal.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/strsignal.c -o strsignal.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/ternary.c -o pic/ternary.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/ternary.c -o ternary.o
../../../gcc-4.0.3/libiberty/ternary.c:153: warning: 'ternary_recursivesearch' defined but not used
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xatexit.c -o pic/xatexit.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xatexit.c -o xatexit.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xexit.c -o pic/xexit.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xexit.c -o xexit.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xmalloc.c -o pic/xmalloc.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xmalloc.c -o xmalloc.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xmemdup.c -o pic/xmemdup.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xmemdup.c -o xmemdup.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xstrdup.c -o pic/xstrdup.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xstrdup.c -o xstrdup.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xstrerror.c -o pic/xstrerror.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/xstrerror.c -o xstrerror.o
if [ x"" != x ]; then \
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/mkstemps.c -o pic/mkstemps.o; \
else true; fi
gcc -B/usr/bin -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../gcc-4.0.3/libiberty/../include -W -Wall -Wtraditional -pedantic ../../../gcc-4.0.3/libiberty/mkstemps.c -o mkstemps.o
rm -f ./libiberty.a pic/./libiberty.a
ar rc ./libiberty.a \
./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./mkstemps.o
*** buffer overflow detected ***: ar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x2afcb8ab12c7]
/lib/libc.so.6[0x2afcb8aaf170]
/lib/libc.so.6[0x2afcb8aae519]
/lib/libc.so.6(_IO_default_xsputn+0x96)[0x2afcb8a28426]
/lib/libc.so.6(_IO_padn+0xfa)[0x2afcb8a1bc1a]
/lib/libc.so.6(_IO_vfprintf+0x27a4)[0x2afcb89fa144]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x2afcb8aae5b9]
/lib/libc.so.6(__sprintf_chk+0x80)[0x2afcb8aae500]
ar[0x408e74]
ar[0x407216]
ar[0x409984]
ar[0x41087f]
ar[0x403efd]
ar[0x4043d6]
ar[0x4049df]
/lib/libc.so.6(__libc_start_main+0xe6)[0x2afcb89d05a6]
ar[0x401f19]
======= Memory map: ========
00400000-00486000 r-xp 00000000 08:26 252691 /mnt/lfs/tools/bin/ar
00685000-00686000 r--p 00085000 08:26 252691 /mnt/lfs/tools/bin/ar
00686000-00687000 rw-p 00086000 08:26 252691 /mnt/lfs/tools/bin/ar
00687000-0068b000 rw-p 00687000 00:00 0
01899000-01b05000 rw-p 01899000 00:00 0 [heap]
2afcb8791000-2afcb87b1000 r-xp 00000000 08:02 2537 /lib/ld-2.9.so
2afcb87b1000-2afcb87be000 rw-p 2afcb87b1000 00:00 0
2afcb89b0000-2afcb89b1000 r--p 0001f000 08:02 2537 /lib/ld-2.9.so
2afcb89b1000-2afcb89b2000 rw-p 00020000 08:02 2537 /lib/ld-2.9.so
2afcb89b2000-2afcb8b1a000 r-xp 00000000 08:02 2557 /lib/libc-2.9.so
2afcb8b1a000-2afcb8d1a000 ---p 00168000 08:02 2557 /lib/libc-2.9.so
2afcb8d1a000-2afcb8d1e000 r--p 00168000 08:02 2557 /lib/libc-2.9.so
2afcb8d1e000-2afcb8d1f000 rw-p 0016c000 08:02 2557 /lib/libc-2.9.so
2afcb8d1f000-2afcb8d25000 rw-p 2afcb8d1f000 00:00 0
2afcb8d25000-2afcb8d3b000 r-xp 00000000 08:02 2579 /lib/libgcc_s.so.1
2afcb8d3b000-2afcb8f3b000 ---p 00016000 08:02 2579 /lib/libgcc_s.so.1
2afcb8f3b000-2afcb8f3c000 r--p 00016000 08:02 2579 /lib/libgcc_s.so.1
2afcb8f3c000-2afcb8f3d000 rw-p 00017000 08:02 2579 /lib/libgcc_s.so.1
7ffff2303000-7ffff2318000 rw-p 7ffffffea000 00:00 0 [stack]
7ffff23fe000-7ffff23ff000 r-xp 7ffff23fe000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
make[1]: *** [libiberty.a] Aborted
make[1]: *** Deleting file `libiberty.a'
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build/build-x86_64-unknown-linux-gnu/libiberty'
make: *** [all-build-libiberty] Error 2
lfs@tusooa-laptop:/mnt/lfs/sources/gcc-build$
PWD=/mnt/lfs/sources/gcc-build
make install不可用