LFS4.0 - glibc 2.2.5 freezes at configure

Honza Vlach janus at volny.cz
Sun May 18 07:50:10 PDT 2003


Hello,
I have succesfully managed to compile all stuff needed statically, I have
chrooted, but when I then try to configure glibc 2.2.5, it just hangs at
with creating ./config status. I have no idea what is wrong.
It tells me that couple of files is "too large", but I have no idea how
should I understand it. I have typed it into google, but it haven't shown
anything relevant. I also haven't find anything useful in the news and the
archive at linuxfromscratch.org. Could you please "kick" me to the right
direction?

I'm building on modified zipslack 8.1, my computer is p2-350. I have 800MB
free space on the chrooted partition. My kernel is 2.4.20.
I have copiled the necessary tools twice to check, to verify whether I
have done some mistake or not. Probably yes, but I have no Idea where.
Also, in the second run I did 'make check' for every package where
applicable and checked with ldd whether are they really statically linked.

here is the ./configure output (same even if i don't use switches like
--disable-nls etc. and use plain ../glibc-2.2.5/configure. )

---- output ----
loading cache ./config.cache
../glibc-2.2.5/configure: .: ./config.cache: file is too large
checking host system type... i686-pc-linux-gnu
checking sysdep dirs... sysdeps/i386/elf
linuxthreads/sysdeps/unix/sysv/linux/i386
linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread
sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix
linuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386
sysdeps/unix/sysv/linux/i386/i686 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 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
checking for a BSD compatible install... /static/bin/install -c
checking whether ln -s works... yes
checking for pwd... /static/bin/pwd
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking version of gcc... 3.2, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.79.1, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... no
checking for makeinfo... makeinfo
checking version of makeinfo... 4.2, ok
checking for gsed... no
checking for sed... sed
checking version of sed... 3.02, ok
checking whether the C compiler (gcc  ) works... no
checking whether the C compiler (gcc  ) is a cross-compiler... (cached)
yes
checking whether we are using GNU C... yes
checking build system type... i686-pc-linux-gnu
checking how to run the C preprocessor... /lib/cpp
checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/as
is GNU as... yes
checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld
is GNU ld... yes
checking for mig... mig
configure: warning:
*** These auxiliary programs are missing or too old: msgfmt
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/sh
checking for mawk... no
checking for gawk... gawk
checking for perl... no
checking for install-info... /static/bin/install-info
checking for old Debian install-info... no
checking for bison... no
checking for signed size_t type... yes
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... no
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -Bgroup option... yes
checking for -z combreloc... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... no
checking for __builtin_expect... yes
checking for local label subtraction... yes
checking for libgd... no
checking size of long double... 0
running configure fragment for
../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux
../glibc-2.2.5/configure: .:
../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/configure: file is too
large
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
../glibc-2.2.5/configure: .:
../glibc-2.2.5/sysdeps/unix/sysv/linux/configure: file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/unix/common
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/unix/common/configure:
file is too large
running configure fragment for ../glibc-2.2.5/sysdeps/unix
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/unix/configure: file
is too large
running configure fragment for ../glibc-2.2.5/sysdeps/generic
../glibc-2.2.5/configure: .: ../glibc-2.2.5/sysdeps/generic/configure:
file is too large
checking stdio selection... stdio
checking for old glibc 2.0.x headers... no
checking whether -fPIC is default... no
creating ./config.status
---- END ----

I have also tried to delete the config.cache and the config.log files with
the same results. Even new untarring the sources into clean directory
doesn't help.


