This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Possibly wrong address passed to callq asm instruction within MPIR test binaries
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Mon, 07 Apr 2014 09:52:11 +0200
- Subject: Re: Possibly wrong address passed to callq asm instruction within MPIR test binaries
- Authentication-results: sourceware.org; auth=none
- References: <CAHhGz8_eESbCpCWivD_G9ciFbE4VsZntZyRdOOOtd2PXUSsmgg at mail dot gmail dot com> <20140402090750 dot GP2508 at calimero dot vinschen dot de> <lhsctu$56e$1 at ger dot gmane dot org>
Jean-Pierre Flori writes:
> The problem we recently encountered was the following:
> in gmp-impl.h, mpn_store (which can be either a macro or a function if
> efficient assembly is available, and so is always a function on x86_64)
> was not marked __declspec(dllexport/dllimport).
I can confirm that GMP has the same problem when I patch out these
attributes (which I wanted to do because these cause lots of spurious
warnings during compilation). This works fine on 32bit, but produces
segmentation faults in some (not all) 64bit test binaries.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
--
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