This is the mail archive of the
mailing list for the Cygwin project.
Re: ld crashes with segmentation fault when linking with libmpir.a
- From: "Daniel R. Grayson" <danielrichardgrayson at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 17 Sep 2014 22:58:48 -0400
- Subject: Re: ld crashes with segmentation fault when linking with libmpir.a
- Authentication-results: sourceware.org; auth=none
- References: <CABWu70FH+jRZaAW5kkrJkr1NpekK8eEsje0X2fsUvp32wPVOeQ at mail dot gmail dot com> <541A046B dot 6020908 at gmail dot com> <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ at mail dot gmail dot com> <541A375F dot 4060205 at cygwin dot com> <CABWu70HtPGPy7OtOApg30iatn7k4-yqfFtG+yVK_F6X7Naj6eg at mail dot gmail dot com>
On Wed, Sep 17, 2014 at 10:56 PM, Daniel R. Grayson
> On Wed, Sep 17, 2014 at 9:37 PM, Yaakov Selkowitz <firstname.lastname@example.org> 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
>> 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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple