This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld crashes with segmentation fault when linking with libmpir.a


On Wed, Sep 17, 2014 at 9:37 PM, Yaakov Selkowitz <yselkowitz@cygwin.com> 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.

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]