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


On Tue, Apr 29, 2014 at 3:06 AM, Thomas Schmitt <scdbac...@gmx.net> wrote:

> Hi,
>
> Sébastien Bernard:
> > Cheers to team work.
>
> Special cheers to Patrick Baggett !
>
> And thanks to all who cared for this problem. I'd need more
> users who don't shrug but complain and tell me that i'm wrong.
>
> The bug fix is now committed as
>   http://libburnia-project.org/changeset/5324
>
> (We still did not find any alignment problem. Does that mean
>  we did not test hard enough ?)
>
>
> > The real function is in sysdeps/sparc/sparc64/strcmp.S .
> > So complicated that I'm not surprised a bug came inside.
>
> I found a medium complicated one in the libc code which
> you provided for me in /home/thomas
>   eglibc-2.18/string/bits/string2.h
> Already too bloated for me to spot any mistake or correctness.
>
>
> Have a nice day :)
>
> Thomas
>
>
> --
> To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> https://lists.debian.org/30925670721203172...@scdbackup.webframe.org
>
>

Reply via email to