Skip to content

Instantly share code, notes, and snippets.

@nkigen
Created March 12, 2015 15:40
Show Gist options
  • Save nkigen/efe86c50726df8bada8f to your computer and use it in GitHub Desktop.
Save nkigen/efe86c50726df8bada8f to your computer and use it in GitHub Desktop.
Error when cross-compiling glibc
Applying patch: /home/nkigen/development/thesis/ubuild/specs/patches/glibc-2.16-no-libgcc_s.patch
Calling configure with: --prefix=/usr --with-headers=/var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/sysroot/usr/include --host=armv7a-hardfloat-linux-gnueabi --enable-bind-now --disable-profile --without-gd --without-cvs --disable-multi-arch --enable-obsolete-rpc --enable-kernel=2.6.9 --enable-add-ons=nptl,libidn,/var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking build system type... x86_64-unknown-linux-gnu
checking host system type... armv7a-hardfloat-linux-gnueabi
checking for armv7a-hardfloat-linux-gnueabi-gcc... armv7a-hardfloat-linux-gnueabi-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armv7a-hardfloat-linux-gnueabi-gcc accepts -g... yes
checking for armv7a-hardfloat-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for gcc... gcc
checking how to run the C preprocessor... armv7a-hardfloat-linux-gnueabi-gcc -E
checking for armv7a-hardfloat-linux-gnueabi-g++... armv7a-hardfloat-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether armv7a-hardfloat-linux-gnueabi-g++ accepts -g... yes
checking for sysdeps preconfigure fragments... x86_64
configure: running configure fragment for add-on nptl
configure: running configure fragment for add-on libidn
checking add-on /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports for preconfigure fragments... alpha am33 arm Found compiler is configured for armv7
hppa ia64 m68k mips tile
checking for assembler gnu_indirect_function symbol type support... yes
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for assembler .type directive prefix... %
checking sysdep dirs... /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix/sysv/linux/arm/nptl /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/inet nptl/sysdeps/unix/sysv /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix/sysv sysdeps/unix/sysv /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix/arm nptl/sysdeps/unix /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/unix sysdeps/unix sysdeps/posix /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/arm/armv7 /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/arm/armv6t2 /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/arm/nptl /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/src/glibc-ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/as is GNU as... yes
checking whether /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/ld is GNU ld... yes
checking for /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/as... /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/as
checking version of /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/as... 2.23.1, ok
checking for /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/ld... /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/ld
checking version of /var/tmp/ubuild.wandboard-armhf.build_dir/armv7a-hardfloat-linux-gnueabi/tools/usr/bin/../lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/ld... 2.23.1, ok
checking for armv7a-hardfloat-linux-gnueabi-gcc... (cached) armv7a-hardfloat-linux-gnueabi-gcc
checking version of armv7a-hardfloat-linux-gnueabi-gcc... 4.7.3, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.81, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.18.1, ok
checking for makeinfo... no
checking for sed... sed
checking version of sed... v. ?.??, bad
checking for armv7a-hardfloat-linux-gnueabi-readelf... armv7a-hardfloat-linux-gnueabi-readelf
checking for armv7a-hardfloat-linux-gnueabi-nm... armv7a-hardfloat-linux-gnueabi-nm
checking for autoconf... autoconf
checking whether autoconf works... yes
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo sed
*** some features will be disabled.
*** Check the INSTALL file for required versions.
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/bash
checking for gawk... gawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for bison... /usr/bin/bison
checking for libc-friendly stddef.h... yes
checking whether we need to use -P to assemble .S files... no
checking for .set assembler directive... no
checking for assembler gnu_unique_object symbol type... yes
checking for .symver assembler directive... yes
checking for ld --version-script... no
*** WARNING: You should not compile GNU libc without versioning. Not using
*** versioning will introduce incompatibilities so that old binaries
*** will not run anymore.
*** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
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... no
configure: error: Need linker with .init_array/.fini_array support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment