It works correctly with gcc-3.2.3-r1. It craps out in rsMath.c: if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -I/usr/X11R6/include -march=athlon-xp -O3 -mmmx -msse -m3dnow -mfpmath=sse -pipe -fomit-frame-pointer -fforce-addr -funroll-loops -frerun-loop-opt -I/usr/X11R6/include -MT rsMath.o -MD -MP -MF ".deps/rsMath.Tpo" \ -c -o rsMath.o `test -f 'rsMath.c' || echo './'`rsMath.c; \ then mv ".deps/rsMath.Tpo" ".deps/rsMath.Po"; \ else rm -f ".deps/rsMath.Tpo"; exit 1; \ fi rsMath.c:40:9: missing terminating " character rsMath.c: In function `rsCPUDetect': rsMath.c:41: error: parse error before "xor" rsMath.c:69:9: missing terminating " character rsMath.c:89:17: missing terminating " character rsMath.c: In function `rsVec_normalize': rsMath.c:90: error: parse error before "femms" rsMath.c:130:17: missing terminating " character rsMath.c:142:17: missing terminating " character rsMath.c:143: error: parse error before "movups" rsMath.c:162:17: missing terminating " character rsMath.c:190:17: missing terminating " character rsMath.c: In function `rsVec_cross': rsMath.c:191: error: parse error before "femms" rsMath.c:224:17: missing terminating " character rsMath.c:236:17: missing terminating " character rsMath.c:237: error: parse error before "movups" rsMath.c:253:17: missing terminating " character make[3]: *** [rsMath.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/rss-glx-0.7.4/work/rss_glx-0.7.4/reallyslick/c_src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/rss-glx-0.7.4/work/rss_glx-0.7.4/reallyslick' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rss-glx-0.7.4/work/rss_glx-0.7.4' make: *** [all] Error 2 !!! ERROR: x11-misc/rss-glx-0.7.4 failed. !!! Function src_compile, Line 20, Exitcode 2 !!! (no error message)
You must put quotes around all the assembly commands in order to compile with gcc 3.3 for example: "xor %%eax, %%eax\n" instead of xor %%eax, %%eax
Created attachment 12651 [details, diff] Patch for rss-glx to compile with gcc 3.3
Created attachment 12652 [details] Updated ebuild that applies the patch
azarah, i hope you don't mind me taking this one because its an ebuild fix rather than gcc fix. i'm currently fixing rss-glx issues.
thanks for the patch. committed to rss-glx-0.7.4-r1