[Python-modules-team] Bug#734521: pyzmq: FTBFS for s390x: test_timeout AssertionError

Julian Taylor jtaylor.debian at googlemail.com
Tue Jan 7 20:38:41 UTC 2014


On 07.01.2014 21:23, Alessandro Ghedini wrote:
> On mar, gen 07, 2014 at 09:10:35 +0100, Julian Taylor wrote:
>> On 07.01.2014 21:02, Aaron M. Ucko wrote:
>> caused by a minimum polling timeout of 0.5 seconds due to a bug in
>> zeromqs timing src/clock.cpp:123  zmq::clock_t::rdtsc()
>>
>> still investigating a fix.
> 
> Looking at the code:
> 
>> #elif defined(__s390__)
>>     uint64_t tsc;
>>     asm("\tstck\t%0\n" : "=Q" (tsc) : : "cc");
>>     tsc >>= 12;		/* convert to microseconds just to be consistent */
>>     return(tsc);
> 
> Maybe the check needs to be "#elif defined(__s390__) || defined(__s390__)"? If
> that's the case, feel free to reassign to libzmq3.


no its the conversion to "microsecond", the code is written to deal in
pseudoclock cycles.
see https://github.com/zeromq/libzmq/issues/811



More information about the Python-modules-team mailing list