Skip to content

Commit

Permalink
glibc: always use bfd linker
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
shr-project authored and rpurdie committed Apr 26, 2019
1 parent 3950c28 commit ac64c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/recipes-core/glibc/glibc_2.29.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ]
Expand Down

0 comments on commit ac64c3b

Please sign in to comment.