ld crashes with segmentation fault when linking with libmpir.a
Daniel R. Grayson
danielrichardgrayson@gmail.com
Wed Sep 17 21:21:00 GMT 2014
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 104783 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140917/6b9a88ee/attachment.obj>
-------------- next part --------------
--
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