[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#334709: libc6 2.3.5-7: FTBFS on i386 - forced unwind support is required



Package: libc6
Version: 2.3.5-7
Severity: serious

The build of libc6 on i386 in a fresh sid chroot fails.

I build the packages with "nice -19 dpkg-buildpackage -rfakeroot -uc -us"

The build fails with the following error:


configure_build=i486-linux-gnu; \
if [ x86_64-linux = $configure_build ]; then \
  echo "Checking that we're running at least kernel version: 2.6.0"; \
  if ! (minimum=$((`echo 2.6.0 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`)); current=$((`echo 2.6.11-1-k7 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`)); if [ $current -lt $minimum ]; then false; fi); then \
    configure_build=`echo $configure_build | sed 's/^\([^-]*\)-\([^-]*\)$/\1-dummy-\2/'`; \
    echo "No.  Forcing cross-compile by setting build to $configure_build."; \
  fi; \
fi; \
(exec 3>&1; exit `( ( (  cd build-tree/i386-amd64 && CC="gcc-4.0 -m64 -D__x86_64__" AUTOCONF=false /source-etch/glibc-2.3.5/build-tree/glibc-2.3.5/configure --host=x86_64-linux --build=$configure_build --prefix=/usr --without-cvs --enable-add-ons="nptl " --without-selinux --with-headers=/source-etch/glibc-2.3.5/debian/include --enable-kernel=2.6.0  --disable-profile --includedir=/usr/include/x86_64-linux-gnu ) 2>&1 3>&-; echo $? >&4) | tee  -a /source-etch/glibc-2.3.5/log-build-x86_64-linux-amd64 >&3) 4>&1`)
checking build system type... i486-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu sysdeps/x86_64 sysdeps/wordsize-64 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... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-linux-gcc... gcc-4.0 -m64 -D__x86_64__
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.0 -m64 -D__x86_64__ accepts -g... yes
checking for gcc-4.0 -m64 -D__x86_64__ option to accept ANSI C... none needed
checking for gcc... gcc
checking how to run the C preprocessor... gcc-4.0 -m64 -D__x86_64__ -E
checking for x86_64-linux-g++... no
checking for x86_64-linux-c++... no
checking for x86_64-linux-gpp... no
checking for x86_64-linux-aCC... no
checking for x86_64-linux-CC... no
checking for x86_64-linux-cxx... no
checking for x86_64-linux-cc++... no
checking for x86_64-linux-cl... no
checking for x86_64-linux-FCC... no
checking for x86_64-linux-KCC... no
checking for x86_64-linux-RCC... no
checking for x86_64-linux-xlC_r... no
checking for x86_64-linux-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for x86_64-linux-ranlib... no
checking for ranlib... ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.16.91, ok
checking for ld... ld
checking version of ld... 2.16.91, ok
checking for pwd... /bin/pwd
checking for x86_64-linux-gcc... (cached) gcc-4.0 -m64 -D__x86_64__
checking version of gcc-4.0 -m64 -D__x86_64__... 4.0.2, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.14.5, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.8, ok
checking for sed... sed
checking version of sed... 4.1.4, ok
checking for autoconf... false
checking whether false works... no
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 gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... no
checking for signed size_t type... no
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... yes
checking for assembler .type directive prefix... @
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 whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... yes
checking for -Bgroup option... yes
checking for libgcc_s suffix... 
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... no
checking for -z execstack... yes
checking for -fpie... no
checking for -fno-unit-at-a-time... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking for DWARF2 unwind info support... no_registry_needed
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for local label subtraction... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... 16
running configure fragment for sysdeps/x86_64/elf
checking for x86-64 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... no
configure: error: forced unwind support is required
make: *** [/source-etch/glibc-2.3.5/stamp-dir/configure_amd64] Error 1

I attach config.log from  glibc-2.3.5/build-tree/i386-amd64. I think the problem shows up in the lines

configure:51: gcc-4.0 -m64 -D__x86_64__ -o conftest -g -O2 -isystem /source-etch/glibc-2.3.5/debian/include  conftest.c  >&5
/usr/bin/ld: warning: ld-linux-x86-64.so.2, needed by /lib64/libc.so.6, not found (try using -rpath or -rpath-link)
/lib64/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'   
/lib64/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE'
/lib64/libc.so.6: undefined reference to `_r_debug@GLIBC_2.2.5'
/lib64/libc.so.6: undefined reference to `__tls_get_addr@GLIBC_2.3'
/lib64/libc.so.6: undefined reference to `_dl_argv@GLIBC_PRIVATE'


Regards,
Henry


Reply to: