Cross ld build problems
JonY
10walls@gmail.com
Wed Apr 2 11:20:00 GMT 2014
Hi,
I am using a recent git master branch copy and I am running into
problems when crossing from 32bit Cygwin to 64bit mingw.
I can produce this problem using configure options:
--build=i686-pc-cygwin --host=i686-pc-cygwin
--target=x86_64-w64-mingw32. The problem only affects 32bit -> 64bit PE
targets I think, 64bit Cygwin ld seems smart enough to skip 32bit
objects when crossing to 32bit Windows.
In the Makefile, default-manifest.o is a prerequisite of
ld-new${EXEEXT}, when linking ld-new, the native 32bit linker picks up
on the local default-manifest.o, which is 64bit and groks about an
unrecognized file format.
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.
For reference, I am building off revision
acd6540d35178e9fd1a98110798eeb8f878656e4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20140402/30d69cec/attachment.sig>
More information about the Binutils
mailing list