This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 2.0] Implementing hwcap2


> On 2013-04-08 17:05, Roland McGrath wrote:
> > The calling convention for IFUNC resolvers is machine-specific.
> > Thus, it's up to each machine maintainer to decide what it should be
> > for his machine.  Given how rare IFUNC use still is, I'd say it's
> > also up to each machine maintainer to decide whether or not an
> > incompatible change to the convention is acceptable at this stage.
> 
> While I suppose that's a valid position, my position is that merely
> adding a second 32-bit argument to the ifunc resolver maintains
> compatability across all machines, and that is good for everyone.

That's why I said "incompatible change" rather than just "change".
But there remains the issue of whether code in other packages might
start to presume the new convention while deployments of libc
supporting only the old convention are still common.  Each machine
maintainer (or the consensus of all of us) must decide whether that
is a concern for the particular machine given the state of IFUNC
usage and libc deployment for that machine.  That decision admits
three conclusions: no concern at all (nobody has used or will use
IFUNC on the machine with older libcs); prohibitive concern (most
generic level of prudent paranoia); or concern for the stated public
ABI ("documented" would be too strong a term for the state of the
IFUNC resolver ABIs) but not for "bleed-through", i.e. it's OK to
pass more arguments and for libc's own resolvers to use them, but we
won't tell outside users that those arguments are available for
their own resolvers.

(Or we might come up with a versioning solution.)


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]