Patch to make binutils-2.17 compile and work on DragonFlyBSD

Mike Frysinger vapier@gentoo.org
Thu Aug 30 17:14:00 GMT 2007


On Thursday 30 August 2007, Mike Frysinger wrote:
> On Thursday 30 August 2007, Robert Sebastian Gerus wrote:
> > Ok, here's the error i get with binutils-2.18 on dfly:
> > /usr/lib/gcc41/crt1.o: file not recognized: File format not recognized
> > And ``file /usr/lib/gcc41/crt1.o'' shows me:
> > /usr/lib/gcc41/crt1.o: ELF 32-bit LSB relocatable, Intel 80386,
> > version 1 (SYSV), for DragonFly 1.9.7000, not stripped
> > If anyone has any ideas, i'm here to listen.
>
> usually due to unrecognized dynamic tags

along those lines, just run `readelf -d /usr/lib/gcc41/crt1.o` ... that should 
give you a pretty quick answer; just look for any field which comes up 
unrecognized

along these lines, i feel like we could/should improve the error reporting 
here ... "File format not recognized" is pretty generic and cant easily be 
traced back to a resolution of what needs to be changed ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20070830/e1ee7bd4/attachment.sig>


More information about the Binutils mailing list