New submission from Antoine Pitrou:

x32 is a special Linux ABI on x86-64 CPUs. When compiling for x32, there's a 
failure in test_sigtimedwait. The failure is due to the fact that on x32, 
"long" is 32 bits but "timespec.tv_nsec" is 64 bits. Therefore we can't pass 
the pointer to tv_nsec directly to _PyTime_ObjectToTimespec.

Patch attached.

----------
components: Interpreter Core
files: x32_timespec.patch
keywords: patch
messages: 187197
nosy: haypo, mark.dickinson, pitrou
priority: low
severity: normal
stage: patch review
status: open
title: Fix test_signal failure on x32
type: crash
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29908/x32_timespec.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17782>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to