public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ld crashes with segmentation fault when linking with libmpir.a
Date: Thu, 18 Sep 2014 02:56:00 -0000	[thread overview]
Message-ID: <541A375F.4060205@cygwin.com> (raw)
In-Reply-To: <CABWu70E3M-H8m0+=ad3WSQ_ecWUDGac4-EaforhqOZVD-mCFeQ@mail.gmail.com>

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.


Yaakov


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

  reply	other threads:[~2014-09-18  1:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17 21:21 Daniel R. Grayson
2014-09-17 22:24 ` JonY
2014-09-18  1:37   ` Daniel R. Grayson
2014-09-18  2:56     ` Yaakov Selkowitz [this message]
2014-09-18  2:58       ` Daniel R. Grayson
2014-09-18  6:35         ` Daniel R. Grayson
2014-09-18  9:37           ` JonY
2014-09-18 10:09             ` Marco Atzeri
2014-09-18 12:39               ` JonY
2014-09-23 22:10     ` AW: " Christoph H. Hochstaetter
2014-09-23 22:32       ` JonY
2014-09-24  2:13         ` Daniel R. Grayson
2014-09-26  2:19           ` Daniel R. Grayson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=541A375F.4060205@cygwin.com \
    --to=yselkowitz@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).