Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462024 - x11-drivers/xf86-video-intel-2.21.4 fails to compile
Summary: x11-drivers/xf86-video-intel-2.21.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 12:36 UTC by Flavio
Modified: 2013-03-17 13:37 UTC (History)
1 user (show)

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


Attachments
buildlog (x11-drivers:xf86-video-intel-2.21.4:20130317-114830.log,321.44 KB, text/plain)
2013-03-17 12:36 UTC, Flavio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flavio 2013-03-17 12:36:46 UTC
Created attachment 342368 [details]
buildlog

Hello, 

I'm trying to compile the package x11-drivers/xf86-video-intel-2.21.4 but it always fails.

sna/sna_render_inline.h:38 (set (reg:HI 27 xmm6 [ D.32546 ])
        (reg:HI 2 cx)) 53 {*movhi_1} (nil))
/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4/src/sna/gen4_vertex.c:1574:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
make[4]: *** [gen4_vertex.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4_build/src/sna'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4_build/src/sna'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4_build'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.21.4 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-intel-2.21.4'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-intel-2.21.4'`.
 * The complete build log is located at '/var/log/portage/x11-drivers:xf86-video-intel-2.21.4:20130317-114830.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4_build'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.4/work/xf86-video-intel-2.21.4


See attachment for the complete build log.

emerge --info '=x11-drivers/xf86-video-intel-2.21.4':
Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.6.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.1
KiB Mem:     8092668 total,   4870972 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Sat, 16 Mar 2013 13:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
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.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo local-repo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -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 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="pbzip2"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr dvdread emboss encode exif extensions fam fat fbcon fbsplash ffmpeg firefox flac fortran gdbm gif gimp gimpprint gpm gtk iconv icu ipv6 ithreads jfs john jpeg kde lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mpeg2 mpeg4 mplayer mudflap multilib ncurses nfs nls nptl nptlonly nsplugin ntfs ntlm nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 rar readline samba sdl semantic-desktop sensord session spell sse sse2 ssl startup-notification stream svg tcpd tetex threads tiff toolbar truetype udev udisks unicode upower usb utempter vorbis wifi wxwidgets x264 xcb xchatdccserver xml xprint xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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 mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge -pqv '=x11-drivers/xf86-video-intel-2.21.4':
[ebuild     U ] x11-drivers/xf86-video-intel-2.21.4 [2.20.16] USE="dri sna udev -glamor -uxa -xvmc"
Comment 1 Agostino Sarubbo gentoo-dev 2013-03-17 13:05:13 UTC
This is fine here.
Comment 2 Flavio 2013-03-17 13:17:51 UTC
I've found a workaround for now. Add the following row in /etc/portage/package.use:
x11-drivers/xf86-video-intel -sna -glamor uxa

The problem seems to be due to the sna USE flag then, because it did compile.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-03-17 13:31:23 UTC
/src/sna/gen4_vertex.c:1574:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

internal compiler error could be a problem with your toolchain, but certainly not xf86-video-intel is at fault. If the issue always happens at the same file, please try a different gcc version and/or rebuilding your gcc.
Comment 4 Flavio 2013-03-17 13:37:40 UTC
Thanks a lot.

Switched to x86_64-pc-linux-gnu-4.6.3 and it compiles fine now.