From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8469 invoked by alias); 13 Mar 2013 04:27:45 -0000 Received: (qmail 8455 invoked by uid 22791); 13 Mar 2013 04:27:41 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BF X-Spam-Check-By: sourceware.org Received: from mail-ia0-f181.google.com (HELO mail-ia0-f181.google.com) (209.85.210.181) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Mar 2013 04:27:36 +0000 Received: by mail-ia0-f181.google.com with SMTP id w33so603459iag.12 for ; Tue, 12 Mar 2013 21:27:36 -0700 (PDT) X-Received: by 10.50.57.200 with SMTP id k8mr14668962igq.44.1363148856154; Tue, 12 Mar 2013 21:27:36 -0700 (PDT) Received: from YAAKOV04 (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id ua6sm710249igb.0.2013.03.12.21.27.34 (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 12 Mar 2013 21:27:35 -0700 (PDT) Date: Wed, 13 Mar 2013 04:27:00 -0000 From: Yaakov (Cygwin/X) To: cygwin-developers@cygwin.com Subject: Error building libffi on x86_64 Message-ID: <20130312232736.3f71531b@YAAKOV04> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-developers-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com X-SW-Source: 2013-03/txt/msg00071.txt.bz2 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