Overview: Trying to build mesa from git (mesa-9999 from Gentoo Layman X11 overlay) on a ppc64 system fails while making all in src/gallium/drivers/svga with messages: cc1: error: unrecognized command line option "-msse" cc1: error: unrecognized command line option "-msse2" Platform: Linux 2.6.31-gentoo-r6 on PowerPC 970MP
What actual version of Mesa is this? How are is it being built? Looking at Mesa GIT, the only way -msse or -msse2 are used is if the user specifically adds them to CFLAGS use confgure.sh or if the user uses either the linux-x86 or linux-dri-x86 builds. My best guess is that the Gentoo build package has some sort of error in it.
The problem is the CC = gcc -fvisibility=hidden -msse -msse2 in src/gallium/drivers/svga/Makefile. I think that line should be removed. Assigning to Jakob.
Fix in mesa_7_7_branch with commit 86710c3334850eeaeffcac6d538e01fd5c203167. The commit will either be cherry-picked or merged soon.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.