[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bits from dpkg developers - dpkg 1.16.1



On Mon, Oct 3, 2011 at 3:02 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Adam Borowski:
>
>>> I would defend static libs for scientific apps. Static libs show a
>>> significant performance benefit (2-40%, median around 5-10% but sometimes
>>> far more with C++ apps) and so are standard in HPC still;
>>
>> If you see that big a difference, you do a lot of cross-file calls in
>> tight loops.
>
> 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.

Bastien
>
> --
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: 87d3eefcsv.fsf@mid.deneb.enyo.de">http://lists.debian.org/87d3eefcsv.fsf@mid.deneb.enyo.de
>
>


Reply to: