This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Error building libffi on x86_64
- From: Yaakov (Cygwin/X) <yselkowitz at users dot sourceforge dot net>
- To: cygwin-developers at cygwin dot com
- Date: Tue, 12 Mar 2013 23:27:36 -0500
- Subject: 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