make check failing on times with -m32

Steve McIntyre steve at einval.com
Thu Jan 7 01:49:08 UTC 2016


Hey folks,

I'm seeing this both in the 4.11 tarball (which I was just hoping to
push into Debian) and wuth current git HEAD. Everything builds fine
for me on amd64 and tests run for 64-bit fine, but in tests-32 I get a
single failure for "times":

FAIL: times
===========

1c1
< times({tms_utime=24, tms_stime=14, tms_cutime=36, tms_cstime=22}) = 2246491019
---
> times({tms_utime=24, tms_stime=14, tms_cutime=36, tms_cstime=22}) = 18446744071661075339
times.test: failed test: ../strace -etimes -esignal=none ./times
output mismatch
FAIL times.test (exit status: 1)

The numbers are suspicious to me: 2246491019           ==         0x85E6BB8B
    	    		      	  18446744071661075339 == 0xFFFFFFFF85E6BB8B

Maybe a sign extension problem in the test or something? 

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
< Aardvark> I dislike C++ to start with. C++11 just seems to be
            handing rope-creating factories for users to hang multiple
            instances of themselves.





More information about the Strace-devel mailing list