[oe-commits] [openembedded-core] 25/41: glibc: always use bfd linker

git at git.openembedded.org git at git.openembedded.org
Sun May 12 08:14:52 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch warrior
in repository openembedded-core.

commit 16c50cf4cd6a9a11ff47d0825e43f287f1fb2642
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Thu Mar 28 10:21:39 2019 +0000

    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
    
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-core/glibc/glibc_2.29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/glibc/glibc_2.29.bb b/meta/recipes-core/glibc/glibc_2.29.bb
index 9184c59..073d153 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 () {
 
 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}" ]

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list