Version: 0.9.0-beta3 (using KDE 4.0.1) Installed from: Compiled From Sources Compiler: gcc-4.3.0 OS: Linux rsibreak-0.9.0-beta3 doesn't compile on ppc and ppc64. Compilation stops with: [ 43%] cc1plus: error: unrecognized command line option "-mmmx" make[2]: Leaving directory `/builddir/build/BUILD/rsibreak-0.9.0-beta3/ppc-redhat-linux-gnu' make[2]: Entering directory `/builddir/build/BUILD/rsibreak-0.9.0-beta3/ppc-redhat-linux-gnu' [ 43%] cc1plus: error: unrecognized command line option "-mmmx" make[2]: *** [src/CMakeFiles/librsibreak.dir/librsibreak_automoc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 45%] [ 45%] make[2]: Leaving directory `/builddir/build/BUILD/rsibreak-0.9.0-beta3/ppc-redhat-linux-gnu' Built target pofiles make[2]: Leaving directory `/builddir/build/BUILD/rsibreak-0.9.0-beta3/ppc-redhat-linux-gnu' make[2]: *** [src/CMakeFiles/librsibreak.dir/rsitimer_dpms.o] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/rsibreak-0.9.0-beta3/ppc-redhat-linux-gnu' make[1]: *** [src/CMakeFiles/librsibreak.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Full build log: ppc: http://koji.fedoraproject.org/koji/getfile?taskID=422853&name=build.log ppc64: http://koji.fedoraproject.org/koji/getfile?taskID=422856&name=build.log
CMakeLists.txt contains: add_definitions (-mmmx) wtf? easy enought to patch out.
Created attachment 23569 [details] omit arch-specific compiler flags
don't do that. just don't build for ppc and ppc64 for now.
ok, but I'm curious why?
Because rsibreak contains code optimized for mmx, without it, rsibreak is bad in performance....
fair nuf, thanks.
r874683 | mueller | 2008-10-22 11:45:15 +0200 (Wed, 22 Oct 2008) | 1 line fix build for non-x86 platforms