This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
multi-arch build problem with older binutils
- From: Yann Droneaud <yann at droneaud dot fr>
- To: libc-help at sourceware dot org
- Date: Thu, 18 Feb 2010 15:35:11 +0100
- Subject: multi-arch build problem with older binutils
Hi,
When trying to build glibc HEAD on a x86 system, make failed with:
../sysdeps/i386/i686/multiarch/strcmp.S: Assembler
messages:
../sysdeps/i386/i686/multiarch/strcmp.S:78: Error: unrecognized symbol
type "gnu_indirect_function"
Indeed, my assembler doesn't support gnu_indirect_function
as ./configure found previously:
config.log:
configure:4360: checking for assembler gnu_indirect_function symbol type
support
conftest.s: Assembler messages:
conftest.s:1: Error: unrecognized symbol type "gnu_indirect_function"
configure:4376: result: no
config.h:
/* Define if multi-arch DSOs should be generated. */
/* #undef USE_MULTIARCH */
config.make:
multi-arch = no
I have to explicitly use --disable-multi-arch to build glibc HEAD,
otherwise multi-arch directories ($multi_arch_d) are added to the list
of sysdep directories ($sysnames_add_ons$sysnames) to use regardless
gnu_indirect_function test.
This is a little bug in the configure script or in the build
requirements (INSTALL tells me about binutils 2.15, I have 2.19.xx).
Regards.
--
Yann Droneaud