Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02732 Compiling Critical (emulator) Always Dec 11, 2008, 12:03 Dec 11, 2008, 12:40
Tester Sodki View Status Public Platform SDLMAME
Assigned To Resolution Invalid report OS Linux
Status [?] Closed Driver
Version 0.128u5 Fixed in Version Build PowerPC
Fixed in Git Commit Github Pull Request #
Summary 02732: SDLMAME fails to build on PPC when using GCC 4.3.2 and Altivec support enabled
Description Hi,

I'm a Gentoo Linux user on PPC and I'm not able to compile SDLMAME under certain circumstances. I've tried SDLMAME 0.127, SDLMAME 0.128 and SDLMAME 0.128u5 with the same results.

My CFLAGS are the following:
CFLAGS="-O2 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

If I use GCC 4.1.2, I can compile SDLMAME with no problems. If I use GCC 4.3.2, SDLMAME fails to build. To build SDLMAME with GCC 4.3.2, I have to change "-maltivec" to "-mno-altivec" in my CFLAGS.
Steps To Reproduce
Additional Information This is the error that I get:

[...]
Compiling src/mame/drivers/gaelco2.c...
Compiling src/mame/machine/gaelco2.c...
Compiling src/mame/video/gaelco2.c...
Compiling src/mame/drivers/gaelco3d.c...
Compiling src/mame/video/gaelco3d.c...
In file included from src/emu/video/rgbutil.h:20,
                 from src/mame/video/gaelco3d.c:14:
src/emu/video/rgbvmx.h: In function ârgb_to_rgbintâ:
src/emu/video/rgbvmx.h:68: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
src/emu/video/rgbvmx.h:68: error: incompatible types in assignment
src/emu/video/rgbvmx.h: In function ârgba_to_rgbaintâ:
src/emu/video/rgbvmx.h:80: error: incompatible types in assignment
src/emu/video/rgbvmx.h: In function ârgb_bilinear_filterâ:
src/emu/video/rgbvmx.h:441: error: incompatible types in assignment
src/emu/video/rgbvmx.h:442: error: incompatible types in assignment
src/emu/video/rgbvmx.h:443: error: incompatible types in assignment
src/emu/video/rgbvmx.h:444: error: incompatible types in assignment
src/emu/video/rgbvmx.h:445: error: incompatible types in assignment
src/emu/video/rgbvmx.h:446: error: incompatible types in assignment
src/emu/video/rgbvmx.h:450: error: incompatible types in assignment
src/emu/video/rgbvmx.h:453: error: incompatible types in assignment
src/emu/video/rgbvmx.h: In function ârgba_bilinear_filterâ:
src/emu/video/rgbvmx.h:473: error: incompatible types in assignment
src/emu/video/rgbvmx.h:474: error: incompatible types in assignment
src/emu/video/rgbvmx.h:475: error: incompatible types in assignment
src/emu/video/rgbvmx.h:476: error: incompatible types in assignment
src/emu/video/rgbvmx.h:477: error: incompatible types in assignment
src/emu/video/rgbvmx.h:478: error: incompatible types in assignment
src/emu/video/rgbvmx.h:482: error: incompatible types in assignment
src/emu/video/rgbvmx.h:485: error: incompatible types in assignment
src/emu/video/rgbvmx.h: In function ârgbint_bilinear_filterâ:
src/emu/video/rgbvmx.h:504: error: incompatible types in assignment
src/emu/video/rgbvmx.h:505: error: incompatible types in assignment
src/emu/video/rgbvmx.h:506: error: incompatible types in assignment
src/emu/video/rgbvmx.h:507: error: incompatible types in assignment
src/emu/video/rgbvmx.h:508: error: incompatible types in assignment
src/emu/video/rgbvmx.h:509: error: incompatible types in assignment
src/emu/video/rgbvmx.h:513: error: incompatible types in assignment
src/emu/video/rgbvmx.h: In function ârgbaint_bilinear_filterâ:
src/emu/video/rgbvmx.h:532: error: incompatible types in assignment
src/emu/video/rgbvmx.h:533: error: incompatible types in assignment
src/emu/video/rgbvmx.h:534: error: incompatible types in assignment
src/emu/video/rgbvmx.h:535: error: incompatible types in assignment
src/emu/video/rgbvmx.h:536: error: incompatible types in assignment
src/emu/video/rgbvmx.h:537: error: incompatible types in assignment
src/emu/video/rgbvmx.h:541: error: incompatible types in assignment
Compiling src/mame/drivers/glass.c...
make: *** [obj/sdl/sdlmame/mame/video/gaelco3d.o] Error 1
make: *** Waiting for unfinished jobs....
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.03274
Fujix
Administrator
Dec 11, 2008, 12:40
edited on: May 17, 2009, 19:39
DO NOT POST SDL MAME SPECIFIC ISSUE HERE.

Read rules first http://mametesters.org/rules.html