Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC does not compile because of incompatible processor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
fbroering
n00b
n00b


Joined: 01 Jun 2018
Posts: 4

PostPosted: Fri Jun 01, 2018 9:57 pm    Post subject: VLC does not compile because of incompatible processor Reply with quote

I am using funtoo, I am trying to emerge kde-plasma, but I have been problems with incompatible processor when it is compiling vlc.

The error text:


Code:


[...]

if test "x86_64-pc-linux-gnu" = "x86_64-pc-linux-gnu"; then \
   ./vlc-cache-gen ../modules ; \
else \
   echo "Cross-compilation: cache generation skipped!" ; \
fi
Incompatible processor. This Qt build requires the following features:
    aes
Aborted. Incompatible processor: missing feature 0x2000000 - aes.
/bin/sh: line 4: 21696 Aborted                 ./vlc-cache-gen ../modules
Makefile:1526: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 134
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.6-r2/work/vlc-2.2.6/bin'
Makefile:2265: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.6-r2/work/vlc-2.2.6'
Makefile:2150: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: media-video/vlc-2.2.6-r2::media-kit failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.2.6-r2::media-kit'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.2.6-r2::media-kit'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.2.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.2.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.2.6-r2/work/vlc-2.2.6'
 * S: '/var/tmp/portage/media-video/vlc-2.2.6-r2/work/vlc-2.2.6'


emerge --info:

