From owner-freebsd-arm@FreeBSD.ORG Sat Jun 9 16:20:31 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CA801065674 for ; Sat, 9 Jun 2012 16:20:31 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 59F4A8FC0A for ; Sat, 9 Jun 2012 16:20:31 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q59GKUGM041880 for arm@freebsd.org; Sat, 9 Jun 2012 16:20:30 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id y7smmur6r2erhdyp5m459eda66; for arm@freebsd.org; Sat, 09 Jun 2012 16:20:30 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 9 Jun 2012 09:20:30 -0700 Message-Id: <2EB675BD-4275-4E05-B551-CAF92584E9BC@freebsd.org> To: arm@freebsd.org Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Cc: Subject: armv6 tree broken with DT_TEXTREL error in libc.so X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jun 2012 16:20:31 -0000 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