Hello, I am trying to install glibc-2.3.5 on my computer. I have already installed gcc-3.4.3 and binutils which are working fine. While trying to install glibc-2.3.5, I am getting the following error:
configure:7429: error: cannot compute sizeof (long double), 77 When I looked in config.log file of it, I found the following line as well: ./conftest: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory I am not doing a cross compilation. The whole config.log file I am pasting below, in case I am missing something that needs to be mentioned. I will be thankful for the help. Regards, Nupur --------------------------------config.log------------------------------------------------ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU C Library configure (see version.h), which was generated by GNU Autoconf 2.59. Invocation command line was $ ../glibc-2.3.5/configure --prefix=/usr/local --disable-profile --enable-add-ons=nptl --with-tls --with-__thread --enable-kernel=2.6.12 --with-headers=/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/include ## --------- ## ## Platform. ## ## --------- ## hostname = puja-w2s.hardware.cdac.ernet.in uname -m = i686 uname -r = 2.6.12 uname -s = Linux uname -v = #3 SMP Tue Sep 6 14:25:29 IST 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: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/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 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 /usr/local/bin/gcc configure:2387: result: gcc configure:2631: checking for C compiler version configure:2634: gcc --version </dev/null >&5 gcc (GCC) 3.4.3 Copyright (C) 2004 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 Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/specs Configured with: ./configure : (reconfigured) ./configure --enable-threads : (reconfigured) Thread model: posix gcc version 3.4.3 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: 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: 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/local/bin/g++ configure:3451: result: g++ configure:3467: checking for C++ compiler version configure:3470: g++ --version </dev/null >&5 g++ (GCC) 3.4.3 Copyright (C) 2004 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/local/lib/gcc/i686-pc-linux-gnu/3.4.3/specs Configured with: ./configure : (reconfigured) ./configure --enable-threads : (reconfigured) Thread model: posix gcc version 3.4.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 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as is GNU as configure:3846: result: yes configure:3851: checking whether /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld is GNU ld configure:3865: result: yes configure:3875: checking for /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as configure:3901: result: /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as configure:3915: checking version of /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as configure:3925: result: 2.16, ok configure:3936: checking for /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld configure:3962: result: /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld configure:3976: checking version of /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld configure:3986: result: 2.16, 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 configure:4091: checking version of gcc configure:4101: result: 3.4.3, ok configure:4112: checking for gnumake configure:4141: result: no configure:4112: checking for gmake configure:4128: found /usr/bin/gmake configure:4138: result: gmake configure:4152: checking version of gmake configure:4162: result: 3.79.1, 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.10.35, bad 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.0, ok configure:4296: checking for sed configure:4312: found /bin/sed configure:4322: result: sed configure:4336: checking version of sed configure:4346: result: 3.02, 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: no configure:4430: WARNING: *** These auxiliary programs are missing or incompatible versions: msgfmt autoconf *** some features will be disabled. *** Check the INSTALL file for required versions. 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 /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 /sbin/install-info configure:4740: result: /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 -c -g -O2 conftest.c >&5 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 -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 -c conftest.s 1>&5 configure:4921: $? = 0 configure:4932: result: yes configure:4936: checking for assembler global-symbol directive configure:4949: gcc -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 -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 -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 -c conftest.s 1>&5 configure:5144: $? = 0 configure:5152: result: yes configure:5190: checking for .protected and .hidden assembler directive configure:5202: gcc -c conftest.s 1>&5 configure:5205: $? = 0 configure:5213: result: yes configure:5226: checking whether __attribute__((visibility())) is supported configure:5237: gcc -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 -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 -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 -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 -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 -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 -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 -v --help 2>&1|grep z relro 1>&5 -z relro Create RELRO program header configure:5518: $? = 0 configure:5522: gcc -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 -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 -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 -g -O2 -S -o conftest.s conftest.c 1>&5 configure:5629: $? = 0 configure:5634: gcc -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 -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 -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 -g -O2 -pie -fpie -o conftest conftest.c 1>&5 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Scrt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:5735: $? = 1 configure:5744: result: no configure:5750: checking for -fno-unit-at-a-time configure:5760: gcc -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 -c conftest.s 1>&5 configure:5998: $? = 0 configure:6006: result: yes configure:6053: checking whether CFI directives are supported configure:6068: gcc -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 -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 -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 -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 -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/ccGsop4R.o: In function `_start': /home/nupur/downloads/glibc-build/configure:6277: undefined reference to `__register_frame_info' /home/nupur/downloads/glibc-build/configure:6278: undefined reference to `__deregister_frame_info' collect2: ld returned 1 exit status configure:6305: $? = 1 configure:6308: gcc -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 -g -O2 -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/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 -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 -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 -g -O2 -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/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 -g -O2 -c conftest.c >&5 configure:6515: $? = 0 configure:6523: result: yes configure:6536: checking for tls_model attribute configure:6545: gcc -g -O2 -S -Werror conftest.c >&5 configure:6548: $? = 0 configure:6556: result: yes configure:6566: checking for libgd configure:6591: gcc -o conftest -g -O2 conftest.c -lgd -lpng -lz -lm >&5 configure:6597: $? = 0 configure:6601: test -z || test ! -s conftest.err configure:6604: $? = 0 configure:6607: test -s conftest configure:6610: $? = 0 configure:6627: result: yes configure:6636: checking for is_selinux_enabled in -lselinux configure:6666: gcc -o conftest -g -O2 conftest.c -lselinux >&5 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lselinux collect2: ld returned 1 exit status configure:6672: $? = 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 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ASM_GLOBAL_DIRECTIVE .globl | #define HAVE_ASM_SET_DIRECTIVE 1 | #define ASM_TYPE_DIRECTIVE_PREFIX @ | #define DO_VERSIONING 1 | #define HAVE_ASM_PREVIOUS_DIRECTIVE 1 | #define HAVE_PROTECTED 1 | #define HAVE_HIDDEN 1 | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define HAVE_INITFINI_ARRAY 1 | #define HAVE_Z_RELRO 1 | #define HAVE_Z_COMBRELOC 1 | #define NO_UNDERSCORES 1 | #define HAVE_ASM_WEAK_DIRECTIVE 1 | #define HAVE_ASM_CFI_DIRECTIVES 1 | #define HAVE_CPP_ASM_DEBUGINFO 1 | #define HAVE_BUILTIN_EXPECT 1 | #define HAVE_BUILTIN_REDIRECTION 1 | #define HAVE_SUBTRACT_LOCAL_LABELS 1 | #define HAVE___THREAD 1 | #define HAVE_TLS_MODEL_ATTRIBUTE 1 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char is_selinux_enabled (); | int | main () | { | is_selinux_enabled (); | ; | return 0; | } configure:6698: result: no configure:6782: checking for egrep configure:6792: result: grep -E configure:6797: checking for ANSI C header files configure:6822: gcc -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 -o conftest -g -O2 conftest.c >&5 configure:6933: $? = 0 configure:6935: ./conftest ./conftest: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory configure:6938: $? = 127 configure: program exited with status 127 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 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ASM_GLOBAL_DIRECTIVE .globl | #define HAVE_ASM_SET_DIRECTIVE 1 | #define ASM_TYPE_DIRECTIVE_PREFIX @ | #define DO_VERSIONING 1 | #define HAVE_ASM_PREVIOUS_DIRECTIVE 1 | #define HAVE_PROTECTED 1 | #define HAVE_HIDDEN 1 | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define HAVE_INITFINI_ARRAY 1 | #define HAVE_Z_RELRO 1 | #define HAVE_Z_COMBRELOC 1 | #define NO_UNDERSCORES 1 | #define HAVE_ASM_WEAK_DIRECTIVE 1 | #define HAVE_ASM_CFI_DIRECTIVES 1 | #define HAVE_CPP_ASM_DEBUGINFO 1 | #define HAVE_BUILTIN_EXPECT 1 | #define HAVE_BUILTIN_REDIRECTION 1 | #define HAVE_SUBTRACT_LOCAL_LABELS 1 | #define HAVE___THREAD 1 | #define HAVE_TLS_MODEL_ATTRIBUTE 1 | /* end confdefs.h. */ | #include <ctype.h> | #if ((' ' & 0x0FF) == 0x020) | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | #else | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') || ('j' <= (c) && (c) <= 'r') || ('s' <= (c) && (c) <= 'z')) | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | #endif | | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | int | main () | { | int i; | for (i = 0; i < 256; i++) | if (XOR (islower (i), ISLOWER (i)) | || toupper (i) != TOUPPER (i)) | exit(2); | exit (0); | } configure:6953: result: no configure:6977: checking for sys/types.h configure:6993: gcc -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -o conftest -g -O2 conftest.c >&5 configure:7414: $? = 0 configure:7416: ./conftest ./conftest: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory configure:7419: $? = 127 configure: program exited with status 127 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 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ASM_GLOBAL_DIRECTIVE .globl | #define HAVE_ASM_SET_DIRECTIVE 1 | #define ASM_TYPE_DIRECTIVE_PREFIX @ | #define DO_VERSIONING 1 | #define HAVE_ASM_PREVIOUS_DIRECTIVE 1 | #define HAVE_PROTECTED 1 | #define HAVE_HIDDEN 1 | #define HAVE_VISIBILITY_ATTRIBUTE 1 | #define HAVE_INITFINI_ARRAY 1 | #define HAVE_Z_RELRO 1 | #define HAVE_Z_COMBRELOC 1 | #define NO_UNDERSCORES 1 | #define HAVE_ASM_WEAK_DIRECTIVE 1 | #define HAVE_ASM_CFI_DIRECTIVES 1 | #define HAVE_CPP_ASM_DEBUGINFO 1 | #define HAVE_BUILTIN_EXPECT 1 | #define HAVE_BUILTIN_REDIRECTION 1 | #define HAVE_SUBTRACT_LOCAL_LABELS 1 | #define HAVE___THREAD 1 | #define HAVE_TLS_MODEL_ATTRIBUTE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #if HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #if HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #if STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # if HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #if HAVE_STRING_H | # if !STDC_HEADERS && HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #if HAVE_STRINGS_H | # include <strings.h> | #endif | #if HAVE_INTTYPES_H | # include <inttypes.h> | #else | # if HAVE_STDINT_H | # include <stdint.h> | # endif | #endif | #if HAVE_UNISTD_H | # include <unistd.h> | #endif | long longval () { return (long) (sizeof (long double)); } | unsigned long ulongval () { return (long) (sizeof (long double)); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | exit (1); | if (((long) (sizeof (long double))) < 0) | { | long i = longval (); | if (i != ((long) (sizeof (long double)))) | exit (1); | fprintf (f, "%ld\n", i); | } | else | { | unsigned long i = ulongval (); | if (i != ((long) (sizeof (long double)))) | exit (1); | fprintf (f, "%lu\n", i); | } | exit (ferror (f) || fclose (f) != 0); | | ; | return 0; | } configure:7429: error: cannot compute sizeof (long double), 77 See `config.log' for more details. ## ---------------- ## ## 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=no 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_lib_selinux_is_selinux_enabled=no ac_cv_objext=o ac_cv_path_BASH=/bin/sh ac_cv_path_BISON=/usr/bin/bison ac_cv_path_INSTALL_INFO=/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=/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as ac_cv_prog_AUTOCONF=autoconf ac_cv_prog_AWK=gawk ac_cv_prog_CC=gcc ac_cv_prog_CPP='gcc -E' ac_cv_prog_LD=/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld ac_cv_prog_MAKE=gmake 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_type_long_double=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=no libc_cv_broken_alias_attribute=no libc_cv_broken_visibility_attribute=no 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_fpie=no 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_have_bash2=yes libc_cv_have_ksh=yes libc_cv_have_sdata_section=no libc_cv_have_section_quotes=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_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_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='/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ar' AS='/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/as' ASFLAGS_config=' -Wa,--noexecstack' AUTOCONF='no' AWK='gawk' BASH='/bin/sh' BISON='/usr/bin/bison' BUILD_CC='' CC='gcc' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXFLAGS='-g -O2' DEFINES='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='grep -E' INSTALL_DATA='${INSTALL} -m 644' INSTALL_INFO='/sbin/install-info' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' KSH='/bin/sh' LD='/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld' LDFLAGS='' LIBGD='yes' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' MAKE='gmake' MAKEINFO='makeinfo' MIG='' MSGFMT=':' OBJDUMP='/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/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='' SED='sed' SHELL='/bin/sh' SYSINCLUDES='-nostdinc -isystem /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.3/include' VERSION='' 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='NONE' 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='' 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='' libc_cv_fpie='no' libc_cv_gcc_static_libgcc='-static-libgcc' libc_cv_gcc_unwind_find_fde='' 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='' 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='' localstatedir='${prefix}/var' mach_interface_list='' mandir='${prefix}/man' no_whole_archive='-Wl,--no-whole-archive' nopic_initfini='' old_glibc_headers='' oldest_abi='default' oldincludedir='/usr/include' omitfp='no' pic_default='' prefix='/usr/local' profile='no' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' shared='default' sharedstatedir='${prefix}/com' sizeof_long_double='' 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='' 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 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_HIDDEN 1 #define HAVE_INITFINI_ARRAY 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_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 USE_REGPARMS 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit; configure: exit 1 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page