Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VLC 2.0.3 Illegal instruction
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MarkYork
n00b
n00b


Joined: 01 Feb 2011
Posts: 20

PostPosted: Fri Nov 02, 2012 11:29 pm    Post subject: VLC 2.0.3 Illegal instruction Reply with quote

I'm experiencing an "Illegal instruction" error message everytime I try to execute VLC.
I have tried to re-emerge my entire system (emerge -e system ; emerge -e world ; emerge -e system ; emerge -e world) once and that didn't solve my problem.

Here is my system info:


cat /etc/portage/make.conf
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"
USE="mmx sse sse2 ssse3 custom-cflags \
cryptsetup \
gtk policykit consolekit dbus udev gvfs X alsa branding acpi cups \
opengl samba \
gnome gstreamer bluetooth nautilus"

MAKEOPTS="-j4"

INPUT_DEVICES="evdev keyboard mouse synaptics"
VIDEO_CARDS="nvidia"

LINGUAS="en"
ACCEPT_LICENSE="*"




emerge --info
Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9500_@_2.60GHz-with-gentoo-2.1
Timestamp of tree: Fri, 02 Nov 2012 22:00:01 +0000
app-shells/bash: 4.2_p37
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.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.4
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cli consolekit cracklib crypt cryptsetup cups custom-cflags cxx dbus dri fortran gdbm gnome gpm gstreamer gtk gvfs iconv ipv6 mmx modules mudflap multilib nautilus ncurses nls nptl opengl openmp pam pcre policykit pppd readline samba session sse sse2 ssl ssse3 tcpd udev unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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="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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
stepping : 6
microcode : 0x60c
cpu MHz : 2600.000
cache size : 6144 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm ida dtherm tpr_shadow vnmi flexpriority
bogomips : 5187.65
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:



I'm wondering if I'm using the correct CFLAGS for my system.
Can anyone help me out?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Nov 03, 2012 12:27 am    Post subject: Reply with quote

Quote:
custom-cflags - Build with user-specified CFLAGS (unsupported)


I'd be careful with that.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
MarkYork
n00b
n00b


Joined: 01 Feb 2011
Posts: 20

PostPosted: Sat Nov 03, 2012 12:31 am    Post subject: Reply with quote

Jaglover

Do you recommend removing the custom-cflags USE flag and re-emerge my system?
Back to top
View user's profile Send private message
MarkYork
n00b
n00b


Joined: 01 Feb 2011
Posts: 20

PostPosted: Sat Nov 03, 2012 12:40 am    Post subject: Reply with quote

Jaglover

You nailed it!
cutom-cflags was affecting the VLC binary. Removing that USE flag did the trick.

Regards!
Back to top
View user's profile Send private message
revealer
n00b
n00b


Joined: 22 Aug 2006
Posts: 5
Location: Romania

PostPosted: Sat Nov 10, 2012 4:24 pm    Post subject: Reply with quote

I have the same problem, vlc gui fails to start with an illegal instruction. I haven't used the custom-cflags USE flag.

cat /etc/portage/make.conf

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
MAKEOPTS="-j3"
USE="-gnome -kde -minimal -qt4 dbus jpeg lock session policykit consolekit startup-notification thunar udev X mmx sse sse2 vim-syntax"
VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev"
#ACCEPT_KEYWORDS="~amd64"

GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/"

SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
LINGUAS="en_GB ro"


emerge --info

Code:
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-gentoo-2.1
Timestamp of tree: Sat, 10 Nov 2012 12:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
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.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB ro"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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="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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB ro" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


cat /proc/cpuinfo

Code:
processor   : 0
vendor_id   : GenuineIntel
cpu family   : 6
model      : 15
model name   : Intel(R) Core(TM)2 CPU          6420  @ 2.13GHz
stepping   : 6
microcode   : 0xcb
cpu MHz      : 2128.032
cache size   : 4096 KB
physical id   : 0
siblings   : 2
core id      : 0
cpu cores   : 2
apicid      : 0
initial apicid   : 0
fpu      : yes
fpu_exception   : yes
cpuid level   : 10
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dtherm tpr_shadow
bogomips   : 4256.06
clflush size   : 64
cache_alignment   : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


vlc -vv

