[Clfs-support] Error when compiling GCC for x86_64

Antony Derham antonyderham at hotmail.co.uk
Tue Feb 17 04:23:30 PST 2009


> Date: Mon, 16 Feb 2009 10:35:34 -0800
> From: clfs at jg555.com
> To: clfs-support at lists.cross-lfs.org
> Subject: Re: [Clfs-support] Error when compiling GCC for x86_64
> 
> Antony Derham wrote:
> > I am on Chapter 5.8 of the CLFS book, and I cannot get GCC to compile. 
> > Can someone help me please?
> >
> > This is a print-out of my error:
> >
> >     /root at Ant-PC:/mnt/clfs/sources/gcc-build#/ *make all-gcc*  
> >     make[1]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty'
> >     make[2]: Entering directory
> >     `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
> >     make[2]: Nothing to be done for `all'.
> >     make[2]: Leaving directory
> >     `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
> >     make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty'
> >     make[1]: Entering directory `/mnt/clfs/sources/gcc-build/intl'
> >     make[1]: Nothing to be done for `all'.
> >     make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/intl'
> >     make[1]: Entering directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'
> >     make[2]: Entering directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'
> >     make[2]: Nothing to be done for `all'.
> >     make[2]: Leaving directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'
> >     make[1]: Leaving directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'
> >     make[1]: Entering directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'
> >     gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
> >     -Wmissing-prototypes -Wold-style-definition
> >     -Wmissing-format-attribute -Wno-overlength-strings -pedantic
> >     -Wno-long-long   -DHAVE_CONFIG_H -I.
> >     -I../../../gcc-4.2.4/fixincludes -I../include
> >     -I../../../gcc-4.2.4/fixincludes/../include
> >     ../../../gcc-4.2.4/fixincludes/fixincl.c
> >     In file included from ../../../gcc-4.2.4/fixincludes/fixincl.c:101:
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:72: warning: string
> >     length '4756' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:224: warning: string
> >     length '552' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:269: warning: string
> >     length '532' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:313: warning: string
> >     length '808' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:399: warning: string
> >     length '5139' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:2499: warning: string
> >     length '729' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     ../../../gcc-4.2.4/fixincludes/fixincl.x:7684: warning: string
> >     length '575' is greater than the length '509' ISO C89 compilers
> >     are required to support
> >     cc1: error: unrecognized command line option "-Wno-overlength-strings"
> >     make[1]: *** [fixincl.o] Error 1
> >     make[1]: Leaving directory
> >     `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'
> >     make: *** [all-build-fixincludes] Error 2
> >
> > I've tried searching he internet for answers, but no luck. Can anyone 
> > help with this?
> >
> > ------------------------------------------------------------------------
> > Get Hotmail on your mobile from Vodafone Try it Now 
> > <http://clk.atdmt.com/UKM/go/111354028/direct/01/>
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Clfs-support mailing list
> > Clfs-support at lists.cross-lfs.org
> > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
> >   
>     Please use proper reporting, your missing a lot of important 
> information.
>    http://cross-lfs.org/view/svn/x86/introduction/askforhelp.html
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org



Ok. I've applied all the patches listed, so it's not that. I'm trying
to make a x86_64-Multilib CLFS. Here's the terminal printout from
configure:



root at Ant-PC:/mnt/clfs/sources/gcc-build# ../gcc-4.2.4/configure
--prefix=/cross-tools     --host=${CLFS_HOST}
--target=${CLFS_TARGET}     --with-local-prefix=/tools --disable-nls
--disable-shared     --disable-threads --enable-languages=c

loading cache ./config.cache

checking host system type... x86_64-cross-linux-gnu

checking target system type... x86_64-unknown-linux-gnu

checking build system type... x86_64-cross-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

checking whether the C compiler (gcc  ) works... yes

checking whether the C compiler (gcc  ) is a cross-compiler... no

checking whether we are using GNU C... (cached) yes

checking whether gcc accepts -g... (cached) yes

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-zlib target-libjava zlib target-libobjc
target-boehm-gc

    (Any other directories should still work fine.)

*** removing build-x86_64-cross-linux-gnu/libiberty/Makefile to force reconfigure

*** removing build-x86_64-cross-linux-gnu/fixincludes/Makefile to force reconfigure

*** removing intl/Makefile to force reconfigure

*** removing libiberty/Makefile to force reconfigure

*** removing gcc/Makefile to force reconfigure

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 x86_64-cross-linux-gnu-ar... (cached) ar

checking for x86_64-cross-linux-gnu-as... (cached) as

checking for x86_64-cross-linux-gnu-dlltool... no

checking for dlltool... no

checking for x86_64-cross-linux-gnu-ld... (cached) ld

checking for x86_64-cross-linux-gnu-lipo... no

checking for lipo... no

checking for x86_64-cross-linux-gnu-nm... (cached) nm

checking for x86_64-cross-linux-gnu-ranlib... (cached) ranlib

checking for x86_64-cross-linux-gnu-strip... (cached) strip

checking for x86_64-cross-linux-gnu-windres... no

checking for windres... no

checking for x86_64-cross-linux-gnu-objcopy... (cached) objcopy

checking for x86_64-cross-linux-gnu-objdump... (cached) objdump

checking for x86_64-unknown-linux-gnu-cc... no

checking for x86_64-unknown-linux-gnu-gcc... no

checking for x86_64-unknown-linux-gnu-c++... no

checking for x86_64-unknown-linux-gnu-g++... no

checking for x86_64-unknown-linux-gnu-cxx... no

checking for x86_64-unknown-linux-gnu-gxx... no

checking for x86_64-unknown-linux-gnu-gcc... no

checking for x86_64-unknown-linux-gnu-gcj... no

checking for x86_64-unknown-linux-gnu-gfortran... no

checking for dlltool... no

checking for x86_64-unknown-linux-gnu-dlltool... no

checking for lipo... no

checking for x86_64-unknown-linux-gnu-lipo... no

checking for windres... no

checking for x86_64-unknown-linux-gnu-windres... no

checking where to find the target ar... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target as... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target cc... just compiled

checking where to find the target c++... pre-installed

checking where to find the target c++ for libstdc++... pre-installed

checking where to find the target dlltool... pre-installed

checking where to find the target gcc... just compiled

checking where to find the target gcj... pre-installed

checking where to find the target gfortran... pre-installed

checking where to find the target ld... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target lipo... pre-installed

checking where to find the target nm... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target objdump... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target ranlib... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target strip... pre-installed in /cross-tools/x86_64-unknown-linux-gnu/bin

checking where to find the target windres... pre-installed

checking whether to enable maintainer-specific portions of Makefiles... no

checking whether -fkeep-inline-functions is supported... yes

creating ./config.status

creating Makefile



And the printout for make (as far back as the terminal displays):



config.status: creating Makefile

config.status: creating gccbug

config.status: creating mklibgcc

config.status: creating libada-mk

config.status: creating ada/Makefile

config.status: creating auto-host.h

config.status: auto-host.h is unchanged

config.status: executing default commands

Configuring in ./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) x86_64-cross-linux-gnu

checking host system type... (cached) x86_64-cross-linux-gnu

checking for x86_64-cross-linux-gnu-ar... (cached) ar

checking for x86_64-cross-linux-gnu-ranlib... (cached) ranlib

checking for x86_64-cross-linux-gnu-gcc... (cached) gcc

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 accepts -g... (cached) yes

checking for gcc option to accept ANSI C... (cached) none needed

checking how to run the C preprocessor... (cached) gcc -E

checking whether gcc accepts -Wc++-compat... (cached) yes

checking whether gcc 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

checking for sys/file.h... (cached) yes

checking for sys/param.h... (cached) yes

checking for limits.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for malloc.h... (cached) yes

checking for string.h... (cached) yes

checking for unistd.h... (cached) yes

checking for strings.h... (cached) yes

checking for sys/time.h... (cached) yes

checking for time.h... (cached) yes

checking for sys/resource.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for sys/mman.h... (cached) yes

checking for fcntl.h... (cached) yes

checking for alloca.h... (cached) yes

checking for sys/pstat.h... (cached) no

checking for sys/sysmp.h... (cached) no

checking for sys/sysinfo.h... (cached) yes

checking for machine/hal_sysinfo.h... (cached) no

checking for sys/table.h... (cached) no

checking for sys/sysctl.h... (cached) yes

checking for sys/systemcfg.h... (cached) no

checking for stdint.h... (cached) yes

checking for stdio_ext.h... (cached) yes

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) 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 int... (cached) yes

checking size of int... (cached) 4

checking for uintptr_t... (cached) yes

checking for a 64-bit type... (cached) uint64_t

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) yes

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) yes

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) yes

checking whether malloc is declared... (cached) yes

checking whether realloc is declared... (cached) yes

checking whether sbrk is declared... (cached) yes

checking whether strverscmp is declared... (cached) no

checking whether canonicalize_file_name must be declared... (cached) yes

checking for stdlib.h... (cached) yes

checking for unistd.h... (cached) yes

checking for getpagesize... (cached) yes

checking for working mmap... (cached) yes

checking for working strncmp... (cached) yes

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/clfs/sources/gcc-build/libiberty'

rm -f needed-list; touch needed-list; \

    for f in atexit calloc memchr memcmp memcpy memmove memset rename
strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf
vprintf vfork waitpid bcmp bcopy bzero; do \

      for g in ./mkstemps.o ; do \

        case "$g" in \

          *$f*) echo $g >> needed-list ;; \

        esac; \

      done; \

    done

echo ./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 ./pexecute.o ./physmem.o
./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o
./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o
./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o
./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list

make[2]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty/testsuite'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty/testsuite'

make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty'

make[1]: Entering directory `/mnt/clfs/sources/gcc-build/intl'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/intl'

