This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] hppa: add missing prlimit64 symbol
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: Mike Frysinger <vapier at gentoo dot org>, libc-alpha at sourceware dot org
- Date: Tue, 14 Aug 2012 14:55:11 -0700 (PDT)
- Subject: Re: [PATCH v2] hppa: add missing prlimit64 symbol
- References: <1334271665-31914-1-git-send-email-vapier@gentoo.org><1344783764-25118-1-git-send-email-vapier@gentoo.org><50292CAE.4060809@twiddle.net>
> 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