[PATCH] mips: fix segfault when creating a dso with discarded .dynsym section

James Cowgill James.Cowgill@imgtec.com
Wed Nov 5 10:53:00 GMT 2014


On Tue, 2014-11-04 at 22:12 +0000, Richard Sandiford wrote:
> James Cowgill <James.Cowgill@imgtec.com> writes:
> > I discovered this while trying to debug some MIPS testsuite failures.
> > Looking at the build logs from debian[1], I don't think the testsuite
> > has passed for over 10 years. I can take a better look at these unless
> > there's a reason noone's fixed them.
> >
> > Thanks,
> > James
> >
> > [1] https://buildd.debian.org/status/logs.php?pkg=binutils&arch=mipsel&suite=sid
> 
> Don't have time to check ATM, but are the failing tests ones that only
> run natively?  If so it's certainly possible that they've been failing
> for a long time.  I regularly ran the linker testsuite on a cross
> toolchain without failures, but it was only cross rather than native.

Yes most of the ones that fail run some native code or are only turned
on when run natively. These ones still appear when I build a cross
toolchain though:
 FAIL: objcopy -shared -z relro (tbss1) x3
 FAIL: ld-scripts/rgn-at11

James


More information about the Binutils mailing list