Files
poky/meta/recipes-devtools
Jeremy Puhlman 8b8d689754 nativesdk-binutils: correct path to ld.so.conf
The alternative ld.so patch is set up so the linker will search
the nativesdk sysroot before searching the host filesystem.

However the patch concatenates <sysroot>/etc and /etc/ld.so.conf
leading to a path that does not exist:

3061991 openat(AT_FDCWD, "/buildtools/sysroots/x86_64-pokysdk-linux/etc/etc/ld.so.conf",
O_RDONLY) = -1 ENOENT (No such file or directory)

In native-nspr, the build uses -lpthread, which triggers a search for librt, but because
of the above it drags in the system librt leading to errors as follows:

/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/
9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: /lib64/librt.so.1:
undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE'

update concatenation to correctly construct the path to the nativesdk ld.so.conf

[YOCTO #13853]

(From OE-Core rev: d085da8300abb72e14957ecedf40189b25088d4b)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
..
2020-02-25 10:41:22 +00:00
2020-02-03 13:03:31 +00:00
2020-03-21 22:39:00 +00:00
2019-12-30 08:47:13 +00:00
2020-03-12 22:49:28 +00:00
2019-12-09 12:00:43 +00:00
2020-02-15 10:26:42 +00:00
2019-12-16 23:25:49 +00:00
2020-03-24 16:39:40 +00:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-02-22 23:57:27 +00:00
2020-03-11 11:44:29 +00:00
2020-02-14 13:07:23 +00:00
2019-12-30 23:39:09 +00:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-03-21 22:39:01 +00:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2019-07-31 23:03:01 +01:00
2019-12-15 09:10:46 +00:00
2020-02-25 10:41:22 +00:00
2019-12-28 23:25:41 +00:00
2019-12-09 12:00:43 +00:00
2018-11-14 11:14:39 +00:00
2020-03-31 13:58:01 +01:00
2020-02-04 15:56:29 +00:00
2020-03-12 22:49:28 +00:00
2020-02-28 23:11:28 +00:00
2020-02-21 09:39:00 +00:00
2020-01-27 16:48:08 +00:00