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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; q=dns; s=default; b=sl 770luMYLfu0ia+IGFVvuLm624l/kq0/6UwE8u1pkifaEwQgTYvF7yprPYOHopo/V On/+eTdpP/tDGVM0GE+CsRlVG29l8+KX9kvFhA58MgpdPX0365HxBfoIpOjDI3Hc saAYTQ6yiHP9cxzNw6Rm/FV2QwVuqZF8/iHpvaRWg= 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:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; s=default; bh=mYptQywu 7zfdfJiq/Ztbm15NiRU=; b=K42oxedv4cwNZWWfg3FyjUkspFf1FpBlpFRCpbMK yIUUGiWRNE1YdVZqvFSxut/B5drRCjMrwGa7nxpHJwAadkK17DDdU+Zysh11Y6qW FS4NPT1CrkldxUPlDgFFZTDxSILDgDUSPo9Chp4fvmedP+jFjgPihBEaAMe7+rHX 9b4= 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=-0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com MIME-Version: 1.0 X-Received: by 10.194.58.244 with SMTP id u20mr1560008wjq.36.1411009128557; Wed, 17 Sep 2014 19:58:48 -0700 (PDT) In-Reply-To: References: <541A046B DOT 6020908 AT gmail DOT com> <541A375F DOT 4060205 AT cygwin DOT com> Date: Wed, 17 Sep 2014 22:58:48 -0400 Message-ID: Subject: Re: ld crashes with segmentation fault when linking with libmpir.a From: "Daniel R. Grayson" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Wed, Sep 17, 2014 at 10:56 PM, Daniel R. Grayson wrote: > On Wed, Sep 17, 2014 at 9:37 PM, Yaakov Selkowitz wrote: >> 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. > > Normally we use "gcc" and let it call "ld" for us. But "ld" crashed, so for > the purpose of the bug report, I've isolated the problem to its > simplest manifestation. PS: If you want to use "gdb", you need to know how to run the program that's crashing. -- 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