I can reproduce this bug on my Lucid x64 VM inside virtualbox.
Processor is an AMD Athlon64 X2 4000+.

libc6: 2.11.1-0ubuntu4
gcc: 4.4.3-3ubuntu3

It definitely seems like a libc bug, the test doesn't crash when gcc
uses its builtin strcmp.

The test program crashes when compiled with any of:
gcc -m64 teststrcmp.c
gcc -m64 -O -fno-builtin teststrcmp.c      (same with O2, O3)

but works when compiled with any of:
gcc -m64 -O teststrcmp.c      (same with O2, O3)
gcc -m32 teststrcmp.c
gcc -m32 -fno-builtin teststrcmp.c

-- 
strcmp crashes
https://bugs.launchpad.net/bugs/518314
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to