Configuring in build-x86_64-cross-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) x86_64-cross-linux-gnu

checking host system type... (cached) x86_64-cross-linux-gnu

checking for x86_64-cross-linux-gnu-ar... no

checking for ar... (cached) ar

checking for x86_64-cross-linux-gnu-ranlib... no

checking for ranlib... (cached) ranlib

checking for x86_64-cross-linux-gnu-gcc... (cached) gcc

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 accepts -g... (cached) yes

checking for gcc option to accept ANSI C... (cached) none needed

checking how to run the C preprocessor... (cached) gcc -E

checking whether gcc accepts -Wc++-compat... (cached) yes

checking whether gcc 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

checking for sys/file.h... (cached) yes

checking for sys/param.h... (cached) yes

checking for limits.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for malloc.h... (cached) yes

checking for string.h... (cached) yes

checking for unistd.h... (cached) yes

checking for strings.h... (cached) yes

checking for sys/time.h... (cached) yes

checking for time.h... (cached) yes

checking for sys/resource.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for sys/mman.h... (cached) yes

checking for fcntl.h... (cached) yes

checking for alloca.h... (cached) yes

checking for sys/pstat.h... (cached) no

checking for sys/sysmp.h... (cached) no

checking for sys/sysinfo.h... (cached) yes

checking for machine/hal_sysinfo.h... (cached) no

