SDL-1.2.5 (from the media-libs/libsdl ebuild) fails to compile on my system after an upgrade to GCC 3.3. The problem is easily resolved, and appears to be a change in how GCC handles multiline string literals. The specifics: the x86 asm stretch routine is written as a three-line string literal __asm__ declaration. GCC croaks on this. Flattening it to one line works great. Reproducible: Always Steps to Reproduce: 1. Upgrade to gcc 3.3. 2. `emerge libsdl` 3. Profit! Actual Results: Parse error, unterminated string constant. Expected Results: ...worked? :-) I'm so used to everything in Gentoo 'Just Work'-ing. Gentoo 1.4_rc4 GCC 3.3, from the ebuild emerge sync'd yesterday.
Created attachment 13160 [details, diff] Patch; fixes the build for me. This patch simply condenses the asm call to a single line. This fixes the build under GCC 3.3 for me.
Created attachment 13161 [details, diff] Patch; fixes the build for me. This patch simply condenses the asm call to a single line. This fixes the build under GCC 3.3 for me.
*** This bug has been marked as a duplicate of 21808 ***