Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22034 - rss-glx 0.7.4 does not compile with gcc 3.3
Summary: rss-glx 0.7.4 does not compile with gcc 3.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-31 23:16 UTC by Jason Rhinelander
Modified: 2003-06-04 09:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for rss-glx to compile with gcc 3.3 (rss-glx-0.7.4-strings-fix.diff,10.65 KB, patch)
2003-06-01 20:35 UTC, Jason Rhinelander
Details | Diff
Updated ebuild that applies the patch (rss-glx-0.7.4-r1.ebuild,996 bytes, text/plain)
2003-06-01 20:36 UTC, Jason Rhinelander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Rhinelander 2003-05-31 23:16:05 UTC
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)
Comment 1 Chris Leahy 2003-06-01 18:51:31 UTC
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
Comment 2 Jason Rhinelander 2003-06-01 20:35:20 UTC
Created attachment 12651 [details, diff]
Patch for rss-glx to compile with gcc 3.3
Comment 3 Jason Rhinelander 2003-06-01 20:36:02 UTC
Created attachment 12652 [details]
Updated ebuild that applies the patch
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-06-02 20:45:17 UTC
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.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-06-04 09:11:56 UTC
thanks for the patch.

committed to rss-glx-0.7.4-r1