X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 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 AT cygwin DOT com Subject: Re: ld crashes with segmentation fault when linking with libmpir.a References: <541A046B DOT 6020908 AT gmail DOT com> In-Reply-To: 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