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]

Cross ld build problems


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.

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]