Bug 157781 - rsibreak-0.9.0-beta3 doesn't compile on ppc and ppc64
Summary: rsibreak-0.9.0-beta3 doesn't compile on ppc and ppc64
Status: RESOLVED FIXED
Alias: None
Product: rsibreak
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Tom Albers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-13 14:31 UTC by Sebastian Vahl
Modified: 2008-10-25 01:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
omit arch-specific compiler flags (493 bytes, patch)
2008-02-14 15:14 UTC, Rex Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Vahl 2008-02-13 14:31:36 UTC
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
Comment 1 Rex Dieter 2008-02-14 15:10:54 UTC
CMakeLists.txt contains:
add_definitions (-mmmx)
wtf?  easy enought to patch out.
Comment 2 Rex Dieter 2008-02-14 15:14:07 UTC
Created attachment 23569 [details]
omit arch-specific compiler flags
Comment 3 Tom Albers 2008-02-14 15:24:18 UTC
don't do that. just don't build for ppc and ppc64 for now.
Comment 4 Rex Dieter 2008-02-14 15:37:06 UTC
ok, but I'm curious why?
Comment 5 Tom Albers 2008-02-14 15:39:53 UTC
Because rsibreak contains code optimized for mmx, without it, rsibreak is bad in performance....
Comment 6 Rex Dieter 2008-02-14 15:42:00 UTC
fair nuf, thanks.
Comment 7 Tom Albers 2008-10-25 01:02:44 UTC
r874683 | mueller | 2008-10-22 11:45:15 +0200 (Wed, 22 Oct 2008) | 1 line

fix build for non-x86 platforms