[MPlayer-dev-eng] compiling mplayer with gcc 4.6, broken audio decoding

Kazuo Teramoto kaz.rag at gmail.com
Tue Apr 5 00:12:34 CEST 2011


On Mon, Apr 4, 2011 at 1:50 PM, Dominik 'Rathann' Mierzejewski
<dominik at greysector.net> wrote:
> On Thursday, 31 March 2011 at 12:12, Kazuo Teramoto wrote:
>> So I'm attaching the .s of -O1 and -O0 of the dct64_sse.c file compile
>> with the gcc 4.6 on my machine.
>
> Hm, looks like gcc is doing something funny with the nnnn table, folding
> it into one 1<<31 entry and ignoring aligned(16).

I'm now at home, so I have the .s of gcc 4.5.2 and gcc 4.6.0.

They are compiled with the following line:

gcc-VERSION --save-temps -fverbose-asm -MD -MP -Wundef -Wall \
-Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls \
-Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization \
-Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -O4 \
-march=native -mtune=native -ffast-math -fomit-frame-pointer \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE \
-Ilibdvdread4 -I. -Iffmpeg -D_REENTRANT -I/usr/include/directfb \
-I/usr/include/ -D_REENTRANT -I/usr/include/freetype2 \
-I/usr/include/bs2b -DFF_API_MAX_STREAMS=0 \
-I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o \
mp3lib/dct64_sse.o mp3lib/dct64_sse.c

The conclusion of the Guillaume test is: compiling all with gcc-4.5.2
works, compiling only mp3lib/dct64_sse.c with gcc-4.6.0 and all other
files with gcc-4.5.2 give me a broken mp3lib.

Regards,
Kazuo

-- 
“The journey is more important than the destination—that’s part of
life, if you only live for getting to the end, you’re almost always
disappointed.”

Donald E. Knuth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dct64_sse-4.5.2.s
Type: application/octet-stream
Size: 17466 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110404/28c43498/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dct64_sse-4.6.0.s
Type: application/octet-stream
Size: 18230 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20110404/28c43498/attachment-0003.obj>


More information about the MPlayer-dev-eng mailing list