This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross ld build problems


On 4/2/2014 22:22, Nicholas Clifton wrote:
> Hi Jon,
> 
>> I think the fix is to compile it as default-manifest-new.o but install
>> it as default-manifest.o, though I'm not too familiar with the Makefile
>> to do this.
> 
> The problem here is that if you are running a built but not installed
> linker then it will fail to find the default manifest.  Running an
> uninstalled linker is not uncommon either - I do it all the time when
> regression testing.
> 

No, the error happens when gcc is linking ld-new.exe, consequently,
ld-new fails to link:

default-manifest.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status

Removing default-manifest.o from the local directory and rerunning the
gcc command allows it to link again. I am not running the newly built
linker.

There is already a system default /usr/lib/default-manifest.o used by
the installed linker.




Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]