diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-03-28 10:21:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-12 09:13:39 +0100 |
commit | 5280cacb56cca9801448c9dab532450b8e5051bc (patch) | |
tree | 00b283f0382a25aa748b04dd6bd3d900236073bc /meta/recipes-core/glibc | |
parent | 99be4ac26d66cabe41cb1754709c26581d72129b (diff) | |
download | poky-5280cacb56cca9801448c9dab532450b8e5051bc.tar.gz |
glibc: always use bfd linker
* Work around broken ld-2.29.so when gold is used
causing qemu-arm to segfault during e.g. gobject-introspection
or postinst at do_rootfs time, more details in:
http://lists.openembedded.org/pipermail/openembedded-devel/2019-March/198937.html
https://sourceware.org/bugzilla/show_bug.cgi?id=24148
https://sourceware.org/bugzilla/show_bug.cgi?id=10937
https://sourceware.org/bugzilla/show_bug.cgi?id=18103
(From OE-Core rev: 16c50cf4cd6a9a11ff47d0825e43f287f1fb2642)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.29.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc_2.29.bb b/meta/recipes-core/glibc/glibc_2.29.bb index 9184c5932c..073d1533e3 100644 --- a/meta/recipes-core/glibc/glibc_2.29.bb +++ b/meta/recipes-core/glibc/glibc_2.29.bb | |||
@@ -110,7 +110,7 @@ do_configure () { | |||
110 | 110 | ||
111 | do_compile () { | 111 | do_compile () { |
112 | # -Wl,-rpath-link <staging>/lib in LDFLAGS can cause breakage if another glibc is in staging | 112 | # -Wl,-rpath-link <staging>/lib in LDFLAGS can cause breakage if another glibc is in staging |
113 | unset LDFLAGS | 113 | LDFLAGS="-fuse-ld=bfd" |
114 | base_do_compile | 114 | base_do_compile |
115 | echo "Adjust ldd script" | 115 | echo "Adjust ldd script" |
116 | if [ -n "${RTLDLIST}" ] | 116 | if [ -n "${RTLDLIST}" ] |