eglibc does not crossbuild for arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Attempting to cross-build eglibc for arm64 gives this:
(exec 3>&1; exit `( ( ( cd build-tree/
Build started: Wed, 06 Feb 2013 14:38:06 +0000
---------------
configure: loading site script /etc/dpkg-
Reading Cross Config Cache (/etc/dpkg-
Reading /etc/dpkg-
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-
checking for aarch64-
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-
checking for aarch64-
checking for gcc... gcc
checking how to run the C preprocessor... aarch64-
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-
checking for aarch64-
checking for sysdeps preconfigure fragments... x86_64
configure: running configure fragment for add-on libidn
checking add-on ports for preconfigure fragments... aarch64 alpha am33 arm hppa ia64 m68k mips powerpc tile
configure: running configure fragment for add-on nptl
checking for assembler and linker STT_GNU_IFUNC support... no
checking whether .text pseudo-op must be used... yes
configure: error: --enable-multi-arch support requires assembler and linker support
make: *** [/home/
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
config.log says:
configure:4220: checking for assembler and linker STT_GNU_IFUNC support
There are no relocations in this file.
configure:4251: result: no
configure:4254: checking whether .text pseudo-op must be used
configure:4264: aarch64-
configure:4267: $? = 0
configure:4278: result: yes
configure:4284: error: --enable-multi-arch support requires assembler and linker support
So this is checking for GNU IFUNC support, (result in $libc_cv_
We don't have ifunc support in arm64 so this test is correctly failing.
The question is why should multiarch support be dependent on IFUNC (A mechanism for choosing at elf load time which of two different functions to run, depending on machine capabilities. This has nothing obviously to do with multiarch paths.
It seems to come from this change:
http://
This makes no sense to me. Multiarch worked just fine in eglibc 2.16 for arm64 so it must be possible to make it work in 2.17 without needing ifunc. But I really don't understand what's going on here. Is this some other 'multi-arch' from the Debian one?
crossbuild-
Changed in eglibc (Ubuntu): | |
status: | New → Fix Committed |
Changed in eglibc (Ubuntu): | |
status: | Fix Committed → Fix Released |