LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 968|回复: 4

glibc出错

[复制链接]
发表于 2005-5-11 14:37:26 | 显示全部楼层 |阅读模式
../sysdeps/ieee754/dbl-64/s_isinf.c:29: error: 'isinf' aliased to undefined symbol '__isinf'
make[2]: *** [/mnt/lfs/sources/glibc-build/math/s_isinf.os] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5'
make: *** [all] Error 2
lfs@box:/mnt/lfs/sources/glibc-build$
 楼主| 发表于 2005-5-11 15:41:46 | 显示全部楼层
make check

lude -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -o /mnt/lfs/sources/glibc-build/csu/version.o -MD -MP -MF /mnt/lfs/sources/glibc-build/csu/version.o.dt -MT /mnt/lfs/sources/glibc-build/csu/version.o
echo 'csu/init-first.o csu/libc-start.o csu/sysdep.o csu/version.o csu/check_fds.o csu/libc-tls.o csu/elf-init.o csu/dso_handle.o csu/errno.o csu/errno-loc.o csu/hp-timing.o' > /mnt/lfs/sources/glibc-build/csu/stamp.oT
mv -f /mnt/lfs/sources/glibc-build/csu/stamp.oT /mnt/lfs/sources/glibc-build/csu/stamp.o
make[2]: *** No rule to make target `/mnt/lfs/sources/glibc-build/setjmp/stamp.o', needed by `/mnt/lfs/sources/glibc-build/libc.a'.  Stop.
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.5'
make: *** [check] Error 2
lfs@box:/mnt/lfs/sources/glibc-build$
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-11 15:46:05 | 显示全部楼层
hostname = box
uname -m = i686
uname -r = 2.6.10-1-686
uname -s = Linux
uname -v = #1 Fri Mar 11 03:55:46 EST 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /tools/bin
PATH: /bin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1706: checking build system type
configure:1724: result: i686-pc-linux-gnu
configure:1732: checking host system type
configure:1746: result: i686-pc-linux-gnu
configure:1878: result: running configure fragment for add-on linuxthreads
configure:9: result: linuxthreads disabled because nptl add-on is also in use
configure:1878: result: running configure fragment for add-on nptl
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf sysdeps/generic
configure:2233: checking for a BSD-compatible install
configure:2288: result: /usr/bin/install -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2361: checking for gcc
configure:2377: found /tools/bin/gcc
configure:2387: result: gcc
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
gcc (GCC) 4.0.0
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2637: $? = 0
configure:2639: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0.0/configure --prefix=/tools --libexecdir=/tools/lib --with-local-prefix=/tools --disable-nls --enable-shared --enable-languages=c
Thread model: posix
gcc version 4.0.0
configure:2642: $? = 0
configure:2644: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2647: $? = 1
configure:2651: checking for suffix of object files
configure:2672: gcc -c   conftest.c >&5
configure:2675: $? = 0
configure:2697: result: o
configure:2701: checking whether we are using the GNU C compiler
configure:2725: gcc -c   conftest.c >&5
configure:2731: $? = 0
configure:2735: test -z
                         || test ! -s conftest.err
configure:2738: $? = 0
configure:2741: test -s conftest.o
configure:2744: $? = 0
configure:2757: result: yes
configure:2763: checking whether gcc accepts -g
configure:2784: gcc -c -g  conftest.c >&5
configure:2790: $? = 0
configure:2794: test -z
                         || test ! -s conftest.err
configure:2797: $? = 0
configure:2800: test -s conftest.o
configure:2803: $? = 0
configure:2814: result: yes
configure:2831: checking for gcc option to accept ANSI C
configure:2901: gcc  -c -g -O2  conftest.c >&5
configure:2907: $? = 0
configure:2911: test -z
                         || test ! -s conftest.err
configure:2914: $? = 0
configure:2917: test -s conftest.o
configure:2920: $? = 0
configure:2938: result: none needed
configure:2956: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before 'me'
configure:2962: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:3143: checking how to run the C preprocessor
configure:3178: gcc -E  conftest.c
configure:3184: $? = 0
configure:3216: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3222: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3261: result: gcc -E
configure:3285: gcc -E  conftest.c
configure:3291: $? = 0
configure:3323: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3329: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3425: checking for g++
configure:3441: found /usr/bin/g++
configure:3451: result: g++
configure:3467: checking for C++ compiler version
configure:3470: g++ --version </dev/null >&5
g++ (GCC) 3.3.5 (Debian 1:3.3.5-3)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3473: $? = 0
configure:3475: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr--mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared--with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-3)
configure:3478: $? = 0
configure:3480: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:3483: $? = 1
configure:3486: checking whether we are using the GNU C++ compiler
configure:3510: g++ -c   conftest.cc >&5
configure:3516: $? = 0
configure:3520: test -z
                         || test ! -s conftest.err
configure:3523: $? = 0
configure:3526: test -s conftest.o
configure:3529: $? = 0
configure:3542: result: yes
configure:3548: checking whether g++ accepts -g
configure:3569: g++ -c -g  conftest.cc >&5
configure:3575: $? = 0
configure:3579: test -z
                         || test ! -s conftest.err
configure:3582: $? = 0
configure:3585: test -s conftest.o
configure:3588: $? = 0
configure:3599: result: yes
configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                         || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function `int main()':
conftest.cc:14: error: `exit' undeclared (first use this function)
conftest.cc:14: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
configure:3692: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3641: g++ -c -g -O2  conftest.cc >&5
configure:3647: $? = 0
configure:3651: test -z
                         || test ! -s conftest.err
configure:3654: $? = 0
configure:3657: test -s conftest.o
configure:3660: $? = 0
configure:3686: g++ -c -g -O2  conftest.cc >&5
configure:3692: $? = 0
configure:3696: test -z
                         || test ! -s conftest.err
configure:3699: $? = 0
configure:3702: test -s conftest.o
configure:3705: $? = 0
configure:3832: checking whether /tools/bin/as is GNU as
configure:3846: result: yes
configure:3851: checking whether /tools/bin/ld is GNU ld
configure:3865: result: yes
configure:3875: checking for /tools/bin/as
configure:3901: result: /tools/bin/as
configure:3915: checking version of /tools/bin/as
configure:3925: result: 2.15.94.0.2, ok
configure:3936: checking for /tools/bin/ld
configure:3962: result: /tools/bin/ld
configure:3976: checking version of /tools/bin/ld
configure:3986: result: 2.15.94.0.2, ok
configure:4001: checking for pwd
configure:4019: found /bin/pwd
configure:4032: result: /bin/pwd
configure:4051: checking for gcc
configure:4077: result: gcc -B/tools/bin/
configure:4091: checking version of gcc -B/tools/bin/
configure:4101: result: 4.0.0, ok
configure:4112: checking for gnumake
configure:4141: result: no
configure:4112: checking for gmake
configure:4141: result: no
configure:4112: checking for make
configure:4128: found /usr/bin/make
configure:4138: result: make
configure:4152: checking version of make
configure:4162: result: 3.80, ok
configure:4174: checking for gnumsgfmt
configure:4203: result: no
configure:4174: checking for gmsgfmt
configure:4203: result: no
configure:4174: checking for msgfmt
configure:4190: found /usr/bin/msgfmt
configure:4200: result: msgfmt
configure:4214: checking version of msgfmt
configure:4224: result: 0.14.4, ok
configure:4235: checking for makeinfo
configure:4251: found /usr/bin/makeinfo
configure:4261: result: makeinfo
configure:4275: checking version of makeinfo
configure:4285: result: 4.7, ok
configure:4296: checking for sed
configure:4312: found /bin/sed
configure:4322: result: sed
configure:4336: checking version of sed
configure:4346: result: 4.1.2, ok
configure:4358: checking for autoconf
configure:4374: found /usr/bin/autoconf
configure:4384: result: autoconf
configure:4398: checking whether autoconf works
configure:4409: result: yes
configure:4447: checking whether ranlib is necessary
configure:4468: result: no
configure:4481: checking LD_LIBRARY_PATH variable
configure:4491: result: ok
configure:4505: checking whether GCC supports -static-libgcc
configure:4516: result: -static-libgcc
configure:4522: checking for bash
configure:4553: result: /bin/sh
configure:4626: checking for gawk
configure:4642: found /usr/bin/gawk
configure:4652: result: gawk
configure:4664: checking for perl
configure:4682: found /usr/bin/perl
configure:4695: result: /usr/bin/perl
configure:4708: checking for install-info
configure:4727: found /usr/sbin/install-info
configure:4740: result: /usr/sbin/install-info
configure:4749: checking for bison
configure:4768: found /usr/bin/bison
configure:4781: result: /usr/bin/bison
configure:4789: checking for signed size_t type
configure:4804: result: no
configure:4814: checking for libc-friendly stddef.h
configure:4843: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:25: warning: incompatible implicit declaration of built-in function 'abort'
configure:4849: $? = 0
configure:4853: test -z
                         || test ! -s conftest.err
configure:4856: $? = 0
configure:4859: test -s conftest.o
configure:4862: $? = 0
configure:4873: result: yes
configure:4880: checking whether we need to use -P to assemble .S files
configure:4890: gcc -B/tools/bin/   -c conftest.S 1>&5
configure:4893: $? = 0
configure:4901: result: no
configure:4908: checking whether .text pseudo-op must be used
configure:4918: gcc -B/tools/bin/  -c conftest.s 1>&5
configure:4921: $? = 0
configure:4932: result: yes
configure:4936: checking for assembler global-symbol directive
configure:4949: gcc -B/tools/bin/  -c conftest.s 1>&5
configure:4952: $? = 0
configure:4960: result: .globl
configure:4973: checking for .set assembler directive
configure:4999: result: yes
configure:5008: checking for assembler .type directive prefix
configure:5024: gcc -B/tools/bin/  -c conftest.s 1>&5
configure:5027: $? = 0
configure:5035: result: @
configure:5044: checking for .symver assembler directive
configure:5061: result: yes
configure:5063: checking for ld --version-script
configure:5089: gcc -B/tools/bin/ -g -O2  -shared
                                -o conftest.so conftest.o
                                -nostartfiles -nostdlib
                                -Wl,--version-script,conftest.map
                       1>&5
configure:5092: $? = 0
configure:5107: result: yes
configure:5131: checking for .previous assembler directive
configure:5141: gcc -B/tools/bin/ -c  conftest.s 1>&5
configure:5144: $? = 0
configure:5152: result: yes
configure:5190: checking for .protected and .hidden assembler directive
configure:5202: gcc -B/tools/bin/ -c  conftest.s 1>&5
configure:5205: $? = 0
configure:5213: result: yes
configure:5226: checking whether __attribute__((visibility())) is supported
configure:5237: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s 1>&5
configure:5240: $? = 0
configure:5251: result: yes
configure:5262: checking for broken __attribute__((visibility()))
configure:5274: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s1>&5
configure:5277: $? = 0
configure:5286: result: no
configure:5296: checking for broken __attribute__((alias()))
configure:5311: gcc -B/tools/bin/ -Werror -S conftest.c -o conftest.s 1>&5
configure:5314: $? = 0
configure:5324: result: no
configure:5334: checking whether to put _rtld_local into .sdata section
configure:5348: result: no
configure:5358: checking for .preinit_array/.init_array/.fini_array support
configure:5371: gcc -B/tools/bin/ -g -O2   -o conftest conftest.c
                     -static -nostartfiles -nostdlib 1>&5
configure:5374: $? = 0
configure:5387: result: yes
configure:5397: checking for libunwind-support in compiler
configure:5414: result: no
configure:5424: checking for -z nodelete option
configure:5436: gcc -B/tools/bin/ -g -O2
                     -shared -o conftest.so conftest.c
                     -nostartfiles -nostdlib
                     -Wl,--enable-new-dtags,-z,nodelete 1>&5
configure:5439: $? = 0
configure:5448: result: yes
configure:5452: checking for -z nodlopen option
configure:5464: gcc -B/tools/bin/ -g -O2
                        -shared -o conftest.so conftest.c
                        -nostartfiles -nostdlib
                        -Wl,--enable-new-dtags,-z,nodlopen 1>&5
configure:5467: $? = 0
configure:5476: result: yes
configure:5480: checking for -z initfirst option
configure:5492: gcc -B/tools/bin/ -g -O2
                        -shared -o conftest.so conftest.c
                        -nostartfiles -nostdlib
                        -Wl,--enable-new-dtags,-z,initfirst 1>&5
configure:5495: $? = 0
configure:5504: result: yes
configure:5508: checking for -z relro option
configure:5515: gcc -B/tools/bin/ -v --help 2>&1|grep z relro 1>&5
  -z relro              Create RELRO program header
configure:5518: $? = 0
configure:5522: gcc -B/tools/bin/ -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5
  . = DATA_SEGMENT_RELRO_END (12, .);
