From: "Daniel R. Grayson" <danielrichardgrayson@gmail.com>
To: cygwin@cygwin.com
Subject: Re: ld crashes with segmentation fault when linking with libmpir.a
Date: Thu, 18 Sep 2014 02:58:00 -0000 [thread overview]
Message-ID: <CABWu70HtPGPy7OtOApg30iatn7k4-yqfFtG+yVK_F6X7Naj6eg@mail.gmail.com> (raw)
In-Reply-To: <541A375F.4060205@cygwin.com>
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
next prev parent reply other threads:[~2014-09-18 2:56 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
2014-09-18 2:58 ` Daniel R. Grayson [this message]
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=CABWu70HtPGPy7OtOApg30iatn7k4-yqfFtG+yVK_F6X7Naj6eg@mail.gmail.com \
--to=danielrichardgrayson@gmail.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).