--- this is the config.cache ---
ac_cv_path_BASH=${ac_cv_path_BASH=/bin/sh}
ac_cv_path_BISON=${ac_cv_path_BISON=no}
ac_cv_path_INSTALL_INFO=${ac_cv_path_INSTALL_INFO=/static/bin/install-info}
ac_cv_path_PERL=${ac_cv_path_PERL=no}
ac_cv_path_PWD_P=${ac_cv_path_PWD_P=/static/bin/pwd}
ac_cv_path_install=${ac_cv_path_install='/static/bin/install -c'}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP=/lib/cpp}
ac_cv_prog_LN_S=${ac_cv_prog_LN_S='ln -s'}
ac_cv_prog_MAKE=${ac_cv_prog_MAKE=make}
ac_cv_prog_MAKEINFO=${ac_cv_prog_MAKEINFO=makeinfo}
ac_cv_prog_MIG=${ac_cv_prog_MIG=mig}
ac_cv_prog_SED=${ac_cv_prog_SED=sed}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=no}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=0}
libc_cv_Bgroup=${libc_cv_Bgroup=yes}
libc_cv_asm_global_directive=${libc_cv_asm_global_directive=.globl}
libc_cv_asm_previous_directive=${libc_cv_asm_previous_directive=yes}
libc_cv_asm_protected_directive=${libc_cv_asm_protected_directive=yes}
libc_cv_asm_set_directive=${libc_cv_asm_set_directive=no}
libc_cv_asm_symver_directive=${libc_cv_asm_symver_directive=yes}
libc_cv_asm_underscores=${libc_cv_asm_underscores=no}
libc_cv_asm_weak_directive=${libc_cv_asm_weak_directive=yes}
libc_cv_dot_text=${libc_cv_dot_text=.text}
libc_cv_friendly_stddef=${libc_cv_friendly_stddef=yes}
libc_cv_gcc_builtin_expect=${libc_cv_gcc_builtin_expect=yes}
libc_cv_gcc_dwarf2_unwind_info=${libc_cv_gcc_dwarf2_unwind_info=no}
libc_cv_gcc_exceptions=${libc_cv_gcc_exceptions=yes}
libc_cv_gcc_static_libgcc=${libc_cv_gcc_static_libgcc=-static-libgcc}
libc_cv_gcc_subtract_local_labels=${libc_cv_gcc_subtract_local_labels=yes}
libc_cv_gcc_unwind_find_fde=${libc_cv_gcc_unwind_find_fde=no}
libc_cv_have_bash2=${libc_cv_have_bash2=yes}
libc_cv_have_ksh=${libc_cv_have_ksh=yes}
libc_cv_have_section_quotes=${libc_cv_have_section_quotes=no}
libc_cv_ld_no_whole_archive=${libc_cv_ld_no_whole_archive=yes}
libc_cv_ld_version_script_option=${libc_cv_ld_version_script_option=yes}
libc_cv_need_minus_P=${libc_cv_need_minus_P=no}
libc_cv_old_debian_install_info=${libc_cv_old_debian_install_info=no}
libc_cv_prog_as_gnu=${libc_cv_prog_as_gnu=yes}
libc_cv_prog_ld_gnu=${libc_cv_prog_ld_gnu=yes}
libc_cv_ranlib_necessary=${libc_cv_ranlib_necessary=no}
libc_cv_signed_size_t=${libc_cv_signed_size_t=yes}
libc_cv_sysconfdir=${libc_cv_sysconfdir='${prefix}/etc'}
libc_cv_weak_symbols=${libc_cv_weak_symbols=yes}
libc_cv_z_combreloc=${libc_cv_z_combreloc=yes}
libc_cv_z_initfirst=${libc_cv_z_initfirst=yes}
libc_cv_z_nodelete=${libc_cv_z_nodelete=yes}
libc_cv_z_nodlopen=${libc_cv_z_nodlopen=yes}

--- END ---
----this is config.log ---
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:915: checking host system type
configure:1066: checking sysdep dirs
configure:1289: checking for a BSD compatible install
configure:1346: checking whether ln -s works
configure:1375: checking for pwd
configure:1414: checking build system type
configure:1442: checking for gcc
configure:1476: checking version of gcc
configure:1496: checking for gnumake
configure:1496: checking for gmake
configure:1496: checking for make
configure:1530: checking version of make
configure:1559: checking for gnumsgfmt
configure:1559: checking for gmsgfmt
configure:1559: checking for msgfmt
configure:1613: checking for makeinfo
configure:1647: checking version of makeinfo
configure:1667: checking for gsed
configure:1667: checking for sed
configure:1701: checking version of sed
configure:1719: checking whether the C compiler (gcc  ) works
configure:1738: gcc -o conftest    conftest.c  1>&5
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:

#line 1733 "configure"
#include "confdefs.h"