Code:
VLC media player 2.0.4 Twoflower (revision 2.0.3-289-g6e6100a)
[0x153f138] main libvlc debug: VLC media player - 2.0.4 Twoflower
[0x153f138] main libvlc debug: Copyright �� 1996-2012 VLC authors and VideoLAN
[0x153f138] main libvlc debug: revision 2.0.3-289-g6e6100a
[0x153f138] main libvlc debug: configured with ./configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--disable-dependency-tracking' '--docdir=/usr/share/doc/vlc-2.0.4' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--disable-bonjour' '--enable-avcodec' '--enable-avformat' '--enable-fribidi' '--disable-bluray' '--enable-vcd' '--disable-libcddb' '--enable-dbus' '--enable-dbus-control' '--disable-dirac' '--disable-direct2d' '--disable-directfb' '--disable-directx' '--disable-dc1394' '--disable-debug' '--disable-dshow' '--enable-dca' '--enable-dvbpsi' '--enable-dvdread' '--enable-dvdnav' '--disable-dxva2' '--disable-egl' '--enable-sout' '--disable-fbosd' '--enable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-gnomevfs' '--enable-gnutls' '--disable-growl' '--enable-httpd' '--disable-dv' '--disable-ios-vout' '--disable-jack' '--disable-kate' '--without-kde-solid' '--disable-libass' '--disable-caca' '--enable-notify' '--disable-libproxy' '--disable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--enable-lua' '--disable-macosx-audio' '--disable-macosx-dialog-provider' '--disable-macosx-eyetv' '--disable-macosx-qtkit' '--disable-macosx-quartztext' '--disable-macosx-vout' '--enable-mkv' '--disable-media-library' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-neon' '--enable-ogg' '--enable-mux_ogg' '--disable-omxil' '--enable-glx' '--disable-opus' '--disable-optimize-memory' '--disable-oss' '--enable-png' '--disable-portaudio' '--enable-postproc' '--disable-projectm' '--disable-pulse' '--disable-pvr' '--enable-qt4' '--disable-realrtsp' '--disable-run-as-root' '--disable-smb' '--disable-schroedinger' '--enable-sdl' '--disable-sdl-image' '--disable-shine' '--disable-sid' '--disable-shout' '--disable-skins2' '--disable-speex' '--disable-sqlite' '--enable-sse' '--enable-svg' '--disable-switcher' '--enable-swscale' '--disable-taglib' '--enable-theora' '--enable-freetype' '--disable-twolame' '--enable-udev' '--disable-upnp' '--disable-v4l2' '--disable-libva' '--disable-vcdx' '--enable-vlm' '--enable-vorbis' '--disable-waveout' '--disable-loader' '--disable-wingdi' '--disable-wma-fixed' '--with-x' '--enable-x264' '--enable-xcb' '--enable-libxml2' '--disable-xosd' '--enable-xvideo' '--disable-zvbi' '--enable-telx' '--disable-optimizations' '--without-tuning' '--enable-fast-install' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CXXFLAGS=-march=core2 -O2 -pipe' 'PKG_CONFIG_PATH=/usr/lib64/pkgconfig'
[0x153f138] main libvlc debug: searching plug-in modules
[0x153f138] main libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat
[0x153f138] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins'
[0x153f138] main libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat
[0x153f138] main libvlc debug: plug-ins loaded: 367 modules
[0x153f138] main libvlc debug: opening config file (/home/daniel/.config/vlc/vlcrc)
[0x153f138] main libvlc debug: translation test: code is "C"
[0x153f138] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 FPU
[0x153f138] main libvlc debug: looking for memcpy module: 4 candidates
[0x153f138] main libvlc debug: using memcpy module "memcpymmxext"
[0x1602888] main input debug: Creating an input for 'Media Library'
[0x1602888] main input debug: Input is a meta file: disabling unneeded options
[0x1602888] main input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[0x1602888] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/daniel/.local/share/vlc/ml.xspf'
[0x1602888] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf'
[0x1608148] main demux debug: looking for access_demux module: 2 candidates
[0x1608148] main demux debug: no access_demux module matching "file" could be loaded
[0x1608148] main demux debug: TIMER module_need() : 0.586 ms - Total 0.586 ms / 1 intvls (Avg 0.586 ms)
[0x1602888] main input debug: creating access 'file' location='/home/daniel/.local/share/vlc/ml.xspf', path='/home/daniel/.local/share/vlc/ml.xspf'
[0x160b238] main access debug: looking for access module: 2 candidates
[0x160b238] filesystem access debug: opening file `/home/daniel/.local/share/vlc/ml.xspf'
[0x160b238] main access debug: using access module "filesystem"
[0x160b238] main access debug: TIMER module_need() : 0.355 ms - Total 0.355 ms / 1 intvls (Avg 0.355 ms)
[0x160a368] main stream debug: Using stream method for AStream*
[0x160a368] main stream debug: starting pre-buffering
[0x160a368] main stream debug: received first data after 0 ms
[0x160a368] main stream debug: pre-buffering done 296 bytes in 0s - 5667 KiB/s
[0x16094e8] main stream debug: looking for stream_filter module: 7 candidates
[0x16094e8] main stream debug: no stream_filter module matching "any" could be loaded
[0x16094e8] main stream debug: TIMER module_need() : 2.824 ms - Total 2.824 ms / 1 intvls (Avg 2.824 ms)
[0x16094e8] main stream debug: looking for stream_filter module: 1 candidate
[0x16094e8] main stream debug: using stream_filter module "stream_filter_record"
[0x16094e8] main stream debug: TIMER module_need() : 0.211 ms - Total 0.211 ms / 1 intvls (Avg 0.211 ms)
[0x1602888] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daniel/.local/share/vlc/ml.xspf' file='/home/daniel/.local/share/vlc/ml.xspf'
[0x15eb418] main demux debug: looking for demux module: 1 candidate
[0x15eb418] playlist demux debug: using XSPF playlist reader
[0x15eb418] main demux debug: using demux module "playlist"
[0x15eb418] main demux debug: TIMER module_need() : 0.308 ms - Total 0.308 ms / 1 intvls (Avg 0.308 ms)
[0x15ebca8] main demux meta debug: looking for meta reader module: 1 candidate
[0x15ebca8] lua demux meta debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/meta/reader
[0x15ebca8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader
[0x15ebca8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac
[0x15ebca8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
[0x15ebca8] main demux meta debug: no meta reader module matching "any" could be loaded
[0x15ebca8] main demux meta debug: TIMER module_need() : 1.277 ms - Total 1.277 ms / 1 intvls (Avg 1.277 ms)
[0x1602888] main input debug: `file/xspf-open:///home/daniel/.local/share/vlc/ml.xspf' successfully opened
[0x15f7148] main xml reader debug: looking for xml reader module: 1 candidate
[0x15f7148] main xml reader debug: using xml reader module "xml"
[0x15f7148] main xml reader debug: TIMER module_need() : 0.671 ms - Total 0.671 ms / 1 intvls (Avg 0.671 ms)
[0x15eb418] playlist demux debug: parsed 0 tracks successfully
[0x1602888] main input debug: EOF reached
[0x15eb418] main demux debug: removing module "playlist"
[0x16094e8] main stream debug: removing module "stream_filter_record"
[0x160b238] main access debug: removing module "filesystem"
[0x1602888] main input debug: TIMER input launching for 'Media Library' : 6.603 ms - Total 6.603 ms / 1 intvls (Avg 6.603 ms)
[0x1607ec8] main interface debug: looking for interface module: 1 candidate
[0x1607ec8] main interface debug: using interface module "hotkeys"
[0x1607ec8] main interface debug: TIMER module_need() : 0.233 ms - Total 0.233 ms / 1 intvls (Avg 0.233 ms)
[0x16035b8] main interface debug: looking for interface module: 1 candidate
[0x15534e8] main playlist debug: playlist threads correctly activated
[0x16035b8] main interface debug: using interface module "inhibit"
[0x15534e8] main playlist debug: rebuilding array of current - root Playlist
[0x16035b8] main interface debug: TIMER module_need() : 1.104 ms - Total 1.104 ms / 1 intvls (Avg 1.104 ms)
[0x15534e8] main playlist debug: rebuild done - 0 items, index -1
[0x16094a8] main interface debug: looking for interface module: 1 candidate
[0x16094a8] main interface debug: using interface module "globalhotkeys"
[0x16094a8] main interface debug: TIMER module_need() : 1.092 ms - Total 1.092 ms / 1 intvls (Avg 1.092 ms)
[0x153f138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0x1605e48] main interface debug: looking for interface module: 4 candidates
[0x7fc4a40724f8] main generic debug: looking for extension module: 1 candidate
[0x7fc4a40724f8] lua generic debug: Opening Lua Extension module
[0x7fc4a40724f8] lua generic debug: Trying Lua scripts in /home/daniel/.local/share/vlc/lua/extensions
[0x7fc4a40724f8] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions
[0x7fc4a40724f8] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions
[0x7fc4a40724f8] main generic debug: using extension module "lua"
[0x7fc4a40724f8] main generic debug: TIMER module_need() : 0.432 ms - Total 0.432 ms / 1 intvls (Avg 0.432 ms)
[0x1605e48] main interface debug: using interface module "qt4"
[0x1605e48] main interface debug: TIMER module_need() : 73.138 ms - Total 73.138 ms / 1 intvls (Avg 73.138 ms)
Illegal instruction


