This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr
- From: "H . J . Lu" <hjl at lucon dot org>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: ross dot alexander at uk dot neceur dot com, law at redhat dot com,amodra at bigpond dot net dot au, binutils at sources dot redhat dot com,binutils-owner at sources dot redhat dot com
- Date: Wed, 19 Jun 2002 10:40:51 -0700
- Subject: Re: hppa64-hp-hpux11.00: invalid string offset for section .dynstr
- References: <OF32529192.B5197EDD-ON80256BDD.00558CCD@uk.neceur.com> <200206191647.g5JGlMWB019367@hiauly1.hia.nrc.ca>
On Wed, Jun 19, 2002 at 12:47:22PM -0400, John David Anglin wrote:
> > gcc ximage.o generate.sl -L/opt/X11R6/lib -Wl,-R -Wl,. -lX11 -o ximage
> > /opt/dev64/lib/gcc-lib/hppa64-hp-hpux11.00/3.1/../../../../hppa64-hp-hpux11.00/bin/ld: generate.sl: invalid string offset 6180 >= 129 for section
> > `.dynstr'
>
> I have seen similar warnings from gdb. Maybe you could get more information
> about this problem by running ld under gdb with a break at elf.c:342. This
> is where the error message is generated.
It sounds like a SHF_MERGE bug. I just fixed a SHF_MERGE bug on
ELF/mips. Do
# cd bfd
# grep SEC_MERGE elf??-*.?
Any backend which doesn't check SEC_MERGE may be broken with gcc 3.
H.J.