Re: Wrong linkage to environ with -Wl,-nopie

2018-04-28 Thread Josh Elsasser
On Sun, Apr 29, 2018 at 01:28:32AM +0200, Mark Kettenis wrote: > > Date: Fri, 27 Apr 2018 21:32:19 -0700 > > From: Josh Elsasser > > > > This problem still seems to be present. Anyone interested? > > It's a bug in our binutils that is hard to fix. > > Short-term fix would be

Re: Wrong linkage to environ with -Wl,-nopie

2018-04-28 Thread Mark Kettenis
> Date: Fri, 27 Apr 2018 21:32:19 -0700 > From: Josh Elsasser > > This problem still seems to be present. Anyone interested? It's a bug in our binutils that is hard to fix. Short-term fix would be to remove the -fno-pie flag, Long term fix is to switch to lld.

Re: Wrong linkage to environ with -Wl,-nopie

2018-04-27 Thread Josh Elsasser
This problem still seems to be present. Anyone interested? On Wed, Mar 07, 2018 at 01:40:37PM -0800, Josh Elsasser wrote: > While testing lang/sbcl, I noticed that something appears to go wrong > when linking a non-PIE executable which references environ. It looks > like the executable ends up