Files
poky/meta/recipes-core
Ovidiu Panait a3b21540c3 populate_sdk_base: Add ld.so.conf for nativesdk-binutils
Extend the functionality provided by commit [1] to the SDK as well. This way we
can make sure that nativesdk-binutils finds SDK libraries first rather than
host ones.

This is useful for example when trying to build the linux kernel using
nativesdk-gcc. This scenario currently fails because it tries to link to host
libraries rather than SDK host ones:

make x86_64_defconfig
make bzImage
...
error: Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel
Makefile:1101: recipe for target 'prepare-objtool' failed
make: *** [prepare-objtool] Error 1
....
/../../../../x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `__libc_vfork@GLIBC_PRIVATE'
...

[1] 15049c610b [buildtools-tarball: Add an ld.so.conf for nativesdk-binutils]

(From OE-Core rev: 7ec84a463ad4c45aee9cd2cbc75b43e5aab5cd18)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
..
2020-04-24 14:10:07 +01:00
2019-10-15 14:16:12 +01:00
2019-01-08 11:16:44 +00:00
2015-01-23 11:36:27 +00:00
2020-01-27 16:48:10 +00:00
2018-09-04 11:03:55 +01:00
2020-03-06 08:19:18 +00:00
2020-01-10 21:18:22 +00:00
2020-04-26 14:00:50 +01:00
2020-02-28 23:11:28 +00:00
2019-12-28 23:25:41 +00:00
2019-03-29 08:28:52 +00:00