Re: Bits from dpkg developers - dpkg 1.16.1
On Mon, Oct 3, 2011 at 7:31 PM, Bernhard R. Link <email@example.com> wrote:
> * Bastien ROUCARIES <firstname.lastname@example.org> [111003 17:27]:
>> > Not necessarily. -fPIC and -fPIE force calls to global functions
>> > defined in the same translation unit to go through the PLT. They
>> > aren't translated to direct IP-relative calls. For -fPIC, this is
>> > required by the ELF specification (no kidding, this might seem strange
>> > today).
>> Could we add a gcc flag and be non conformant ? I suppose it is only
>> for using LD_PRELOAD.
> Breaking -fPIC globally by changing gcc is a bad idea.
> (If any library needs the improvement, it can always specify what to
> call itself, which then has the added bonus of also doing this for
> calls between different translation units of the same library).
No I means using Bsymbolic by default on debian. Will break a few
package but unbuntu has already sorted this issue (they built with
Bsymbolic by default).
> Bernhard R. Link
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com
> Archive: 20111003173112.GA13752@server.brlink.eu">http://lists.debian.org/20111003173112.GA13752@server.brlink.eu