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.
cygcheck.out
Description: Binary data
-- 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