Red Hat Bugzilla – Bug 432733
uses the wrong optimization flags on ppc
Last modified: 2008-02-24 20:14:18 EST
Description of problem:
sonic-visualiser (in the Fedora packages CVS) uses qmake-qt4 to generate its
Makefile; the generated file is good for building on all platforms (including
ppc64) with the exception of ppc.
On ppc, for some reason the optimization flags for x86 is used
Version-Release number of selected component (if applicable):
The latest version as used by koji/mock
Steps to Reproduce:
1. checkout sonic-visualiser
2. make build
The ppc builder will fail
Should not fail: see URL included for the build result if ppc is ExcludeArch-ed.
A scratch build including the failed ppc arch would be much more helpful.
Tried a scratch build, it would appear rawhide has broken deps atm:
DEBUG util.py:261: Error: Missing Dependency: xpeex-devel is needed by package
OK, tried again, building for dist-f8:
No clue where these are coming from:
cc1plus: error: unrecognized command line option "-march=pentium3"
cc1plus: error: unrecognized command line option "-mfpmath=sse"
definitely aren't our default $RPM_OPT_FLAGS
sonic-visualiser's bug, not ours:
sv.prf:linux-g++:QMAKE_CXXFLAGS_RELEASE += -DNDEBUG -DNO_TIMING -O2
omit/patch-out those arch-specific compiler optimizations, and you'll be better off.
Fixed in Rawhide; stable builds awaiting libfishsound fix entering the updates tree