On Mon, Oct 3, 2011 at 7:31 PM, Bernhard R. Link <brl...@debian.org> wrote: > * Bastien ROUCARIES <roucaries.bast...@gmail.com> [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). Bastien > Bernhard R. Link > > > -- > To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/20111003173112.ga13...@server.brlink.eu > > -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cae2spaykwd1fp4qj2ci_i6u_js_3mr7ed+jmxdbv-wf3zvf...@mail.gmail.com