public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ld crashes with segmentation fault when linking with libmpir.a
@ 2014-09-17 21:21 Daniel R. Grayson
  2014-09-17 22:24 ` JonY
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel R. Grayson @ 2014-09-17 21:21 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 610 bytes --]

ld crashes with segmentation fault when linking with libmpir.a

To reproduce:

    wget http://mpir.org/mpir-2.6.0.tar.bz2
    tar xjf mpir-2.6.0.tar.bz2
    cd mpir-2.6.0
    ./configure --build=x86_64-pc-cygwin
    make
    ld -u __gmpn_gcdext .libs/libmpir.a

Since gdb doesn't show me any useful information (the stack is
destroyed), it's hard
to tell whether this is a cygwin problem or an ld problem.  It doesn't
happen under
Mac OS X or under several flavors of linux.  If you think it's an ld
problem, let me know, and I'll report it to the binutils people.

Output from cygcheck -s -v -r is attached.

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 104783 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-25 22:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-17 21:21 ld crashes with segmentation fault when linking with libmpir.a 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
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

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