Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475266 - media-tv/xbmc-12.2: build fails on systems w/sse1 but not sse2 (error: '__m128i' does not name a type)
Summary: media-tv/xbmc-12.2: build fails on systems w/sse1 but not sse2 (error: '__m12...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-29 21:03 UTC by Jose Quinteiro
Modified: 2013-12-31 19:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info '=media-tv/xbmc-12.2-r1' (info.log,4.51 KB, text/plain)
2013-06-29 21:04 UTC, Jose Quinteiro
Details
output of emerge -pqv '=media-tv/xbmc-12.2-r1' (pqv.log,444 bytes, text/plain)
2013-06-29 21:05 UTC, Jose Quinteiro
Details
Build log with the compile failure (build.log,70.52 KB, text/plain)
2013-06-29 21:06 UTC, Jose Quinteiro
Details
Fix submitted to upstream (xbmc-9999-detect-sse2.patch,5.76 KB, patch)
2013-06-29 21:07 UTC, Jose Quinteiro
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Quinteiro 2013-06-29 21:03:58 UTC
media-tv/xbmc-12.2-r1 fails to compile on a CPU that supports SSE1, but not SSE2 instructions.



Reproducible: Always

Steps to Reproduce:
Try to emerge media-tv/xbmc-12.2-r1 on a system with and older 32-bit CPU
Actual Results:  
CPP     xbmc/cores/AudioEngine/Sinks/AESinkNULL.o
In file included from Sinks/AESinkNULL.cpp:30:0:
./Utils/AEUtil.h:50:12: error: '__m128i' does not name a type
make[1]: *** [Sinks/AESinkNULL.o] Error 1
make: *** [xbmc/cores/AudioEngine/audioengine.a] Error 2
make: *** Waiting for unfinished jobs....


Expected Results:  
xbmc compiles and installs

See the attachments for the full build.log, and the outputs of `emerge --info '=media-tv/xbmc-12.2-r1'` and `emerge -pqv '=media-tv/xbmc-12.2-r1'`.

I have filed a pull request against upstream with a fix for this bug:
https://github.com/xbmc/xbmc/pull/2612

I have an ebuild that applies this fix in my user overlay:
http://git.overlays.gentoo.org/gitweb/?p=user/JoseQ.git;a=tree;f=media-tv/xbmc;hb=HEAD
Comment 1 Jose Quinteiro 2013-06-29 21:04:59 UTC
Created attachment 352268 [details]
output of emerge --info '=media-tv/xbmc-12.2-r1'
Comment 2 Jose Quinteiro 2013-06-29 21:05:31 UTC
Created attachment 352270 [details]
output of emerge -pqv '=media-tv/xbmc-12.2-r1'
Comment 3 Jose Quinteiro 2013-06-29 21:06:01 UTC
Created attachment 352272 [details]
Build log with the compile failure
Comment 4 Jose Quinteiro 2013-06-29 21:07:50 UTC
Created attachment 352274 [details, diff]
Fix submitted to upstream
Comment 5 Ben Kohler gentoo-dev 2013-07-02 14:50:01 UTC
Can you link us to your upstream report?
Comment 6 Alexis Ballier gentoo-dev 2013-07-26 14:45:09 UTC
it has been merged upsteam recently
Comment 7 SpanKY gentoo-dev 2013-12-31 19:19:38 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add patch from upstream for building on cpus w/out sse2
http://sources.gentoo.org/media-tv/xbmc/files/xbmc-12.3-no-sse2.patch?rev=1.1
http://sources.gentoo.org/media-tv/xbmc/xbmc-12.3.ebuild?r1=1.1&r2=1.2