Package: libatomic-ops-dev Version: 1.0-1 Severity: important Tags: experimental
The function AO_test_and_set_full fails to build with the following error: test.s: Assembler messages: test.s:38: Error: bad register name `%sil This only occurs when compiling with the -O0 flag using gcc 4.0. It did not occur with gcc 3.3 nor does it occur when using -Os, -O1, -O2 or -O3. A minimal test file and the exact build command I used are below: gcc-4.0 -march=i386 -mtune=i386 -O0 -Wall -Wno-long-long -save-temps -c test.c #include <atomic_ops.h> int main() { volatile AO_TS_t x = 0; AO_test_and_set_full(&x); } -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.3 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages libatomic-ops-dev depends on: ii libatomic-ops 1.0-1 A library for atomic operations (s libatomic-ops-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]