Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655206 - x11-drivers/xf86-video-intel-2.99.917_p20180214 doesn't build with GCC-8.1
Summary: x11-drivers/xf86-video-intel-2.99.917_p20180214 doesn't build with GCC-8.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-07 19:27 UTC by Xavier Miller (RETIRED)
Modified: 2019-02-23 17:18 UTC (History)
4 users (show)

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


Attachments
build log (build.log,223.57 KB, text/x-log)
2018-05-07 19:27 UTC, Xavier Miller (RETIRED)
Details
build.log lto (x11-drivers:xf86-video-intel-2.99.917_p20180214-r1:20180605-123632.log,151.21 KB, text/x-log)
2018-06-05 09:44 UTC, cryptopsy
Details
nolfto suceeds (x11-drivers:xf86-video-intel-2.99.917_p20180214-r1:20180605-125634.log,442.36 KB, text/x-log)
2018-06-05 10:02 UTC, cryptopsy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2018-05-07 19:27:10 UTC
Created attachment 530376 [details]
build log

libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna -I../.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/render_program -fvisibility=hidden -I/usr/include/xorg -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wno-cast-qual -Wno-redundant-decls -Wno-maybe-uninitialized -O2 -pipe -fomit-frame-pointer -march=atom -mtune=atom
-c /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen5_render.c  -fPIC -DPIC -o .libs/gen5_render.o                                                                  
In file included from /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:34:                                                                               
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c: In function ‘emit_vertex’:                                                                             
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/sna_render_inline.h:40:26: error: inlining failed in call to always_inline ‘vertex_emit_2s’: target specific option mismatch
 static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
                          ^~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:308:25: note: called from here                                                                          
 #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:360:2: note: in expansion of macro ‘OUT_VERTEX’                                                         
  OUT_VERTEX(dstX, dstY);
  ^~~~~~~~~~
