This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RE: [PATCH] Fix dynamic linker issue with bind-now
- From: "Petar Jovanovic" <petar dot jovanovic at rt-rk dot com>
- To: "'Mike Frysinger'" <vapier at gentoo dot org>
- Cc: <libc-alpha at sourceware dot org>, <petar dot jovanovic at imgtec dot com>
- Date: Tue, 3 Mar 2015 19:48:18 +0100
- Subject: RE: [PATCH] Fix dynamic linker issue with bind-now
- Authentication-results: sourceware.org; auth=none
- References: <1408493406-86741-2-git-send-email-petar dot jovanovic at rt-rk dot com> <000a01cfe8dd$488fbdf0$d9af39d0$ at rt-rk dot com> <20141021213320 dot GA25185 at vapier> <000301d00e87$8284f5f0$878ee1d0$ at rt-rk dot com> <CANu=DmjNC0iFRcHiifhgb0x5ot1t1gCOEktKpq9irt+j_A-5_Q at mail dot gmail dot com> <002a01d010ee$3115af70$93410e50$ at rt-rk dot com> <m2fvct6rui dot fsf at linux-m68k dot org> <000201d011b9$a9e6edd0$fdb4c970$ at rt-rk dot com> <20150302062928 dot GX19363 at vapier> <001801d05504$bb152660$313f7320$ at rt-rk dot com> <20150302173639 dot GJ8519 at vapier>
-----Original Message-----
From: Mike Frysinger [mailto:vapier@gentoo.org]
Sent: Monday, March 2, 2015 6:37 PM
To: Petar Jovanovic
Cc: libc-alpha@sourceware.org; petar.jovanovic@imgtec.com
Subject: Re: [PATCH] Fix dynamic linker issue with bind-now
On 02 Mar 2015 17:19, Petar Jovanovic wrote:
> From: Mike Frysinger [mailto:vapier@gentoo.org]
> > shouldn't the source file be compiled w/-fPIE too ?
>
> In the new version of the patch, this has been changed, so no CFLAGS
> are required.
> that doesn't really answer my question. why do you need -fPIE at link time ?
> -mike
This came from the original example, but it is not required. It can be removed.
Thanks for noticing this.
Regards,
Petar