VLC is built with the following flags:

media-video/vlc-2.0.4
Code:
USE="X a52 aac alsa avcodec avformat bidi cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gnutls httpd libnotify lua matroska mmx mp3 mpeg ncurses ogg opengl png postproc qt4 sdl sse svg swscale theora truetype udev vlm vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -avahi -bluray -cddb -dc1394 -debug -dirac (-direct2d) -directfb (-directx) (-dshow) -dvb (-dxva2) -egl -fbosd -fluidsynth -fontconfig -gme -gnome -growl -ieee1394 (-ios-vout) -jack -kate -kde -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live (-macosx) (-macosx-audio) (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-macosx-vout) (-media-library) -modplug -mtp -musepack (-neon) -omxil -optimisememory -opus -oss -portaudio -projectm -pulseaudio -pvr -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins -speex -sqlite -switcher -taglib -twolame -upnp -v4l -vaapi -vcdx (-waveout) (-win32codecs) (-wingdi) -wma-fixed -xosd -zvbi
Back to top
View user's profile Send private message
revealer
n00b
n00b


Joined: 22 Aug 2006
Posts: 5
Location: Romania

PostPosted: Thu Nov 22, 2012 4:07 pm    Post subject: Reply with quote

Reading a different thread (https://forums.gentoo.org/viewtopic-t-940582.html) I've solved the problem by re-emerging libICE, libSM and qt-core and then vlc.

Now I just have to figure out what happened.
Back to top
View user's profile Send private message
nihil39
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 97
Location: Italy

PostPosted: Sat Nov 24, 2012 6:12 pm    Post subject: Reply with quote

When I try to compile vlc 2.0.4 I get the following error

Code:
 * ERROR: media-video/vlc-2.0.4 failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure
 *        environment, line 3362:  Called econf '--docdir=/usr/share/doc/vlc-2.0.4' '--enable-a52' '--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec' '--disable-atmo' '--disable-audioqueue' '--enable-bonjour' '--enable-avcodec' '--enable-av
...

*   phase-helpers.sh, line  501:  Called die
 * The specific snippet of code:
 *            die "econf failed"
 *



Output of emerge --info

Code:
emerge --info '=media-video/vlc-2.0.4'
Portage 2.1.11.31 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.6.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.1
Timestamp of tree: Sat, 24 Nov 2012 17:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
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.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       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-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -fpredictive-commoning -fgcse-after-reload -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -pipe -fomit-frame-pointer -march=native -fpredictive-commoning -fgcse-after-reload -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en it"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli composite consolekit cracklib crypt cscope cups cxx dbus dhcpcd djvu dri dts dvd dvdr dvi emboss encode exif fam fastscroll ffmpeg firefox flac fortran g3dvl gdbm gif glibc-omitfp gpm gtk gtk3 hddtemp iconv icu id3tag ipv6 jpeg lame latex lcms libnotify lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg multilib musepack ncurses networkmanager nls nptl ntfsprogs nvidia offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python3 qt3support rar readline savedconfig sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vdpau vim-syntax vorbis wxwidgets x264 xcb xcomposite xetex xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel 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="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 it" PHP_TARGETS="php5-3" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



Any ideas? I compiled vlc 2.0.3 correctly but I got the same "Illegal instruction" error that revealre get but I can do fine with cvlc. In this case vlc 2.0.4 won't even compile, maybe it's because of gcc 4.6.3?

Thanks for any help

edit: solved, I just had to disable the ncurses flag, there was a problem in finding ncursesw even if ncurses was compile with the unicode flag (it's global). By the way I solved the problem with the "illegal instruction" by re-emerging libICE and libSM and then vlc, i didn't mess at all with qt-core.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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