Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142867

Summary: USE="mmx" brakes building of media-libs/libmpeg3-1.5.2-r3
Product: Gentoo Linux Reporter: Oleg S. Marin <wWolfovich>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oleg S. Marin 2006-08-05 03:45:32 UTC
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/seek.c -o i686/video/seek.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/slice.c -o i686/video/slice.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/vlc.c -o i686/video/vlc.o
video/output.c: In function `mpeg3video_ditherframe':
video/output.c:741: warning: use of cast expressions as lvalues is deprecated
video/output.c:766: warning: use of cast expressions as lvalues is deprecated
video/output.c:806: warning: use of cast expressions as lvalues is deprecated
video/output.c:831: warning: use of cast expressions as lvalues is deprecated
video/output.c:231: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:274: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:324: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:367: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:231: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:231: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:274: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:274: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:324: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:324: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:367: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
video/output.c:367: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make: *** [i686/video/output.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
make: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...

!!! ERROR: media-libs/libmpeg3-1.5.2-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libmpeg3-1.5.2-r3.ebuild, line 68:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4-ww i686)
=================================================================
System uname: 2.6.17-gentoo-r4-ww i686 AMD Athlon(TM) XP 2700+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=athlon-xp -O3 -pipe -fforce-mem -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -mtune=athlon-xp -O3 -pipe -fforce-mem -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LINGUAS="ru en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X aac acl alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cli crypt cscope cups curl directfb dlloader dri dv dvd dvdread dvdrw eds emboss encode esd fbcon fltk foomaticdb fortran gdbm gif gkt2 gpm gstreamer gtk gtk2 gzip hardened imlib isdnlog ithreads java javascript jpeg libg++ libwww mad md5sum mikmod mmx mmxext mng mozsvg mp3 mpeg ncurses nls nojoystick nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdflib perl png pppd python quicktime rar readline real reflection ruby samba sdl session spell spl sse ssl svg symlink sysfs tcpd theora threads tk toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis win32codecs x264 xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_linuxinput kernel_linux linguas_ru linguas_en userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-05 05:03:35 UTC
Remove -fforce-mem and/or -fforce-addr from your C[XX]FLAGS and try again.


*** This bug has been marked as a duplicate of 130557 ***