generic-poky/meta/recipes-kernel
Christopher Larson ef942d6025 perf: Fix to obey LD failure on qemux86-64
When built on an i686 host for qemux86-64 without the
fix to obey LD and it fails:

/scratch/dogwood/toolchains/x86_64/bin/i686-pc-linux-gnu-ld:
Relocatable linking with relocations from format elf64-x86-64
(/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/fs.o)
to format elf32-i386 (/scratch/dogwood/perf-ld-test/build/tmp/work/qemux86_64-mel-linux/perf/1.0-r9/perf-1.0/fs/libapi-in.o)
is not supported

This is because LD includes HOST_LD_ARCH, which contains TUNE_LDARGS,
which is -m elf32_x86_64 for x86_64. Without that, direct use of ld will fail.

(From OE-Core rev: 0ce06611068e74e6ea2e226e3f967aaa91fecd25)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-22 11:13:24 +01:00
..
blktrace blktrace: Include <sys/types.h for dev_t 2016-01-24 09:40:26 +00:00
cryptodev cryptodev: Add backported patches for 4.6+ kernels 2016-09-05 11:56:01 +01:00
dtc dtc: Upgrade to 1.4.1 (git based) 2015-01-16 23:08:24 +00:00
kern-tools kernel-yocto: streamline patch, configuration and audit phases 2016-08-18 09:27:53 +01:00
kexec kdump: don't set default values for KDUMP_CMDLINE and KDUMP_KIMAGE 2016-07-26 08:56:30 +01:00
kmod kmod: do not let gtkdocize fail 2016-09-09 12:12:22 +01:00
latencytop latencytop: obey LDFLAGS 2015-11-25 08:08:16 +00:00
libpfm libpfm4: fix compile error 2016-07-08 09:57:25 +01:00
linux linux-yocto/4.8: introduce preempt-rt 2016-09-21 21:58:05 +01:00
linux-firmware linux-firmware: package carl9170 separately 2016-09-20 15:11:08 +01:00
linux-libc-headers linux-libc-headers: allow overriding compiler name in KConfig 2016-09-14 22:22:07 +01:00
lttng lttng-modules: Do not fail if CONFIG_TRACEPOINTS is not enabled 2016-09-06 10:24:04 +01:00
modutils-initscripts meta: set proper S value 2015-01-23 11:36:27 +00:00
oprofile oprofileui: remove 2016-06-15 18:05:21 +01:00
perf perf: Fix to obey LD failure on qemux86-64 2016-09-22 11:13:24 +01:00
powertop powertop: Include right headers for timval struct 2016-01-24 09:40:26 +00:00
sysprof sysprof: clean up FILES 2016-08-01 11:47:11 +01:00
systemtap systemtap: remove EXTRA_OEMAKE workaround 2016-09-03 09:58:40 +01:00
trace-cmd trace-cmd: update to 2.6 2015-12-28 09:25:15 +00:00