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

Michael Sweet mike at easysw.com
Fri Apr 28 07:02:06 PDT 2006


[STR Closed w/o Resolution]

As noted in a private email, the overhead of PIC is negligible in CUPS, and
the added build system complexity to support the different combinations of
PIC and non-PIC compiles are not worth it. In addition, some platforms
require the use of PIC for all applications anyways...

As for using PIE for all programs, given that even non-system applications
are given CERT advisories and you have to specifically ask for PIE to be
used, I'm of the opinion that it makes more sense to build every program
with PIE, not just cupsd. This also makes the build system simpler and
easier to debug.

In short, we will not be changing this. Feel free to patch the CUPS
sources in your own RPMs to optimize the build system for your particular
platforms...

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





More information about the cups-devel mailing list