Alastair McKinstry: > > > On 10/04/2016 08:05, Andreas Tille wrote: >> Hi, >> >> > The only use case I could imagine is to create an executable that can >> > run outside of Debian. > Static builds are still common in (parts of) scientific computing. > Two main reasons: > > (1) When performance matters. Here we need the static library to be > built without > position independent code. This can still give several percent gains > depending > on arch / programming language. > [...]
Hi, I would like to use this opportunity to remind people that GCC-5 has significantly improved the performance of Position Independent Code (PIC) on i386 compared to earlier releases. Please see [1] or [2] for details. I do not intend to make any claims about whether that is sufficient for the use-case you are referring to, but I thought I would mention it as it seemed relevant. Thanks, ~Niels [1] https://software.intel.com/en-us/blogs/2014/12/26/new-optimizations-for-x86-in-upcoming-gcc-50-32bit-pic-mode [2] https://gcc.gnu.org/gcc-5/changes.html Look for "Register allocation improvements:"
signature.asc
Description: OpenPGP digital signature