Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2012 09:20:30 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        arm@freebsd.org
Subject:   armv6 tree broken with DT_TEXTREL error in libc.so
Message-ID:  <2EB675BD-4275-4E05-B551-CAF92584E9BC@freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
          =3D It does indeed have a TEXTREL section, BUT
          =3D 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?

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2EB675BD-4275-4E05-B551-CAF92584E9BC>