make[4]: *** [Makefile:694: gen4_vertex.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/xf86-video-intel-2.99.917_p20180214_build/src/sna'                                                                                         
make[3]: *** [Makefile:709: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/xf86-video-intel-2.99.917_p20180214_build/src/sna'                                                                                         
make[2]: *** [Makefile:622: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/xf86-video-intel-2.99.917_p20180214_build/src'                                                                                             
make[1]: *** [Makefile:486: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/xf86-video-intel-2.99.917_p20180214_build'                                                                                                 
make: *** [Makefile:418: all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/temp/build.log'.                                                                                                                   
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/temp/environment'.                                                                                                            
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/xf86-video-intel-2.99.917_p20180214_build'                                                                                                      
 * S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214/work/75795523003798d789d417e82aaa81c7ea1ed616'

>>> Failed to emerge x11-drivers/xf86-video-intel-2.99.917_p20180214, Log file:
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2018-05-07 19:29:28 UTC
# emerge --info '=x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo'                                                                                                                                            
Portage 2.3.36 (python 3.5.5-final-0, default/linux/x86/17.0/desktop, gcc-8.1.0, glibc-2.26-r7, 4.16.7-gentoo i686)                                                                                                                           
=================================================================                                                                                                                                                                             
                         System Settings                                                                                                                                                                                                      
=================================================================                                                                                                                                                                             
System uname: Linux-4.16.7-gentoo-i686-Intel-R-_Celeron-R-_2957U_@_1.40GHz-with-gentoo-2.4.1                                                                                                                                                  
KiB Mem:     3960444 total,   3260284 free                                                                                                                                                                                                    
KiB Swap:    4094972 total,   3977024 free                                                                                                                                                                                                    
Timestamp of repository gentoo: Mon, 07 May 2018 06:00:01 +0000                                                                                                                                                                               
sh bash 4.4_p19                                                                                                                                                                                                                               
ld GNU gold (Gentoo 2.30 p2 2.30.0) 1.15                                                                                                                                                                                                      
distcc 3.2rc1 i686-pc-linux-gnu [disabled]                                                                                                                                                                                                    
app-shells/bash:          4.4_p19::gentoo                                                                                                                                                                                                     
dev-lang/perl:            5.26.2::gentoo                                                                                                                                                                                                      
dev-lang/python:          2.7.14-r2::gentoo, 3.5.5-r1::gentoo                                                                                                                                                                                 
dev-util/cmake:           3.11.1::gentoo                                                                                                                                                                                                      
dev-util/pkgconfig:       0.29.2::gentoo                                                                                                                                                                                                      
sys-apps/baselayout:      2.4.1-r2::gentoo                                                                                                                                                                                                    
sys-apps/openrc:          0.35.5::gentoo                                                                                                                                                                                                      
sys-apps/sandbox:         2.13::gentoo                                                                                                                                                                                                        
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo                                                                                                                                                                                       
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo                                                                                                                                                                                
sys-devel/binutils:       2.30-r2::gentoo                                                                                                                                                                                                     
sys-devel/gcc:            8.1.0-r2::gentoo                                                                                                                                                                                                    
sys-devel/gcc-config:     1.9.1::gentoo                                                                                                                                                                                                       
sys-devel/libtool:        2.4.6-r5::gentoo                                                                                                                                                                                                    
sys-devel/make:           4.2.1-r3::gentoo                                                                                                                                                                                                    
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)                                                                                                                                                                                
sys-libs/glibc:           2.26-r7::gentoo                                                                                                                                                                                                     
Repositories:                                                                                                                                                                                                                                 
                                                                                                                                                                                                                                              
gentoo                                                                                                                                                                                                                                        
    location: /usr/portage                                                                                                                                                                                                                    
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

local
    location: /data/nas/xavier/portage/n0n4m3/usr/local/portage/overlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=atom -mtune=atom"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                  
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                  
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=atom -mtune=atom"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build=n --buildpkg"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr fr_FR fr_BE nl nl_BE nl_NL"
MAKEOPTS="-j5 -l3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acpi alsa branding bzip2 cairo cli crypt cups cxx dbus dri dts emboss encode exif fam flac gif glamor gpm gtk iconv jpeg lcms libnotify mad mmx mng modules mp3 mp4 mpeg ncurses nls nptl ocr ogg opengl openmp osc pam pango pcre pdf png ppds qt5 readline sane scanner seccomp sndfile snmp spell sqlite sse sse2 ssl ssse3 startup-notification svg symlink tcpd tiff truetype udev unicode usb vorbis wmf wxwidgets x264 x86 xattr xcb xinerama xml xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda-intel usb-audio virmidi" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard
mouse synaptics libinput" KERNEL="linux" L10N="fr nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="arm i386" QEMU_USER_TARGETS="arm i386" RUBY_TARGETS="ruby24" SANE_BACKENDS="hp" 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:  CC, CPPFLAGS, CTARGET, CXX, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS                                                            

=================================================================
                        Package Settings
=================================================================

x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo was built with the following:
USE="dri sna udev -debug -dri3 -tools -uxa -xvmc"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,lazy"
Comment 2 Matt Turner gentoo-dev 2018-05-08 05:27:45 UTC
Have you checked if it's fixed in upstream git? That would be useful information.
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2018-05-08 06:23:26 UTC
(In reply to Matt Turner from comment #2)
> Have you checked if it's fixed in upstream git? That would be useful
> information.

I don't see anything in the latest logs [1]

I only see a irc trace saying it's a bug related to GCC ("smells to GCC 8 bug") [2]

Xavier

----

[1] https://cgit.freedesktop.org/xorg/driver/xf86-video-intel/log/
[2]https://dri.freedesktop.org/~cbrill/dri-log/?channel=intel-gfx&highlight_names=&date=2018-01-20
Comment 4 Matt Turner gentoo-dev 2018-05-08 06:54:35 UTC
You could determine the result directly by attempting to emerge =xf86-video-intel-9999 :)

It's exactly cases like this that I keep git ebuilds in tree.
Comment 5 Xavier Miller (RETIRED) gentoo-dev 2018-05-08 07:14:15 UTC
(In reply to Matt Turner from comment #4)
> You could determine the result directly by attempting to emerge
> =xf86-video-intel-9999 :)
> 
> It's exactly cases like this that I keep git ebuilds in tree.

Sorry ;)

Same error:
-intel-9999/src/sna/gen4_vertex.c  -fPIC -DPIC -o .libs/gen4_vertex.o
In file included from /var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src/sna/gen4_vertex.c:34:
/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src/sna/gen4_vertex.c: In function ‘emit_vertex’:
/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src/sna/sna_render_inline.h:40:26: error: inlining failed in call to always_inline ‘vertex_emit_2s’: target specific option mismatch
 static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
                          ^~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src/sna/gen4_vertex.c:308:25: note: called from here
 #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src/sna/gen4_vertex.c:360:2: note: in expansion of macro ‘OUT_VERTEX’
  OUT_VERTEX(dstX, dstY);
  ^~~~~~~~~~
make[4]: *** [Makefile:694: gen4_vertex.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999_build/src/sna'
make[3]: *** [Makefile:709: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999_build/src/sna'
make[2]: *** [Makefile:622: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999_build/src'
make[1]: *** [Makefile:486: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999_build'
make: *** [Makefile:418: all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-9999::gentoo failed (compile phase):
 *   emake failed
Comment 6 lekto 2018-05-08 18:35:27 UTC
I don't have any problems with xf86-video-intel, build fine and works fine.

[ebuild   R    ] x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo  USE="dri dri3 sna udev -debug -tools -uxa -xvmc" 0 KiB
Comment 7 Jory A. Pratt gentoo-dev 2018-05-20 23:41:17 UTC
(In reply to lekto from comment #6)
> I don't have any problems with xf86-video-intel, build fine and works fine.
> 
> [ebuild   R    ] x11-drivers/xf86-video-intel-2.99.917_p20180214::gentoo 
> USE="dri dri3 sna udev -debug -tools -uxa -xvmc" 0 KiB

same here using 8.1.0-r3 from musl overlay
Comment 8 cryptopsy 2018-06-05 09:44:44 UTC
Created attachment 534886 [details]
build.log lto

Fails with lto, builds with nolto
Comment 9 cryptopsy 2018-06-05 10:02:08 UTC
Created attachment 534888 [details]
nolfto suceeds
Comment 10 Xavier Miller (RETIRED) gentoo-dev 2018-06-11 10:17:32 UTC
I can build it by disabling sna (and enabling uxa)
Comment 11 Pacho Ramos gentoo-dev 2018-06-27 08:55:14 UTC
Maybe this Fedora patch could help on this:
https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-build-on-F28-and-later.patch
Comment 12 Xavier Miller (RETIRED) gentoo-dev 2018-06-27 09:05:24 UTC
(In reply to Pacho Ramos from comment #11)
> Maybe this Fedora patch could help on this:
> https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-
> build-on-F28-and-later.patch

Hi,

This patch doesn't help:

libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna -I../.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Wimplicit -Wnonnull -Winit-self -Wmain -Wmissing-braces -Wsequence-point -Wreturn-type -Wtrigraphs -Warray-bounds -Wwrite-strings -Waddress -Wint-to-pointer-cast -Wpointer-to-int-cast -fno-strict-aliasing -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/render_program -fvisibility=hidden -I/usr/include/xorg -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wno-cast-qual -Wno-redundant-decls -Wno-maybe-uninitialized -O2 -pipe -fomit-frame-pointer -march=atom -mtune=atom -c /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c  -fPIC -DPIC -o .libs/gen4_vertex.o
In file included from /var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:34:
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c: In function ‘emit_vertex’:
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/sna_render_inline.h:40:26: error: inlining failed in call to always_inline ‘vertex_emit_2s’: target specific option mismatch
 static force_inline void vertex_emit_2s(struct sna *sna, int16_t x, int16_t y)
                          ^~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:308:25: note: called from here
 #define OUT_VERTEX(x,y) vertex_emit_2s(sna, x,y) /* XXX assert(!too_large(x, y)); */
                         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/75795523003798d789d417e82aaa81c7ea1ed616/src/sna/gen4_vertex.c:360:2: note: in expansion of macro ‘OUT_VERTEX’
  OUT_VERTEX(dstX, dstY);
  ^~~~~~~~~~
make[4]: *** [Makefile:694: gen4_vertex.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/xf86-video-intel-2.99.917_p20180214_build/src/sna'
make[3]: *** [Makefile:709: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/xf86-video-intel-2.99.917_p20180214_build/src/sna'
make[2]: *** [Makefile:622: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/xf86-video-intel-2.99.917_p20180214_build/src'
make[1]: *** [Makefile:486: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-drivers/xf86-video-intel-2.99.917_p20180214-r1/work/xf86-video-intel-2.99.917_p20180214_build'
make: *** [Makefile:418: all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.99.917_p20180214-r1::gentoo failed (compile phase):
 *   emake failed
Comment 13 Pacho Ramos gentoo-dev 2018-07-10 14:09:15 UTC
Maybe you are hitting this problem with i686 systems
https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-build-on-i686.patch
Comment 14 Xavier Miller (RETIRED) gentoo-dev 2018-07-16 08:14:28 UTC
(In reply to Pacho Ramos from comment #13)
> Maybe you are hitting this problem with i686 systems
> https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-
> build-on-i686.patch

Hi!

This patch fixes my problem!

Thank you for finding it!
Comment 15 Conrad Kostecki gentoo-dev 2018-10-29 21:46:34 UTC
(In reply to Pacho Ramos from comment #13)
> Maybe you are hitting this problem with i686 systems
> https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-
> build-on-i686.patch

Thx! Fixed build on my x86_64 system.
Comment 16 Matt Turner gentoo-dev 2019-02-21 06:11:46 UTC
(In reply to Pacho Ramos from comment #13)
> Maybe you are hitting this problem with i686 systems
> https://src.fedoraproject.org/rpms/xorg-x11-drv-intel/raw/master/f/0001-Fix-
> build-on-i686.patch

I've mailed this patch upstream.
Comment 17 Larry the Git Cow gentoo-dev 2019-02-22 01:54:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f5cedfaeeef0bbbea83c6497876b9fb0bf33c7

commit d8f5cedfaeeef0bbbea83c6497876b9fb0bf33c7
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-02-22 00:28:13 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-02-22 01:54:17 +0000

    x11-drivers/xf86-video-intel: Fix build on x86
    
    Closes: https://bugs.gentoo.org/655206
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...ntel-2.99.917_p20180214-Fix-build-on-i686.patch | 47 +++++++++++
 .../xf86-video-intel-2.99.917_p20180214-r2.ebuild  | 96 ++++++++++++++++++++++
 2 files changed, 143 insertions(+)