configure:5525: $? = 0
configure:5532: result: yes
configure:5542: checking for -Bgroup option
configure:5553: gcc -B/tools/bin/ -g -O2
                              -shared -o conftest.so conftest.c
                              -Wl,-Bgroup -nostdlib 1>&5
configure:5556: $? = 0
configure:5565: result: yes
configure:5569: checking for libgcc_s suffix
configure:5583: result:
configure:5587: checking for --as-needed option
configure:5599: gcc -B/tools/bin/ -g -O2
                              -shared -o conftest.so conftest.c
                              -lgcc_s -Wl,--as-needed
                              -nostdlib 1>&5
configure:5602: $? = 0
configure:5611: result: yes
configure:5616: checking whether --noexecstack is desirable for .S files
configure:5626: gcc -B/tools/bin/ -g -O2
                     -S -o conftest.s conftest.c 1>&5
configure:5629: $? = 0
configure:5634: gcc -B/tools/bin/ -g -O2  -Wa,--noexecstack
                       -c -o conftest.o conftest.s 1>&5
configure:5637: $? = 0
configure:5646: result: yes
configure:5653: checking for -z combreloc
configure:5667: gcc -B/tools/bin/ -g -O2
                        -shared -o conftest.so conftest.c
                        -nostdlib -nostartfiles
                        -Wl,-z,combreloc 1>&5
configure:5670: $? = 0
configure:5683: result: yes
configure:5693: checking for -z execstack
configure:5705: gcc -B/tools/bin/ -g -O2
                              -shared -o conftest.so conftest.c
                              -Wl,-z,execstack -nostdlib
                              1>&5
configure:5708: $? = 0
configure:5717: result: yes
configure:5721: checking for -fpie
configure:5732: gcc -B/tools/bin/ -g -O2   -pie -fpie
                              -o conftest conftest.c 1>&5
configure:5735: $? = 0
configure:5744: result: yes
configure:5750: checking for -fno-unit-at-a-time
configure:5760: gcc -B/tools/bin/ -g -O2  -S -fno-unit-at-a-time
                            conftest.c 1>&5
configure:5763: $? = 0
configure:5772: result: yes
configure:5844: checking whether cc puts quotes around section names
configure:5865: result: no
configure:5982: checking for assembler .weak directive
configure:5995: gcc -B/tools/bin/  -c conftest.s 1>&5
configure:5998: $? = 0
configure:6006: result: yes
configure:6053: checking whether CFI directives are supported
configure:6068: gcc -B/tools/bin/  -c conftest.s 1>&5
configure:6071: $? = 0
configure:6079: result: yes
configure:6088: checking if -g produces usable source locations for assembler-with-cpp
configure:6111: gcc -B/tools/bin/   -g -c conftest.S 1>&5
configure:6114: $? = 0
configure:6119: readelf --debug-dump=line conftest.o |
                   grep conftest\.S 1>&5
  1     0       0       0       conftest.S
configure:6122: $? = 0
configure:6131: result: yes
configure:6140: checking for ld --no-whole-archive
configure:6153: gcc -B/tools/bin/ -g -O2
                            -nostdlib -nostartfiles -Wl,--no-whole-archive
                            -o conftest conftest.c 1>&5
configure:6156: $? = 0
configure:6164: result: yes
configure:6170: checking for gcc -fexceptions
configure:6183: gcc -B/tools/bin/ -g -O2
                            -nostdlib -nostartfiles -fexceptions
                            -o conftest conftest.c 1>&5
configure:6186: $? = 0
configure:6194: result: yes
configure:6264: checking for DWARF2 unwind info support
configure:6302: gcc -B/tools/bin/ -g -O2  -DCHECK__register_frame_info   -nostdlib -nostartfiles -o conftest conftest.c                           -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
/tmp/ccdXmhEj.o(.text+0xf): In function `_start':
/mnt/lfs/sources/glibc-build/configure:6277: undefined reference to `__register_frame_info'
/tmp/ccdXmhEj.o(.text+0x1c):/mnt/lfs/sources/glibc-build/configure:6278: undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:6305: $? = 1
configure:6308: gcc -B/tools/bin/ -g -O2  -DCHECK__register_frame_info   -nostdlib -nostartfiles -o conftest conftest.c                           -lgcc -lgcc_eh -lgcc >&5
configure:6284: warning: conflicting types for built-in function 'malloc'
configure:6286: warning: conflicting types for built-in function 'strlen'
configure:6287: warning: conflicting types for built-in function 'memcpy'
configure:6288: warning: conflicting types for built-in function 'memset'
configure:6290: warning: conflicting types for built-in function 'abort'
configure:6311: $? = 0
configure:6339: result: no_registry_needed
configure:6360: checking for __builtin_expect
configure:6375: gcc -B/tools/bin/ -g -O2   -nostdlib -nostartfiles
                            -o conftest conftest.c -lgcc >&5
