FS#25634 - [sdl] Wrong optimizations with current gcc and wrong mmx-code.

Attached to Project: Arch Linux
Opened by Zidane (Zidane) - Thursday, 18 August 2011, 03:56 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 23 August 2011, 12:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After sdl updated to sdl-1.2.14-7 appears bug in bundle sdl + smpeg.
Video-files with resolution 320x168(and other) plays like that:
http://img221.imageshack.us/img221/9692/bugkf.jpg
but must be:
http://img62.imageshack.us/img62/5854/goodlu.jpg
And sometimes it's cause crashes.

When i building it from sources with -O0 flag, builds faults with errors, and after bug reporting to gcc, they answers it's bug in sdl's asm-code. And when i changes ./include/SDL_config.h and comments "#define SDL_ASSEMBLY_ROUTINES 1"(after ./configure command) building error and bug has gone on any optimization level.

Additional info:
* package version(s)
sdl-1.2.14-7
smpeg-0.4.4-5

Steps to reproduce:
Run testapp from attachment on current sdl lib. And run it on compiled with commented "#define SDL_ASSEMBLY_ROUTINES 1"
(application/x-gzip)    bug.tar.gz (549.9 KiB)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 23 August 2011, 12:48 GMT
Reason for closing:  Upstream
Additional comments about closing:  See last comment.
Comment by Jan Alexander Steffens (heftig) - Sunday, 21 August 2011, 12:26 GMT
You should report this at the libsdl bugzilla.
Comment by Zidane (Zidane) - Tuesday, 23 August 2011, 10:46 GMT

Loading...