[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling -pie when linking?
From: |
Samuel Thibault |
Subject: |
Re: Disabling -pie when linking? |
Date: |
Mon, 11 Feb 2013 05:08:54 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Samuel Thibault, le Mon 11 Feb 2013 03:06:59 +0100, a écrit :
> Svante Signell, le Sun 20 Jan 2013 18:18:16 +0100, a écrit :
> > A recent problem popping up is that executables using the -pie flag when
> > linking segfaults when starting up. Examples are mktable in w3m
>
> I've had a look, and suspect that it's the heuristics that libgc uses
> which become bogus under PIE. We can probably fix it.
>
> > and elinks (causing aptitude build to fail).
>
> Is probably a similar problem (due to perl or such).
It's indeed the same issue: sbrk() was simply not working at all with
PIE binaries. I've pushed a fix to tg and debian.
Samuel