This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] S390: Fix build with gcc configured with --enable-default-pie. [BZ #21537]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Stefan Liebler <stli at linux dot vnet dot ibm dot com>, <libc-alpha at sourceware dot org>, <schwab at linux-m68k dot org>
- Date: Fri, 9 Jun 2017 14:37:19 +0000
- Subject: Re: [PATCH] S390: Fix build with gcc configured with --enable-default-pie. [BZ #21537]
- Authentication-results: sourceware.org; auth=none
- References: <e1aafaed-c810-eac2-35f0-8489b4c24d05@linux.vnet.ibm.com> <84b6d5d4-8861-9913-f33a-76ae09b148cd@redhat.com>
On Fri, 9 Jun 2017, Florian Weimer wrote:
> On 06/08/2017 02:02 PM, Stefan Liebler wrote:
> > Question about glibc configure flag --disable-hidden-plt:
> > Is this option supported or is it used by somebody?
> > It defines NO_HIDDEN which influences the definition of HIDDEN_JUMPTARGET.
> > I've tried to build glibc with this configure flag on s390, but it fails
> > due to several reasons.
>
> I think we can remove --disable-hidden-plt. It is broken on x86-64 as
> well, and I think the whole thing stopped working with PLT avoidance for
> hidden symbols in binutils and switching to namespace-clean names (which
> are generally hidden).
Do note however the unconditional definition of NO_HIDDEN in
sysdeps/mach/hurd/configure.ac (and the corresponding comment pointing to
a discussion of that). We really need Hurd people to get current glibc
working on Hurd without external patches and contribute
build-many-glibcs.py support for it so it's possible to make sure changes
don't break Hurd.
--
Joseph S. Myers
joseph@codesourcery.com