Red Hat Bugzilla – Bug 197640
Mesa isn't getting built with optimizations
Last modified: 2007-11-30 17:11:36 EST
I've opened this bug as instructed in
The spec changes to pass RPM_OPT_FLAGS in to the Mesa build via OPT_FLAGS aren't
sufficient -- the linux, linux-dri, and linux-dri-ppc Makefile fragments clobber
the OPT_FLAGS variable in a fashion similar to the already-fixed ARCH_FLAGS.
The OPT_FLAGS assignments in those files needs to be changed to a conditional
assignment or an appending assignment, depending on what you think it should do.
(Probably a conditional assignment, the PPC config selects a specific -mtune
option and I'm not sure how gcc will react to multiple conflicting -mtune options.)
Created attachment 131914 [details]
fix OPT_FLAGS usage
stick this in as Patch2, or just combine it with Patch0 and Patch1 into a new
Looks right to me. Applied to -13.fc6 along with a fix to the problem you
mentioned in IRC (before getting timed out):
<DrNick> woo! /usr/lib64/dri got the wrong perms
* Wed Jul 05 2006 Mike A. Harris <firstname.lastname@example.org> 6.5-13.fc6
- Added mesa-6.5-fix-opt-flags-bug197640.patch as 2nd attempt to fix OPT_FLAGS
- Ensure that redhat-mesa-driver-install creates $DRIMODULE_DESTDIR with
Unfortunately, due to bug #195980 I am unable to build the newly fixed
mesa package, however I will build it once releng has rectified the
problem with the buildsystem.
Built this a long time ago. Current is mesa-6.5-13.1.fc6