Author Alex.Leach
Recipients Alex.Leach, Arfrever, jared.jennings, loewis, meador.inge, skrah, theller
Date 2012-07-16.10:56:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1952762.J6nqVplv6z@metabuntu>
In-reply-to <1342432416.64.0.83193886737.issue4130@psf.upfronthosting.co.za>
Content
I hadn't tried the `long long` substitution before, but unfortunately I don't 
think that simple fix quite does the trick.

I just checked out libffi from git, and made the following patch:-
#$ diff -u ffi64.c ffi64.c.orig 

--- ffi64.c     2012-07-16 11:38:44.237255615 +0100
+++ ffi64.c.orig        2012-07-16 11:38:34.681045084 +0100
@@ -38,7 +38,7 @@
 #define MAX_SSE_REGS 8

 #ifdef __INTEL_COMPILER
-#define UINT128 long long
+#define UINT128 __m128
 #else
 #define UINT128 __int128_t
 #endif

It compiles fine, but `make check` returns a lot of FAIL's, and a quite a few 
of the tests timeout. e.g.
FAIL: libffi.special/unwindtest.cc  -shared-libgcc -lstdc++ execution test
WARNING: program timed out.

It's probably also worth mentioning that I'm now using icc version 12.1.4

Cheers,
Alex

On Monday 16 Jul 2012 09:53:36 Stefan Krah wrote:
 > Stefan Krah <stefan-usenet@bytereef.org> added the comment:
> 
> Ah, forget that: Alex has apparently already tested that patch.
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue4130>
> _______________________________________
History
Date User Action Args
2012-07-16 10:56:25Alex.Leachsetrecipients: + Alex.Leach, loewis, theller, Arfrever, jared.jennings, skrah, meador.inge
2012-07-16 10:56:25Alex.Leachlinkissue4130 messages
2012-07-16 10:56:24Alex.Leachcreate