diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-09-21 10:47:42 +0530 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-22 11:08:23 +0100 |
commit | 0ce06611068e74e6ea2e226e3f967aaa91fecd25 (patch) | |
tree | c14595c71e84728654fd85c32ae8d51936ae8d13 /scripts | |
parent | 482733bae05bdc7b149e515fb209c3266f459a53 (diff) | |
download | openembedded-core-0ce06611068e74e6ea2e226e3f967aaa91fecd25.tar.gz openembedded-core-0ce06611068e74e6ea2e226e3f967aaa91fecd25.tar.bz2 openembedded-core-0ce06611068e74e6ea2e226e3f967aaa91fecd25.zip |
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.
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions