Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449018 - media-tv/xbmc-12.0_rc2 - Utils/AEUtil.h:50:12: error: ‘__m128i’ does not name a type
Summary: media-tv/xbmc-12.0_rc2 - Utils/AEUtil.h:50:12: error: ‘__m128i’ does not name...
Status: RESOLVED INVALID
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: 2012-12-28 10:56 UTC by Robin Marlow
Modified: 2012-12-28 23:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,68.46 KB, text/plain)
2012-12-28 10:58 UTC, Robin Marlow
Details
enviroment (environment,213.30 KB, text/plain)
2012-12-28 10:59 UTC, Robin Marlow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Marlow 2012-12-28 10:56:39 UTC
xbmc 12 (and 9999) fails to compile with error at:     

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

Have tried slimming down useflags (even removing alsa) & recompiling ffmpeg.
Compiles without complaint on my laptop(x86_64-Intel-R-_Core-TM-2_Duo) with same version of ffmpeg & GCC 4.6.3.

emerge -pqv '=media-tv/xbmc-12.0_rc2'
media-tv/xbmc-12.0_rc2 [11.0-r1] USE="alsa avahi mysql pvr rsxs samba sse sse2 udev xrandr -airplay (-altivec) -bluetooth -bluray -cec* -css* -debug -goom -java% -joystick -midi -nfs% -profile -projectm* -pulseaudio -rtmp* -sftp% -upnp% -vaapi -vdpau* -webserver*"

Reproducible: Always

Steps to Reproduce:
1. compile xbmc-12.0_rc2 (or xbmc-9999)
2.
3.
Actual Results:  
fails

Expected Results:  
success

emerge --info '=media-tv/xbmc-12.0_rc2'
Portage 2.2.0_alpha149 (default/linux/x86/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.6.1-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.6.1-gentoo-i686-AMD_Athlon-tm-_II_X4_605e_Processor-with-gentoo-2.1
Timestamp of tree: Fri, 28 Dec 2012 02:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise MythTV-0-26-fixes soehest squeezebox local_portage mythtv
Installed sets: @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/mt-mythtv /var/lib/layman/soehest /var/lib/layman/squeezebox /usr/local/portage /usr/local/mythtv_portage/Gentoo"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa apache2 avahi berkdb branding bzip2 cairo cdda cdr cec cli consolekit cracklib crypt cxx dba dbus dri dts dvb dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran gd gdbm gif gpm gtk iconv innodb jpeg lcms ldap libnotify lirc mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg mudflap mysql mythtv ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt qt3support qt4 readline sdl session sse sse2 ssl startup-notification svg tcpd threads tiff transcode truetype udev udisks unicode upower usb vdpau vorbis win32codecs wxwidgets x264 x86 xcb xml xml2 xv xvid xvmc zeroconf zlib" ALSA_CARDS="snd-intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias cgi log_forensic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB uk" LIRC_DEVICES="userspace" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Robin Marlow 2012-12-28 10:58:40 UTC
Created attachment 333570 [details]
build.log
Comment 2 Robin Marlow 2012-12-28 10:59:07 UTC
Created attachment 333572 [details]
enviroment
Comment 3 Ben Kohler gentoo-dev 2012-12-28 23:25:58 UTC
I cannot reproduce this here (even with comparable CFLAGS & USE in a chroot), but this seems to be sse2 related.  I notice you have -march=athlon-xp in CFLAGS, which only enables up to SSE (v1), but you have sse2 in USE.

Can you try enabling -msse2 in CFLAGS or disable sse2 in USE, and see if either of those helps?
Comment 4 Robin Marlow 2012-12-28 23:52:16 UTC
Thank you Ben,  you are a genius.

I had tried removing SSE & SSE2 flags but it hadn't helped.

But as you suggested I changed my march to what it should be (amdfam10) & it compiled fine.  I wonder if if should now recompile everything else!

How can I buy you a beer?

Robin