diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2019-03-28 10:21:39 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-26 10:09:08 +0100 |
| commit | 018be19fbf50dc5d9be9aa1dad5f33023cec1595 (patch) | |
| tree | 1b7840f769eb2ee722507579ee0266d725999757 /meta | |
| parent | ebeecd60c288dac7f6ad4e964d2e440edbd7f2de (diff) | |
| download | poky-018be19fbf50dc5d9be9aa1dad5f33023cec1595.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: ac64c3b96bdff0b61bb5247fcd2d7ef4be881c09)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -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}" ] |
