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

Re: Bits from dpkg developers - dpkg 1.16.1

* Kees Cook:

> When we decide to build an entire architecture as PIE, then we'll also need
> to build those static libs with -fPIE too.

Couldn't we get rid of static libraries altogether, replacing static
linking with ahead-of-time dynamic linking?

There's still a theoretical difference between -fPIE and -fPIC: -fPIE
can use non-indirect IP-relative function calls even for unhidden
symbols.  But GCC currently doesn't use this opportunity, as far as I
can tell, so static libraries really seem a bit superfluous.

Reply to: