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: [PATCH v2] hppa: add missing prlimit64 symbol


> On 08/12/2012 08:02 AM, Mike Frysinger wrote:
> > +  GLIBC_2.17 {
> > +    prlimit64;
> > +  }
> 
> With this...
> 
> > +prlimit64	EXTRA	prlimit64	i:iipp	prlimit64 prlimit64@@GLIBC_2.17
> 
> ... you ought not need this.

Would that it were so.  sysdeps/unix/sysv/linux/Versions has prlimit64 at
GLIBC_2.13 and the linker behavior when the version script mentions the
same symbol in two version sets is to bind an unversioned definition to the
oldest option (closest to the base version).

One day we should consider changing the way we generate the version scripts
so that no unintended (symbol, version) pairs, like (prlimit64, GLIBC_2.13)
for hppa-linux-gnu configurations, end up in the script the linker sees.


Thanks,
Roland


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