Comment 7 for bug 1629989

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1629989] Re: FFe: Sync libpfm4 4.7.0+git30-gd422ba2-1 (main) from Debian unstable (main)

On Thu, Oct 06, 2016 at 06:59:10PM -0000, Graham Inggs wrote:
> @anbe:
> > if I drop ,-pie I get an FTBFS:
> I get the same in Ubuntu, building in a PPA.

The package currently in Ubuntu yakkety does not FTBFS in this way with
-fPIE, so this is a regression. And since PIE is a security feature, I'm
not ok with pushing this in the week before release - the regression should
be sorted and the package brought in only once this is resolved.

> /usr/bin/ld: pfmlib_common.lo: relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> collect2: error: ld returned 1 exit status

Self-explanatory error message. Where's the compiler commandline for this
pfmlib_common.lo, and why is it missing -fPIE?