This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem with binutils 2.29 for microblaze


Hi,

This issue was reported in Januar:
https://sourceware.org/bugzilla/show_bug.cgi?id=21017

I reported the musl build failure via IRC to Rich.
He opened up the ticket and suggested a fix.
The fix is included in Binutils 2.29.

Unfortunately it breaks uClibc-ng shared library loader.

You can find Qemu bootable rootfs here:
https://debug.openadk.org/microblaze/

Bad does not boot and contains the commit in binutils, which
generates the binaries and libraries.
Good does boot and does not contain the commit in binutils.

Interesting is that ld.bad (readelf -aW output) of ld.so
contains a R_MICROBLAZE_NONE relocation. I think that's
the reason why ld.so can not selfrelocate/bootstrap.

For the broken rootfs the last message I see
is "About to do library loader relocations"

https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/tree/ldso/ldso/dl-startup.c#n262

So is it a bug in uClibc-ng ld.so or a bug in binutils?

What information you need for helping me with this issue?

Thanks for any hints,
 Waldemar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]