]> code.ossystems Code Review - openembedded-core.git/commitdiff
glibc: always use bfd linker
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 28 Mar 2019 10:21:39 +0000 (10:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Apr 2019 09:09:02 +0000 (10:09 +0100)
* 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

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc_2.29.bb

index 9184c5932cc803b94f4146066a3b0b6ce0453af2..073d1533e370a8f557d934445760290230ca86ef 100644 (file)
@@ -110,7 +110,7 @@ do_configure () {
 
 do_compile () {
        # -Wl,-rpath-link <staging>/lib in LDFLAGS can cause breakage if another glibc is in staging
-       unset LDFLAGS
+       LDFLAGS="-fuse-ld=bfd"
        base_do_compile
        echo "Adjust ldd script"
        if [ -n "${RTLDLIST}" ]