Description of problem: SDL can't be rebuilded if yasm installed Version-Release number of selected component (if applicable): 1.2.11-1 1.2.11-2 (fc6-devel) How reproducible: Steps to Reproduce: 1) install yasm 2) rpmbuild -ba SDL.spec Solution: Variant 1: apply patch SDL-1.2.11-disable_yasm.patch Variant 2: BuildConflicts: yasm
Created attachment 151422 [details] SDL-1.2.11-disable_yasm.patch
Additional info: ... ./build-scripts/strip_fPIC.sh /usr/bin/yasm -f elf -i ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm -fPIC -DPIC -o build/.libs/mmx_main.o /usr/bin/yasm -f elf -i ./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm -o build/.libs/mmx_main.o ./src/hermes/mmx_main.asm:75: invalid argument to [SECTION] ./src/hermes/mmx_main.asm:75: undefined symbol `.note.GNU' (first use) ./src/hermes/mmx_main.asm:75: undefined symbol `stack' (first use) ./src/hermes/mmx_main.asm:75: (Each undefined symbol is reported only once.) make: *** [build/mmx_main.lo] Error 1 ... $ rpm -q yasm yasm-0.5.0-2
Fixed in package SDL-1.2.12-1 or newer.