Package: memtest86
Version: 3.2-1.1

When you compile test.c with -O3 it fails because some assembler symbols
are redefined.  This is because your sources define them but so does the
compiler at -O3.  According to the GCC people this is allowed, see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29204 in which Andrew Pinski
writes "This is not a bug as asms can be duplicated even if they are
volatile.  The way to fix this is to use .1 and 1f lables."

Note that this is not a concrete problem in Debian since it's compiled
at -Os but it would be nice if this could be fixed upstream.


> (sid)61:[EMAIL PROTECTED]: ~/src/memtest86-3.2] gcc -c -Wall -march=i486 -m32 
> -Os -fomit-frame-pointer -fno-builtin -ffreestanding test.c
> (sid)62:[EMAIL PROTECTED]: ~/src/memtest86-3.2] gcc -c -Wall -march=i486 -m32 
> -O3 -fomit-frame-pointer -fno-builtin -ffreestanding test.c
> /tmp/ccHC5zjf.s: Assembler messages:
> /tmp/ccHC5zjf.s:1668: Error: symbol `L26' is already defined
> /tmp/ccHC5zjf.s:1674: Error: symbol `L25' is already defined
> /tmp/ccHC5zjf.s:1682: Error: symbol `L23' is already defined
> /tmp/ccHC5zjf.s:1693: Error: symbol `L24' is already defined
> zsh: exit 1     gcc -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer 
> -fno-builtin  test.c
> (sid)63:[EMAIL PROTECTED]: ~/src/memtest86-3.2]

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to