X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=OuZM1+VT1nxxGarVr/Fg/03Lb59CJr9XUqOoqtNLIMV
	gZDvpnWiKFyIn3tH5rUdNDvQv61oN0vRceJX0G7i+pu9fTkfbnH1wQt2xo6qo2Fw
	gTpWLWehNL1zczrBm0vfWj5KCf92U3vOoPnv39M69rxkmF+8V+0uFBozHS1Z3Ndc
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=0BQEhesRr8cgwOx+6F4ewcE8lk0=; b=HjP7upd40PgNA0atZ
	JNIJR5jznzmzAwIC6qT8RPaB7oBPyMfF8SvmEzNjmmuP6qxJLIt/wgh4rbJFOVIo
	WyuOBt9JsP7T3DXsucixthycXUmRv5C//qePL7PAhImmY+SmW18GBPFyFji5CMSi
	KidAPmO6Yd8BvE67yV3/iS244M=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2
X-HELO: mx1.redhat.com
Message-ID: <541A375F.4060205@cygwin.com>
Date: Wed, 17 Sep 2014 20:37:35 -0500
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: ld crashes with segmentation fault when linking with libmpir.a
References: <CABWu70FH+jRZaAW5kkrJkr1NpekK8eEsje0X2fsUvp32wPVOeQ@mail.gmail.com>	<541A046B.6020908@gmail.com> <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ@mail.gmail.com>
In-Reply-To: <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2014-09-17 19:28, Daniel R. Grayson wrote:
> This bug prevents me from linking our program under cygwin.  The program
> is Macaulay2, see http://macaulay2.com/.  I'm working now on a work-around
> involving using libgmp instead of libmpir, and I expect that to be successful.

Never link directly with ld; you must link with gcc/g++/etc. and leave 
it to the compiler to call ld correctly.


Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

