New linker bug? (Re: hpux64-hp-hpux11.00: .rela.opd problems)

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Jun 27 07:49:00 GMT 2002


> On Wed, Jun 26, 2002 at 10:11:07PM -0400, John David Anglin wrote:
> > 
> > I recommend 020624 or 020625 since I believe the dwarf2.c patch
> > today introduces a new bug in ld.
> 
> Do you have a testcase for the new linker bug? Does it affect any Linux
> platforms?

There are four new fails in the ld testsuite which I believe are caused by
yesterdays dwarf2.c patch on hppa64-hp-hpux11*:

/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new  -o tmpdir/cross1 -T /xxx/gnu/binutils-2.12.90/src/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o tmpdir/cross2.o
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: Dwarf Error: mangled line number section (bad file number).
FAIL: NOCROSSREFS 1

/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: section .PARISC.unwind [0000000000000070 -> 000000000000007f] overlaps section .dynamic [0000000000000028 -> 0000000000000127]
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: section .interp [0000000000000030 -> 0000000000000047] overlaps section .dynamic [0000000000000028 -> 0000000000000127]
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: section .dynstr [0000000000000048 -> 0000000000000048] overlaps section .dynamic [0000000000000028 -> 0000000000000127]
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: section .hash [0000000000000050 -> 000000000000005b] overlaps section .dynamic [0000000000000028 -> 0000000000000127]
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: Dwarf Error: mangled line number section (bad file number).
FAIL: NOCROSSREFS 2

/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new -e start  -o tmpdir/undefined tmpdir/undefined.o
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: warning: cannot find entry symbol start; defaulting to 4000000000001288
/xxx/gnu/binutils-2.12.90/objdir64/ld/ld-new: Dwarf Error: mangled line number section (bad file number).
FAIL: undefined
XFAIL: undefined function
FAIL: undefined line

Don't know if it affects any linux platforms.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)



More information about the Binutils mailing list