/tools/bin/ld: warning: cannot find entry symbol _start; defaulting to 080480a0
configure:6378: $? = 0
configure:6386: result: yes
configure:6395: checking for __builtin_memset
configure:6407: gcc -B/tools/bin/ -O3 -S conftest.c -o - | fgrep memset > /dev/null
configure:6410: $? = 0
configure:6419: result: no
configure:6428: checking for redirection of built-in functions
configure:6441: gcc -B/tools/bin/ -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
configure:6444: $? = 0
configure:6453: result: yes
configure:6462: checking for local label subtraction
configure:6482: gcc -B/tools/bin/ -g -O2   -nostdlib -nostartfiles
                            -o conftest conftest.c -lgcc >&5
/tools/bin/ld: warning: cannot find entry symbol _start; defaulting to 080480a0
configure:6485: $? = 0
configure:6493: result: yes
configure:6503: checking for __thread
configure:6512: gcc -B/tools/bin/ -g -O2  -c conftest.c >&5
configure:6515: $? = 0
configure:6523: result: yes
configure:6536: checking for tls_model attribute
configure:6545: gcc -B/tools/bin/ -g -O2  -S -Werror conftest.c >&5
configure:6548: $? = 0
configure:6556: result: yes
configure:6566: checking for libgd
configure:6627: result: no
configure:6782: checking for egrep
configure:6792: result: grep -E
configure:6797: checking for ANSI C header files
configure:6822: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6828: $? = 0
configure:6832: test -z
                         || test ! -s conftest.err
configure:6835: $? = 0
configure:6838: test -s conftest.o
configure:6841: $? = 0
configure:6930: gcc -B/tools/bin/ -o conftest -g -O2   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:50: warning: incompatible implicit declaration of built-in function 'exit'
configure:6933: $? = 0
configure:6935: ./conftest
configure:6938: $? = 0
configure:6953: result: yes
configure:6977: checking for sys/types.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for sys/stat.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for stdlib.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for string.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for memory.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for strings.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for inttypes.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for stdint.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:6977: checking for unistd.h
configure:6993: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:6999: $? = 0
configure:7003: test -z
                         || test ! -s conftest.err
configure:7006: $? = 0
configure:7009: test -s conftest.o
configure:7012: $? = 0
configure:7023: result: yes
configure:7035: checking for long double
configure:7059: gcc -B/tools/bin/ -c -g -O2  conftest.c >&5
configure:7065: $? = 0
configure:7069: test -z
                         || test ! -s conftest.err
configure:7072: $? = 0
configure:7075: test -s conftest.o
configure:7078: $? = 0
configure:7089: result: yes
configure:7092: checking size of long double
configure:7411: gcc -B/tools/bin/ -o conftest -g -O2   conftest.c  >&5
configure:7414: $? = 0
configure:7416: ./conftest
configure:7419: $? = 0
configure:7442: result: 12
configure:7471: result: running configure fragment for sysdeps/i386/elf
configure:7: checking for i386 TLS support
configure:29: gcc -B/tools/bin/ -c -g -O2 conftest.s 1>&5
configure:32: $? = 0
configure:40: result: yes
configure:7471: result: running configure fragment for nptl/sysdeps/unix/sysv/linux
configure:7471: result: running configure fragment for nptl/sysdeps/pthread
configure:27: checking for forced unwind support
configure:51: gcc -B/tools/bin/ -o conftest -g -O2   conftest.c  >&5
configure:57: $? = 0
configure:61: test -z
                         || test ! -s conftest.err
configure:64: $? = 0
configure:67: test -s conftest
configure:70: $? = 0
configure:82: result: yes
configure:91: checking for C cleanup handling
configure:116: gcc -B/tools/bin/ -o conftest -g -O2 -Werror -fexceptions   conftest.c  >&5
configure:122: $? = 0
configure:126: test -z
                         || test ! -s conftest.err
