Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 391077

Summary: games-emulation/mupen64plus: ignores CXX variable
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] GamesAssignee: Christian Birchinger (RETIRED) <joker>
Status: RESOLVED WONTFIX    
Severity: normal CC: games
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-20 09:35:02 UTC
g++ -o OGLRender.o -march=core2 -O2 -pipe -I/usr/include/freetype2   -fno-strict-aliasing -g -pthread -D_REENTRANT [...]

When CXX=clang++. I consider this an outrage!
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2011-12-13 01:42:19 UTC
I just to export the CC CXX and LD variables and it will fail horrible
with: emake $(get_opts) DBGSYM=1 CC="${CC}" CXX="${CXX}" LD="${CC}"

It's a custom build Makefile and there are many specific gcc options that
clang rejects. The release wont get fixed upstream and i will not invest
days on this.

So unless someone comes up with a easy and quick solution i will not implement
clang build support for this.

I will keep the CC and CXX usage. But i will not change the source so it builds
with clang.

I'll try to make it die early after a tc-getCC test.
Comment 2 Christian Birchinger (RETIRED) gentoo-dev 2011-12-26 01:59:09 UTC
gcc check added. clang or icc are not supported by the build system and will also fail at inline asm stuff when they are forced.

Maybe the 2.x release will address this issue. 1.5 is dead upstream and wont be improved in this area.