checking for sys/table.h... (cached) no

checking for sys/sysctl.h... (cached) yes

checking for sys/systemcfg.h... (cached) no

checking for stdint.h... (cached) yes

checking for stdio_ext.h... (cached) yes

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) 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 int... (cached) yes

checking size of int... (cached) 4

checking for uintptr_t... (cached) yes

checking for a 64-bit type... (cached) uint64_t

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) yes

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) yes

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) yes

checking whether malloc is declared... (cached) yes

checking whether realloc is declared... (cached) yes

checking whether sbrk is declared... (cached) yes

checking whether strverscmp is declared... (cached) no

checking whether canonicalize_file_name must be declared... (cached) yes

checking for stdlib.h... (cached) yes

checking for unistd.h... (cached) yes

checking for getpagesize... (cached) yes

checking for working mmap... (cached) yes

checking for working strncmp... (cached) yes

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/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'

rm -f needed-list; touch needed-list; \

    for f in atexit calloc memchr memcmp memcpy memmove memset rename
strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf
vprintf vfork waitpid bcmp bcopy bzero; do \

      for g in ./mkstemps.o ; do \

        case "$g" in \

          *$f*) echo $g >> needed-list ;; \

        esac; \

      done; \

    done

echo ./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 ./pexecute.o ./physmem.o
./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o
./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o
./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o
./xstrdup.o ./xstrerror.o ./xstrndup.o > required-list

make[2]: Entering directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty/testsuite'

make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/libiberty'

Configuring in build-x86_64-cross-linux-gnu/fixincludes

configure: loading cache ../config.cache

checking build system type... (cached) x86_64-cross-linux-gnu

checking host system type... (cached) x86_64-cross-linux-gnu

checking target system type... (cached) x86_64-unknown-linux-gnu

checking for x86_64-cross-linux-gnu-gcc... (cached) gcc

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 accepts -g... (cached) yes

checking for gcc option to accept ANSI C... (cached) none needed

checking whether gcc supports -W... (cached) yes

checking whether gcc supports -Wall... (cached) yes

checking whether gcc supports -Wwrite-strings... (cached) yes

checking whether gcc supports -Wstrict-prototypes... (cached) yes

checking whether gcc supports -Wmissing-prototypes... (cached) yes

