[cups.bugs] [LOW] STR #1613: Blanket -fPIC flag generates slower code

twaugh.redhat twaugh at redhat.com
Fri Apr 28 05:39:26 PDT 2006


[STR New]

When --enable-shared is used, -fPIC is added to OPTIM.  This causes every
single object to be built using position independent code, even when not
needed.  PIC is slower than non-PIC.

When not using --enable-pie, this overhead is completely avoidable.

When using --enable-pie, every single binary is created as PIE.  Binaries
such as 'lpr', 'lpstat', etc do not need this.

Link: http://www.cups.org/str.php?L1613
Version: 1.2rc3





More information about the cups mailing list