| Summary: | libsdl-1.2.11 fails to build with yasm-0.5.0 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Pablo De Napoli <pdenapo> |
| Component: | build | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P1 | CC: | vapier |
| Version: | 1.2.11 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | sdl-yasm-sections.patch | ||
|
Description
Pablo De Napoli
2007-02-20 08:35:58 UTC
Adding Mike Frysinger to the CC list for this bug, since he's our resident Gentoo ninja (and possibly wrote the yasm code in SDL, too.) This was on an x86, right? (maybe amd64?) --ryan. yes, it is on an x86 (AMD athlon) machine the problem is that older yasm's did not respect __OUTPUT_FORMAT__ ... i asked yasm guys to output that to be compatible with nasm and they did, but then we hit the problem where nasm accepts things like dots and dashes in the section name without being quoted but yasm does not upstream yasm has fixed this for their next version, but for 0.5.0 the syntax has to be: .section ".note.GNU-stack" ... i could tweak the test in configure.in so that if yasm is found but it fails to compile this: %ifidn __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits %endif we fall back to using nasm Created attachment 192 [details]
sdl-yasm-sections.patch
this should do it nicely i think
Bumping a bunch of bugs to Priority 1 for consideration for the 1.2.12 release. --ryan. Fixed in svn revision #3043 for the 1.2 branch and #3044 for the 1.3 branch. Thanks! --ryan. |