Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159516 - media-video/vlc-0.8.6 cannot be build with -O0
Summary: media-video/vlc-0.8.6 cannot be build with -O0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-30 15:28 UTC by k0wax
Modified: 2007-02-08 18:46 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description k0wax 2006-12-30 15:28:18 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__VLC__ -D__BUILTIN__ -DMODULE_NAME=i420_yuy2_mmx -DMODULE_NAME_IS_i420_yuy2_mmx -fomit-frame-pointer -Wsign-compare -Wall -O0 -pipe -pipe -MT libi420_yuy2_mmx_builtin_la-i420_yuy2.lo -MD -MP -MF .deps/libi420_yuy2_mmx_builtin_la-i420_yuy2.Tpo -c i420_yuy2.c  -fPIC -DPIC -o .libs/libi420_yuy2_mmx_builtin_la-i420_yuy2.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYS_LINUX -I../include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -DDATA_PATH=\"/usr/share/vlc\" -DPLUGIN_PATH=\"/usr/lib/vlc\" -O3 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -D__VLC__ -I../src/misc -Wsign-compare -Wall -O0 -pipe -pipe -MT playlist/libvlc_la-view.lo -MD -MP -MF playlist/.deps/libvlc_la-view.Tpo -c playlist/view.c  -fPIC -DPIC -o playlist/.libs/libvlc_la-view.o
i420_yuy2.c: In function 'I420_YUY2':
i420_yuy2.c:275: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[5]: *** [libi420_yuy2_mmx_builtin_la-i420_yuy2.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6/work/vlc-0.8.6/modules/video_chroma'
make[4]: *** [stamp-builtins] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6/work/vlc-0.8.6/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6/work/vlc-0.8.6/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6/work/vlc-0.8.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-0.8.6/work/vlc-0.8.6'
make: *** [all] Error 2


Portage 2.1.2_pre3-r7 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.12.0_pre14
Last Sync: Sat, 23 Dec 2006 01:47:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.2.3-r6, 2.3.5, 2.4.3-r1, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O0  -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O0  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.public.fix.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ http://                                                             trumpetti.atm.tut.fi/gentoo/ http://ftp.du.se/pub/os/gentoo"
LANG="ru_RU.koi8r"
LC_ALL="C"
LINGUAS="en ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --                                                             stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_car                                                             ds_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_c                                                             ards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_tride                                                             nt alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_a                                                             law alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_                                                             plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_io                                                             plug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa                                                             _pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_sh                                                             are alsa_pcm_plugins_shm alsa_pcm_plugins_softvol audiofile berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dga dlloader                                                              doc dri dvd dvdr eds elibc_glibc emboss encode examples expat fam firefox gif glut gstreamer gtk gtkhtml hal iconv input_device                                                             s_keyboard input_devices_mouse isdnlog jack jpeg kernel_linux libg++ linguas_en linguas_ru lua mikmod mmx mmxext mp3 mpeg ncurs                                                             es nls nptl nptlonly ntpl numeric nvidia ogg opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sd                                                             l session spell spl sse ssl stream tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv vid                                                             eo_cards_s3virge video_cards_vesa vorbis win32codecs x264 xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 15:35:41 UTC
Well, it won't work... Stick -fomit-frame-pointer into your C[XX]FLAGS and/or use >=-O1
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-30 15:45:47 UTC
Also wondering what's this hardcoded junk doing there: 
-O3 -ffast-math -funroll-loops -mtune=pentium2
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2007-01-09 01:50:10 UTC
@video: is there anything that can be done here? (other than diving into asm) Perhaps this should be reported upstream.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-08 18:46:51 UTC
-O0 is now replaced with -O1.  And flag-o-matic.eclass is inherited now.