public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Possibly wrong address passed to callq asm instruction within MPIR test binaries
@ 2014-04-01 22:07 Jean-Pierre Flori
  2014-04-02  9:07 ` Corinna Vinschen
  2014-04-03 13:02 ` Jean-Pierre Flori
  0 siblings, 2 replies; 21+ messages in thread
From: Jean-Pierre Flori @ 2014-04-01 22:07 UTC (permalink / raw)
  To: cygwin; +Cc: Bill Hart

Dear all,

It's amazing to see how well Cygwin64 is going.
Thanks for your hard work.

While preparing the new MPIR release, which will be the first one to
support Cygwin4, we encountered problems running MPIR testsuite when
MPIR was configured to produce a shared lib.
That's with latest cygwin/binutils/gcc/g++ from today.

It seems that a call to the MPN_ZERO macro, which on my setup is at
0x4ff2746c0 in the shared lib but we get the instruction:
callq 0xff2746c0
within the test binary and that yields a nice segfault.
Please see https://groups.google.com/d/msg/mpir-devel/KzsxIWhVx8A/EAUoP4ybWOMJ
and the few following post for more details.

For sure, we don't get what's going on here.
Would you have any clue?
Might ld decide for some reason to trim the macro address to 4 bytes
rather than 8?

Best,

-- 
Jean-Pierre Flori

--
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] 21+ messages in thread

end of thread, other threads:[~2014-04-07 15:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-01 22:07 Possibly wrong address passed to callq asm instruction within MPIR test binaries Jean-Pierre Flori
2014-04-02  9:07 ` Corinna Vinschen
2014-04-06 20:20   ` Jean-Pierre Flori
2014-04-07  7:52     ` Achim Gratz
2014-04-07  8:43     ` Corinna Vinschen
2014-04-07  9:14       ` Jean-Pierre Flori
2014-04-07  9:39         ` Corinna Vinschen
2014-04-07  9:55           ` Jean-Pierre Flori
2014-04-07  9:49         ` Jean-Pierre Flori
2014-04-07 10:42           ` Jean-Pierre Flori
2014-04-07 10:45             ` Jean-Pierre Flori
2014-04-07 11:26               ` Jean-Pierre Flori
2014-04-07 11:30                 ` Corinna Vinschen
2014-04-07 11:50                   ` Jean-Pierre Flori
2014-04-07 11:57                     ` Corinna Vinschen
2014-04-07 13:28                       ` Jean-Pierre Flori
2014-04-07 14:03                         ` Jean-Pierre Flori
2014-04-07 14:36                           ` Corinna Vinschen
2014-04-07 14:48                             ` Jean-Pierre Flori
2014-04-07 15:39                               ` Corinna Vinschen
2014-04-03 13:02 ` Jean-Pierre Flori

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