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: Maria Guseva <m dot guseva at samsung dot com>
- To: 'Joseph Myers' <joseph at codesourcery 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 20:22:14 +0300
- 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>
> On Wed, 13 May 2015, Maria Guseva wrote:
>> The proposed patch adds a new configure option in order to disable
>> IFUNC usage in Glibc.
> What problem is this solving? Each configure option adds to the
combinatorial explosion of poorly-tested different ways to configure >
glibc, so there needs to be strong justification for adding a new option
(and increasing the minimum supported version of build tools > can often be
preferred to having conditionals to support older tools, depending on how
widespread the older tools are).
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.