checking whether gcc supports -Wold-style-definition... (cached) yes

checking whether gcc supports -Wmissing-format-attribute... (cached) yes

checking whether gcc supports -Wno-overlength-strings... (cached) yes

checking whether gcc supports -pedantic -Wno-long-long... (cached) yes

checking how to run the C preprocessor... (cached) gcc -E

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 stddef.h... (cached) yes

checking for stdlib.h... (cached) yes

checking for strings.h... (cached) yes

checking for unistd.h... (cached) yes

checking for fcntl.h... (cached) yes

checking for sys/file.h... (cached) yes

checking for sys/stat.h... (cached) yes

checking for clearerr_unlocked... (cached) yes

checking for feof_unlocked... (cached) yes

checking for ferror_unlocked... (cached) yes

checking for fflush_unlocked... (cached) yes

checking for fgetc_unlocked... (cached) yes

checking for fgets_unlocked... (cached) yes

checking for fileno_unlocked... (cached) yes

checking for fprintf_unlocked... (cached) no

checking for fputc_unlocked... (cached) yes

checking for fputs_unlocked... (cached) yes

checking for fread_unlocked... (cached) yes

checking for fwrite_unlocked... (cached) yes

checking for getchar_unlocked... (cached) yes

checking for getc_unlocked... (cached) yes

checking for putchar_unlocked... (cached) yes

checking for putc_unlocked... (cached) yes

checking whether abort is declared... (cached) yes

checking whether asprintf is declared... (cached) no

checking whether basename is declared... (cached) no

checking whether errno is declared... (cached) no

checking whether vasprintf is declared... (cached) no

checking whether clearerr_unlocked is declared... (cached) yes

checking whether feof_unlocked is declared... (cached) yes

checking whether ferror_unlocked is declared... (cached) yes

checking whether fflush_unlocked is declared... (cached) yes

checking whether fgetc_unlocked is declared... (cached) yes

checking whether fgets_unlocked is declared... (cached) no

checking whether fileno_unlocked is declared... (cached) yes

checking whether fprintf_unlocked is declared... (cached) no

checking whether fputc_unlocked is declared... (cached) yes

checking whether fputs_unlocked is declared... (cached) no

checking whether fread_unlocked is declared... (cached) yes

checking whether fwrite_unlocked is declared... (cached) yes

checking whether getchar_unlocked is declared... (cached) yes

checking whether getc_unlocked is declared... (cached) yes

checking whether putchar_unlocked is declared... (cached) yes

checking whether putc_unlocked is declared... (cached) yes

checking for an ANSI C-conforming const... (cached) yes

checking for sys/mman.h... (cached) yes

checking for mmap... (cached) yes

checking whether read-only mmap of a plain file works... (cached) yes

checking whether mmap from /dev/zero works... (cached) yes

checking for MAP_ANON(YMOUS)... (cached) yes

checking whether mmap with MAP_ANON(YMOUS) works... (cached) yes

checking whether to enable maintainer-specific portions of Makefiles... no

configure: creating ./config.status

config.status: creating Makefile

config.status: creating mkheaders.almost

config.status: creating config.h

config.status: config.h is unchanged

make[1]: Entering directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'

gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I.
-I../../../gcc-4.2.4/fixincludes -I../include
-I../../../gcc-4.2.4/fixincludes/../include
../../../gcc-4.2.4/fixincludes/fixincl.c

In file included from ../../../gcc-4.2.4/fixincludes/fixincl.c:101:

../../../gcc-4.2.4/fixincludes/fixincl.x:72: warning: string length
'4756' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:224: warning: string length
'552' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:269: warning: string length
'532' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:313: warning: string length
'808' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:399: warning: string length
'5139' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:2499: warning: string length
'729' is greater than the length '509' ISO C89 compilers are required
to support

../../../gcc-4.2.4/fixincludes/fixincl.x:7684: warning: string length
'575' is greater than the length '509' ISO C89 compilers are required
to support

cc1: error: unrecognized command line option "-Wno-overlength-strings"

make[1]: *** [fixincl.o] Error 1

make[1]: Leaving directory `/mnt/clfs/sources/gcc-build/build-x86_64-cross-linux-gnu/fixincludes'

make: *** [all-build-fixincludes] Error 2



Thank you for your help!
_________________________________________________________________
Win New York holidays with Kellogg’s & Live Search
http://clk.atdmt.com/UKM/go/111354033/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090217/3bdc9bee/attachment-0001.htm>


More information about the Clfs-support mailing list