Bug 234823

Summary: SDL can't be rebuilded if yasm installed
Product: [Fedora] Fedora Reporter: Mykola Ulianytskyi <lystor>
Component: SDLAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-27 16:44:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
SDL-1.2.11-disable_yasm.patch none

Description Mykola Ulianytskyi 2007-04-02 13:11:20 UTC
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

Comment 1 Mykola Ulianytskyi 2007-04-02 13:11:20 UTC
Created attachment 151422 [details]
SDL-1.2.11-disable_yasm.patch

Comment 2 Mykola Ulianytskyi 2007-04-02 13:15:35 UTC
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

Comment 3 Thomas Woerner 2007-08-27 16:44:19 UTC
Fixed in package SDL-1.2.12-1 or newer.