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=rI ZAhEt++crVld1Y0w5o2cXa1KodI5Nnfh9M1wXnMefgzcrxq4r6C5Xf/2qSkkOmLU hZX5xU8GcjnmQjDeqDFZbmEnW9G/2l7HUBPRA2QPcj01pKyn4c/1SjSxc5mBdhxZ 9iIEhTIMoOu3BKeYr0Fw65ULdwo0H0Kzv8O2RQIBE= 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=Ny2cBTu8 4HkjXLAy23lsxZFC0vA=; b=WbhwX1DGxVYOkbZSkbA8UhLJ1woiymKiGBN5f45E gt5PUpKD+kolTqosAjB/UtkO8oRB/y8SmYG3+HHKBdFbHHXI/baLMHh/XZbdzEek /sHBEgvvpWCC0VEzDA2/Q21JtMcDNSk0/Didhlyx+48iz6U26feNGUlxt3eWM01U DLc= 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.6 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-f179.google.com MIME-Version: 1.0 X-Received: by 10.180.91.103 with SMTP id cd7mr23864wib.67.1411000136661; Wed, 17 Sep 2014 17:28:56 -0700 (PDT) In-Reply-To: <541A046B.6020908@gmail.com> References: <541A046B DOT 6020908 AT gmail DOT com> Date: Wed, 17 Sep 2014 20:28:56 -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 6:00 PM, JonY <10walls AT gmail DOT com> wrote: > On 9/18/2014 03:20, Daniel R. Grayson wrote: >> ld crashes with segmentation fault when linking with libmpir.a >> >> To reproduce: >> >> wget http://mpir.org/mpir-2.6.0.tar.bz2 >> tar xjf mpir-2.6.0.tar.bz2 >> cd mpir-2.6.0 >> ./configure --build=x86_64-pc-cygwin >> make >> ld -u __gmpn_gcdext .libs/libmpir.a >> > > What are you trying to accomplish? I suspect this will not work on Windows. > > > 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. I'm not sure what you mean when you say it will not work under Windows, since my bug report is about a program crashing, and the program should work, i.e., "ld" should link object files together or give an error message. -- 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