multi-arch build problem with older binutils
Yann Droneaud
yann@droneaud.fr
Thu Feb 18 14:35:00 GMT 2010
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
More information about the Libc-help
mailing list