Le 29/04/2014 16:50, Kieron Gillespie a écrit :
I'll rebuild one of my SunBlade 2500 latter with sid and see if I get
the same result. If it doesn't show the symptom I will rebuild my
T2000 and see if it is something specific to the Niagara T1.
-Kieron
On Tue, Apr 29, 2014 at 10:45 AM, Sébastien Bernard
<sbern...@nerim.net <mailto:sbern...@nerim.net>> wrote:
Le 29/04/2014 16:34, Kieron Gillespie a écrit :
I am currently investigating this unusual behavior with
strcmp, and I am unable to reproduce the problem using the
test_strcmp example provided.
It returns the correct output of,
result from strcmp('\0000','\0001' is -1)
This was built on Debian Wheezy with a T2000 SPARC processor
using GCC 4.6.3-14 from Debian Wheezy Repo.
Cheers,
Kieron
Hum, I tried with a T5220 with debian 7.5 /wheezy.
Same result, the strcmp is ok.
Could you try with unstable ?
Cheers.
Tested on niagara T5220:
with wheezy 2.13 glibc:
root@skynet:~# ./test_strcmp
result from strcmp('\0000','\0001' is -1)
result from memcmp('\0000','\0001' is -1)
Tested from debootstrap sid on the same niagara :
root@skynet:/# ./test_strcmp
result from strcmp('\0000','\0001' is 0)
result from memcmp('\0000','\0001' is -1)
So, glibc-2.18 is broken on sparc.
Seb