Code:
Portage 2.3.24 (python 2.7.14-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.4.0, glibc-2.23-r8, 4.9.88-1+deb9u1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.88-1+deb9u1-x86_64-Intel-R-_Core-TM-_i5_CPU_M_480_@_2.67GHz-with-gentoo-2.2.2
KiB Mem:     7970456 total,   5471396 free
KiB Swap:    8388604 total,   8388604 free
sh bash 4.4_p18
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p18::core-kit
dev-lang/perl:            5.24.0-r3::perl-kit
dev-lang/python:          2.7.14-r2::python-kit, 3.4.6-r1::python-kit
dev-util/cmake:           3.8.0::core-kit
sys-apps/baselayout:      2.2.2::core-kit
sys-apps/openrc:          0.35.0_beta1-r1::core-kit
sys-apps/sandbox:         2.10-r4::core-kit
sys-devel/autoconf:       2.13::core-kit, 2.69-r2::core-kit
sys-devel/automake:       1.13.4-r2::core-kit, 1.15.1-r2::core-kit
sys-devel/binutils:       2.29.1-r1::core-kit
sys-devel/gcc:            5.4.0-r1::core-kit
sys-devel/gcc-config:     1.8-r1::core-kit
sys-devel/libtool:        2.4.6-r4::core-kit
sys-devel/make:           4.1-r1::core-kit
sys-kernel/linux-headers: 4.9::core-kit (virtual/os-headers)
sys-libs/glibc:           2.23-r8::core-kit
Repositories:

nokit
    location: /var/git/meta-repo/kits/nokit
    masters: core-kit
    priority: -500

core-hw-kit
    location: /var/git/meta-repo/kits/core-hw-kit
    masters: core-kit
    priority: 1

core-kit
    location: /var/git/meta-repo/kits/core-kit
    masters: core-kit
    priority: 1
    aliases: gentoo

desktop-kit
    location: /var/git/meta-repo/kits/desktop-kit
    masters: core-kit
    priority: 1

dev-kit
    location: /var/git/meta-repo/kits/dev-kit
    masters: core-kit
    priority: 1

editors-kit
    location: /var/git/meta-repo/kits/editors-kit
    masters: core-kit
    priority: 1

games-kit
    location: /var/git/meta-repo/kits/games-kit
    masters: core-kit
    priority: 1

gnome-kit
    location: /var/git/meta-repo/kits/gnome-kit
    masters: core-kit
    priority: 1

haskell-kit
    location: /var/git/meta-repo/kits/haskell-kit
    masters: core-kit
    priority: 1

java-kit
    location: /var/git/meta-repo/kits/java-kit
    masters: core-kit
    priority: 1

kde-kit
    location: /var/git/meta-repo/kits/kde-kit
    masters: core-kit
    priority: 1

lang-kit
    location: /var/git/meta-repo/kits/lang-kit
    masters: core-kit
    priority: 1

lisp-scheme-kit
    location: /var/git/meta-repo/kits/lisp-scheme-kit
    masters: core-kit
    priority: 1

llvm-kit
    location: /var/git/meta-repo/kits/llvm-kit
    masters: core-kit
    priority: 1

media-kit
    location: /var/git/meta-repo/kits/media-kit
    masters: core-kit
    priority: 1

ml-lang-kit
    location: /var/git/meta-repo/kits/ml-lang-kit
    masters: core-kit
    priority: 1

net-kit
    location: /var/git/meta-repo/kits/net-kit
    masters: core-kit
    priority: 1

perl-kit
    location: /var/git/meta-repo/kits/perl-kit
    masters: core-kit
    priority: 1

php-kit
    location: /var/git/meta-repo/kits/php-kit
    masters: core-kit
    priority: 1

python-kit
    location: /var/git/meta-repo/kits/python-kit
    masters: core-kit
    priority: 1

python-modules-kit
    location: /var/git/meta-repo/kits/python-modules-kit
    masters: core-kit
    priority: 1

ruby-kit
    location: /var/git/meta-repo/kits/ruby-kit
    masters: core-kit
    priority: 1

science-kit
    location: /var/git/meta-repo/kits/science-kit
    masters: core-kit
    priority: 1

security-kit
    location: /var/git/meta-repo/kits/security-kit
    masters: core-kit
    priority: 1

text-kit
    location: /var/git/meta-repo/kits/text-kit
    masters: core-kit
    priority: 1

xfce-kit
    location: /var/git/meta-repo/kits/xfce-kit
    masters: core-kit
    priority: 1

xorg-kit
    location: /var/git/meta-repo/kits/xorg-kit
    masters: core-kit
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
FEATURES="assume-digests binpkg-logs 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 xattr"
FFLAGS="-march=westmere -O2 -pipe"
GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="pt_BR"
MAKEOPTS="-j5"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 apng berkdb binary bluray bzip2 cdda cddb cdio cdr consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gdbm gif gpm ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k kde kipi lame libass libguess libmpeg2 mad matroska mjpeg mmx mmxext modules mp3 mpeg mtp mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf phonon plasma png popcnt postproc pppd python qml qt5 quicktime readline resolvconf semantic-desktop sndfile sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg taglib tcpd theora tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp widgets win32codecs wmf x264 x265 xattr xcomposite xinerama xml xscreensaver xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pt_BR" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" 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, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


emerge -pqv:
Code:
[ebuild  N    ] media-video/vlc-2.2.6-r2  USE="X a52 alsa avcodec avformat bluray cdda cddb dbus dts dvbpsi dvd encode faad ffmpeg flac gcrypt ieee1394 jpeg kde libass libsamplerate matroska mp3 mpeg mtp ncurses ogg opengl png postproc qt5 svg swscale taglib theora truetype twolame udev v4l vorbis vpx x264 x265 xcb xml -aalib (-altivec) -atmo (-audioqueue) -bidi -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -fdk -fluidsynth -fontconfig -gme -gnome -gnutls -growl -gstreamer -httpd -jack -kate (-libav) -libcaca -libnotify -libtar -libtiger -linsys -lirc -live -lua (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) -modplug -musepack (-neon) -omxil -opencv -optimisememory -opus -projectm -pulseaudio -qt4 (-rdp) -rtsp -run-as-root -samba -schroedinger -sdl -sdl-image -sftp -shout -sid -skins -speex {-test} -tremor -upnp -vaapi -vcdx -vdpau -vlm -vnc -wma-fixed -xv -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse"
Back to top
View user's profile Send private message
fbroering
n00b
n00b


Joined: 01 Jun 2018
Posts: 4

PostPosted: Fri Jun 01, 2018 10:44 pm    Post subject: Reply with quote

cpuid2cpuflags output:
Code:

CPU_FLAGS_X86: mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3


My make.conf:
Code:

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
USE="binary -rdoc -aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
MAKEOPTS="-j5"
VIDEO_CARDS="intel"
LINGUAS="pt_BR"
#RUBY_TARGETS="ruby24"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Jun 02, 2018 6:43 am    Post subject: Reply with quote

You can post output of command
Code:
gcc -march=native -E -v - </dev/null 2>&1 | grep cc1

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Sat Jun 02, 2018 8:44 am    Post subject: Reply with quote

Your cpu is too old to support AES.

https://ark.intel.com/products/52952/Intel-Core-i5-480M-Processor-3M-Cache-2_66-GHz
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Jun 02, 2018 11:05 am    Post subject: Reply with quote

bunder wrote:
Your cpu is too old to support AES.

https://ark.intel.com/products/52952/Intel-Core-i5-480M-Processor-3M-Cache-2_66-GHz

Yes probably is -march=native that has wrong flags
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fbroering
n00b
n00b


Joined: 01 Jun 2018
Posts: 4

PostPosted: Sat Jun 02, 2018 11:33 am    Post subject: Reply with quote

The output of the command:

Code:
 /usr/libexec/gcc/x86_64-pc-linux-gnu/5.4.0/cc1 -E -quiet -v - -march=westmere -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-clwb -mno-pcommit -mno-mwaitx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=westmere
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Jun 02, 2018 11:52 am    Post subject: Reply with quote

-march=native work properly, you can post full build.log with wgetpaste?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fbroering
n00b
n00b


Joined: 01 Jun 2018
Posts: 4

PostPosted: Sat Jun 02, 2018 4:33 pm    Post subject: Reply with quote

This is the full build.log:

https://bpaste.net/show/3444ab7a0659

Sorry i don't know how to remove that special characters
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat Jun 02, 2018 11:44 pm    Post subject: Reply with quote

known issue, disable cache-gen, it has always do bad, see : https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63861c0d8e631387566113508b80cfc93930ca43
(or use a patched vlc version, see the link for which versions are using it)
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Sat Jun 02, 2018 11:53 pm    Post subject: Reply with quote

Apparently Funtoo does not have those versions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum