Currently pyconfig.h includes this:

#ifdef _LP64
#define SIZEOF_LONG 4
#define SIZEOF_UINTPTR_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_TIME_T 8
#define SIZEOF_SIZE_T 8
#else
#define SIZEOF_LONG 4
#define SIZEOF_UINTPTR_T 4
#define SIZEOF_VOID_P 4
#define SIZEOF_TIME_T 4
#define SIZEOF_SIZE_T 4
#endif

It's wrong, since the 64-bit SIZEOF_LONG should be 8.
Python25-05-isalibs.diff adds these lines using AH_BOTTOM,
and it's correct in the AH_BOTTOM macro, however there is
also a AC_CHECK_SIZEOF(long) macro in that patch and that
somehow makes all occurences of the SIZEOF_LONG definition
become 4.  Removing that sizeof fixes this issue.

Laca

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python.diff
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20081006/c9e685c3/attachment.bin>

Reply via email to