ld crashes with segmentation fault when linking with libmpir.a

Yaakov Selkowitz yselkowitz@cygwin.com
Thu Sep 18 02:56:00 GMT 2014

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.


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

More information about the Cygwin mailing list