This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH] New configure option "--disable-ifunc"
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>, Maria Guseva <m dot guseva at samsung dot com>
- Cc: libc-alpha at sourceware dot org, rth at twiddle dot net, roland at hack dot frob dot com, "'Yury Gribov'" <y dot gribov at samsung dot com>
- Date: Wed, 13 May 2015 13:30:29 -0400
- Subject: Re: [RFC][PATCH] New configure option "--disable-ifunc"
- Authentication-results: sourceware.org; auth=none
- References: <"013e01d08d9a$80b32b10$82198130$ at guseva"@samsung.com> <alpine dot DEB dot 2 dot 10 dot 1505131651250 dot 30846 at digraph dot polyomino dot org dot uk> <"013f01d08da1$5b20c630$11625290$ at guseva"@samsung.com> <alpine dot DEB dot 2 dot 10 dot 1505131724220 dot 30846 at digraph dot polyomino dot org dot uk>
On 05/13/2015 01:25 PM, Joseph Myers wrote:
> On Wed, 13 May 2015, Maria Guseva wrote:
>
>> We faced issues when Glibc was used with Prelink. As I know the latest
>> Prelink supports ifuncs but older versions are not working correctly with
>> it. We need to disable ifuncs in Glibc for such case.
>
> This seems like a case for simply saying that old prelink won't work with
> new glibc, rather than doubling the number of glibc configurations.
Agreed.
Or at best making --disable-multi-arch disable all current uses of IFUNC,
and or fixing the configure.ac code that turns on IFUNC automatically if
multi-arch is set to default and the linker supports IFUNCs.
Cheers,
Carlos.