diff options
author | Josh Boyer <jwboyer@fedoraproject.org> | 2015-07-10 15:37:08 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@fedoraproject.org> | 2015-07-10 15:37:08 -0400 |
commit | 91185af140aa2b2f0aeac77484295d15c9361b33 (patch) | |
tree | 740b5bbbb207dda28514f18d1c0e905def0986f7 /arm-dts-am335x-boneblack-add-cpu0-opp-points.patch | |
parent | 00b03ffa70e8773eee7200fd2235aed2b9ab689a (diff) | |
download | kernel-91185af140aa2b2f0aeac77484295d15c9361b33.tar.gz kernel-91185af140aa2b2f0aeac77484295d15c9361b33.tar.xz kernel-91185af140aa2b2f0aeac77484295d15c9361b33.zip |
Fix perf build with hardening
So. Because of the joys of how perf builds up its LDFLAGS, builds started
failing in rawhide with the latest perl build. See, perf thinks it is a
good idea to look at perl (and python too) and see what ld options were
used to build it, then just slam those into what it uses. That's cute, and
probably kind of works, but with the hardening changes it totally broke
the build. One of the final links failed with:
/usr/bin/ld: perf-in.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
perf-in.o: error adding symbols: Bad value
because it sucked in the hardened build LD options from perl, but didn't
we didn't pass in the required CFLAGS options. Isn't that special?
Fix this by specifying both LDFLAGS (so it isn't magically getting applied
without thought) and EXTRA_CFLAGS for the perf build.
I hate everything.
Diffstat (limited to 'arm-dts-am335x-boneblack-add-cpu0-opp-points.patch')
0 files changed, 0 insertions, 0 deletions