armv6 tree broken with DT_TEXTREL error in libc.so

Oleksandr Tymoshenko gonzo at bluezbox.com
Sat Jun 9 18:12:39 UTC 2012


On 2012-06-09, at 9:20 AM, Tim Kientzle <kientzle at freebsd.org> wrote:

> In the armv6 tree, libc.so fails to link with an error because DT_TEXTREL is being generated.  But I can't figure out why this is happening:
> 
>  * A regular arm.arm libc.so built on -CURRENT does not have a TEXTREL section.
> 
>  * This first appeared in gonzo's "Huge merge from HEAD" at commit 234858.  An armv6 world from r234857 doesn't have a TEXTREL in libc.so.
> 
>  * I cannot find any interesting differences in the Makefiles under libc that might explain this.  That commit did not merge any interesting changes to binutils, either.
> 
>  * If I make the --warn-shared-textrel non-fatal, then libc.so can build successfully.
>          = It does indeed have a TEXTREL section, BUT
>          = that section is zero bytes long (if I'm reading objdump output correctly)
>     (So I understand neither why it's there nor why it's presence would be a problem.)
> 
> Any ideas for what I should check next?

Hmm, I thought I fixed it with r236527. Do you have this change in your tree?



More information about the freebsd-arm mailing list