configure:129: $? = 0
configure:132: test -s conftest
configure:135: $? = 0
configure:147: result: yes
configure:7471: result: running configure fragment for sysdeps/pthread
configure:7471: result: running configure fragment for sysdeps/unix/sysv/linux
configure:25: checking for egrep
configure:35: result: grep -E
configure:40: checking installed Linux kernel header files
configure:65: result: 2.0.10 or later
configure:169: checking for kernel header at least 2.6.0
configure:192: result: ok
configure:354: checking for symlinks in /tools/include
configure:376: result: ok
configure:7471: result: running configure fragment for sysdeps/unix/common
configure:7471: result: running configure fragment for sysdeps/unix
configure:7471: result: running configure fragment for sysdeps/generic
configure:7570: checking for old glibc 2.0.x headers
configure:7578: result: no
configure:7642: checking whether -fPIC is default
configure:7658: result: no
configure:7788: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by GNU C Library config.status (see version.h), which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on box

config.status:763: creating config.make
config.status:763: creating Makefile
config.status:860: creating config.h
config.status:1046: config.h is unchanged
config.status:1204: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_BASH=/bin/sh
ac_cv_path_BISON=/usr/bin/bison
ac_cv_path_INSTALL_INFO=/usr/sbin/install-info
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_PWD_P=/bin/pwd
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AS=/tools/bin/as
ac_cv_prog_AUTOCONF=autoconf
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='gcc -B/tools/bin/'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LD=/tools/bin/ld
ac_cv_prog_MAKE=make
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_sizeof_long_double=12
ac_cv_type_long_double=yes
libc_cv_386_tls=yes
libc_cv_Bgroup=yes
libc_cv_as_needed=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_cfi_directives=yes
libc_cv_asm_global_directive=.globl
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=yes
libc_cv_asm_symver_directive=yes
libc_cv_asm_type_prefix=@
libc_cv_asm_underscores=no
libc_cv_asm_weak_directive=yes
libc_cv_autoconf_works=yes
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_c_cleanup=yes
libc_cv_cc_with_libunwind=no
libc_cv_cpp_asm_debuginfo=yes
libc_cv_dot_text=.text
libc_cv_fno_unit_at_a_time=yes
libc_cv_forced_unwind=yes
libc_cv_fpie=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc___thread=yes
libc_cv_gcc_builtin_expect=yes
libc_cv_gcc_builtin_memset=no
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_dwarf2_unwind_info=no_registry_needed
libc_cv_gcc_exceptions=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_gcc_subtract_local_labels=yes
libc_cv_gcc_tls_model_attr=yes
libc_cv_gcc_unwind_find_fde=yes
libc_cv_have_bash2=yes
libc_cv_have_ksh=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_idn=no
libc_cv_initfinit_array=yes
libc_cv_ld_no_whole_archive=yes
libc_cv_ld_version_script_option=yes
libc_cv_libgcc_s_suffix=
libc_cv_linux2010='2.0.10 or later'
libc_cv_need_minus_P=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_ranlib_necessary=no
libc_cv_signed_size_t=no
libc_cv_sysconfdir='${prefix}/etc'
libc_cv_visibility_attribute=yes
libc_cv_weak_symbols=yes
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes
libc_cv_z_initfirst=yes
libc_cv_z_nodelete=yes
libc_cv_z_nodlopen=yes
libc_cv_z_relro=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='/tools/bin/ar'
AS='/tools/bin/as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='autoconf'
AWK='gawk'
BASH='/bin/sh'
BISON='/usr/bin/bison'
BUILD_CC=''
CC='gcc -B/tools/bin/'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
DEFINES=' -D_LIBC_REENTRANT -D_LIBC_REENTRANT'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/usr/sbin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH='/bin/sh'
LD='/tools/bin/ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO='makeinfo'
MIG=''
MSGFMT='msgfmt'
OBJDUMP='/tools/bin/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT='glibc'
PACKAGE_NAME='GNU C Library'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_TARNAME='c-library'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
PWD_P='/bin/pwd'
RANLIB=':'
RELEASE='stable'
SED='sed'
SHELL='/bin/sh'
SYSINCLUDES='-nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.0.0/include -isystem /tools/include'
VERSION='2.3.5'
VERSIONING='yes'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_RANLIB=''
add_ons='nptl'
all_warnings=''
base_machine='i386'
bindir='${exec_prefix}/bin'
bindnow='no'
bounded='no'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cross_compiling='no'
datadir='${prefix}/share'
elf='yes'
enable_check_abi='no'
exceptions='-fexceptions'
exec_prefix='${prefix}'
fno_unit_at_a_time='-fno-unit-at-a-time'
force_install='yes'
gnu_as='yes'
gnu_ld='yes'
have_selinux='no'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
ldd_rewrite_script='../sysdeps/unix/sysv/linux/ldd-rewrite.sed'
libc_cv_Bgroup='yes'
libc_cv_as_needed='yes'
libc_cv_asm_protected_directive='yes'
libc_cv_cc_with_libunwind='no'
libc_cv_cpp_asm_debuginfo='yes'
libc_cv_forced_unwind='yes'
libc_cv_fpie='yes'
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde='yes'
libc_cv_have_bash2='yes'
libc_cv_have_initfini=''
libc_cv_have_ksh='yes'
libc_cv_initfinit_array='yes'
libc_cv_libgcc_s_suffix=''
libc_cv_localedir=''
libc_cv_rootsbindir=''
libc_cv_slibdir=''
libc_cv_sysconfdir='${prefix}/etc'
libc_cv_z_combreloc='yes'
libc_cv_z_execstack='yes'
libc_cv_z_initfirst='yes'
libc_cv_z_nodelete='yes'
libc_cv_z_nodlopen='yes'
libc_cv_z_relro='yes'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
linux_doors='no'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${prefix}/man'
no_whole_archive='-Wl,--no-whole-archive'
nopic_initfini=''
old_glibc_headers='no'
oldest_abi='default'
oldincludedir='/usr/include'
omitfp='no'
pic_default='no'
prefix='/tools'
profile='no'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
sizeof_long_double='12'
static='yes'
static_nss='no'
subdirs=' '
sysconfdir='${prefix}/etc'
sysnames=' sysdeps/i386/elf nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686 nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'
target_alias=''
uname_release=''
uname_sysname=''
uname_version=''
use_ldconfig='yes'
with_cvs='yes'
with_fp='yes'
xcoff='no'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define ASM_GLOBAL_DIRECTIVE .globl
#define ASM_TYPE_DIRECTIVE_PREFIX @
#define DO_VERSIONING 1
#define EXPORT_UNWIND_FIND_FDE 1
#define HAVE_ASM_CFI_DIRECTIVES 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
#define HAVE_ASM_SET_DIRECTIVE 1
#define HAVE_ASM_WEAK_DIRECTIVE 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_REDIRECTION 1
#define HAVE_CPP_ASM_DEBUGINFO 1
#define HAVE_ELF 1
#define HAVE_FORCED_UNWIND 1
#define HAVE_GNU_AS 1
#define HAVE_GNU_LD 1
#define HAVE_HIDDEN 1
#define HAVE_INITFINI_ARRAY 1
#define HAVE_INLINED_SYSCALLS 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_PROTECTED 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SUBTRACT_LOCAL_LABELS 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define HAVE_TLS_SUPPORT 1
#define HAVE_UNISTD_H 1
#define HAVE_VISIBILITY_ATTRIBUTE 1
#define HAVE_Z_COMBRELOC 1
#define HAVE_Z_RELRO 1
#define HAVE___THREAD 1
#define NO_UNDERSCORES 1
#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define PI_STATIC_AND_HIDDEN 1
#define SIZEOF_LONG_DOUBLE 12
#define STDC_HEADERS 1
#define USE_IN_LIBIO 1
#define USE_REGPARMS 1
#define __ABI_TAG_VERSION 2,6,0
#define __LINUX_KERNEL_VERSION (2 * 65536 + 6 * 256 + 0)
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0
lfs@box:/mnt/lfs/sources/glibc-build$
回复 支持 反对

使用道具 举报

发表于 2005-5-11 17:10:13 | 显示全部楼层
gcc4的话,要cvs里的glibc才行吧
要么打补丁
参考 http://www.diy-linux.org/gcc4.html

好像shadow也要补丁的样子,不然编译通过后运行会出错-_-
回复 支持 反对

使用道具 举报

发表于 2005-5-13 03:37:03 | 显示全部楼层
gcc-4.0.0 is still buggy.  Many people report it cannot compile the latest version of KDE (3.4) and some kernel modules.  The gcc development team already fixed these in CVS. You would better wait for gcc-4.0.1 or use other gcc versions before proceed.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表