This is the mail archive of the cygwin-developers mailing list for the Cygwin 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]

Error building libffi on x86_64


I have encountered the following error attempting to build
libffi-3.0.12 on Cygwin:

src/x86/.libs/win64.o:/usr/src/debug/libffi-3.0.12-1/src/x86/win64.S:298:(.text+0x69): relocation truncated to fit: R_X86_64_32S against symbol `ffi_closure_win64_inner' defined in .text section in src/x86/.libs/ffi.o

The only matches on Google for this sort of error were for >2GB code on
Linux, but I suspect the problem here is with the medium code model.

Here's what I'm working with:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/libffi


Yaakov


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