main(){return(0);}
configure:1769: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1781: checking whether we are using GNU C
configure:1790: gcc -E conftest.c
configure:1803: checking build system type
configure:1858: checking how to run the C preprocessor
configure:1879: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1874:20: assert.h: No such file or directory
configure: failed program was:
#line 1873 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:1896: gcc -E -traditional-cpp  conftest.c >/dev/null
2>conftest.out
configure:1891: assert.h: No such file or directory
configure: failed program was:
#line 1890 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:1913: gcc -nologo -E  conftest.c >/dev/null 2>conftest.out
gcc: unrecognized option `-nologo'
configure:1908:20: assert.h: No such file or directory
configure: failed program was:
#line 1907 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
configure:2025: checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/as
is GNU as
configure:2044: checking whether
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld
is GNU ld
configure:2064: checking for mig
configure:2121: checking whether ranlib is necessary
configure:2155: checking LD_LIBRARY_PATH variable
configure:2173: checking whether GCC supports -static-libgcc
configure:2190: checking for bash
configure:2286: checking for mawk
configure:2286: checking for gawk
configure:2318: checking for perl
configure:2358: checking for install-info
configure:2393: checking for old Debian install-info
configure:2428: checking for bison
configure:2463: checking for signed size_t type
configure:2487: checking for libc-friendly stddef.h
configure:2507: gcc -c   conftest.c 1>&5
configure:2526: checking whether we need to use -P to assemble .S files
configure:2549: checking whether .text pseudo-op must be used
configure:2570: checking for assembler global-symbol directive
configure:2600: checking for .set assembler directive
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot open crt1.o: No such file or directory
collect2: ld returned 1 exit status
configure:2643: checking for .symver assembler directive
configure:2662: checking for ld --version-script
configure:2685: gcc  -shared -o conftest.so conftest.o -nostartfiles
-nostdlib -Wl,--version-script,conftest.map 1>&5
configure:2724: checking for .previous assembler directive
configure:2732: gcc -c  conftest.s 1>&5
configure:2773: checking for .protected and .hidden assembler directive
configure:2783: gcc -c  conftest.s 1>&5
configure:2795: checking for -z nodelete option
configure:2804: gcc -shared -o conftest.so conftest.c -nostartfiles
-nostdlib -Wl,--enable-new-dtags,-z,nodelete 1>&5
configure:2817: checking for -z nodlopen option
configure:2826: gcc -shared -o conftest.so conftest.c -nostartfiles
-nostdlib -Wl,--enable-new-dtags,-z,nodlopen 1>&5
configure:2839: checking for -z initfirst option
configure:2848: gcc -shared -o conftest.so conftest.c -nostartfiles
-nostdlib -Wl,--enable-new-dtags,-z,initfirst 1>&5
configure:2861: checking for -Bgroup option
configure:2868: gcc -shared -o conftest.so conftest.c -Wl,-Bgroup
-nostdlib 1>&5
configure:2881: checking for -z combreloc
configure:2891: gcc -shared -o conftest.so conftest.c -nostdlib
-nostartfiles -Wl,-z,combreloc 1>&5
configure:2953: checking whether cc puts quotes around section names
configure:3059: checking for assembler .weak directive
configure:3158: checking for ld --no-whole-archive
configure:3169: gcc  -nostdlib -nostartfiles -Wl,--no-whole-archive -o
conftest conftest.c 1>&5
configure:3183: checking for gcc -fexceptions
configure:3194: gcc  -nostdlib -nostartfiles -fexceptions -o conftest
conftest.c 1>&5
configure:3277: checking for DWARF2 unwind info support
configure:3309: gcc  -DCHECK__register_frame_info -nostdlib -nostartfiles
-o conftest conftest.c -lgcc >&5
configure: In function `abort':
configure:3303: warning: `noreturn' function does return
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/libgcc.a(unwind-dw2-fde-glibc.o):
In function `_Unwind_Find_FDE':
/storage/lfs/static/src/gcc-build/gcc/../../gcc-3.2/gcc/unwind-dw2-fde-glibc.c:283:
undefined reference to `dl_iterate_phdr'
collect2: ld returned 1 exit status
configure:3317: gcc  -DCHECK__register_frame -nostdlib -nostartfiles -o
conftest conftest.c -lgcc >&5
configure: In function `abort':
configure:3303: warning: `noreturn' function does return
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/libgcc.a(unwind-dw2-fde-glibc.o):
In function `_Unwind_Find_FDE':
/storage/lfs/static/src/gcc-build/gcc/../../gcc-3.2/gcc/unwind-dw2-fde-glibc.c:283:
undefined reference to `dl_iterate_phdr'
collect2: ld returned 1 exit status
configure:3347: checking for __builtin_expect
configure:3360: gcc  -nostdlib -nostartfiles -o conftest conftest.c -lgcc
>&5
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: cannot find entry symbol _start; defaulting to 08048074
configure:3377: checking for local label subtraction
configure:3395: gcc  -nostdlib -nostartfiles -o conftest conftest.c -lgcc
>&5
/static/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: cannot find entry symbol _start; defaulting to 08048074
configure:3412: checking for libgd
configure:3428: gcc -o conftest      conftest.c  -lgd -lpng -lz -lm 1>&5
configure:3422:16: gd.h: No such file or directory
configure: failed program was:
#line 3421 "configure"
#include "confdefs.h"
#include <gd.h>
int main() {
gdImagePng (0, 0)
; return 0; }
configure:3448: checking size of long double
configure:3589: checking stdio selection
configure:3603: checking for old glibc 2.0.x headers
configure:3664: checking whether -fPIC is default
------ END -----

The script (configure) hogs whole cpu, the usage is 100%.

Could you please help me to find out what's wrong?

Thanks in advance,
and have a nice day,
Honza Vlach

P.S. I'm not subscribed yet, please CC: me answers to my post :)


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/B d- s: a-- UL++++>$ P L+++ E--- W- N+ o? K? w-->w--- O? M- V? PS PE
Y+ PGP+++ !t 5? X++ R tv-- b++ DI D++ G+ e h--- r++ y?
------END GEEK CODE BLOCK------

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list