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

Bug 86741

Summary: media-libs/libmpeg3-1.5.2-r1 fails to compile
Product: Gentoo Linux Reporter: André Terpstra <andre>
Component: Current packagesAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED FIXED    
Severity: normal CC: epyon9283, iyosifov, jrmalaq, lukenshiro, mauriziopucci, media-video, zeev.tarantov
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description André Terpstra 2005-03-26 00:28:20 UTC
When updating my system, media-libs/libmpeg3-1.5.2-r1 fails

Reproducible: Always
Steps to Reproduce:
1.emerge --update --verbose --deep world
2.
3.

Actual Results:  
Calculating world dependencies ...done! 
>>> emerge (1 of 5) media-libs/libmpeg3-1.5.2-r1 to / 
>>> md5 src_uri ;-) libmpeg3-1.5.2-src.tar.bz2 
>>> Unpacking source... 
>>> Unpacking libmpeg3-1.5.2-src.tar.bz2 
to /var/tmp/portage/libmpeg3-1.5.2-r1/work 
 * Applying 1.5.2-gentoo-p1.patch ...                                     
[ ok ] 
 * Applying 1.5.2-gentoo-mpeg3split.patch ...                             
[ ok ] 
 * Applying 1.5.2-pthread.patch ...                                       
[ ok ] 
 * Applying 1.5.2-largefile.patch ...                                     
[ ok ] 
 * Applying 1.5.2-proper-c.patch ...                                      
[ ok ] 
 * Applying 1.5.2-no-nasm.patch ...                                       
[ ok ] 
 * Applying 1.5.2-gentoo-multilib.patch ...                               
[ ok ] 
 * Applying 1.5.2-gcc3.4.patch ...                                        
[ ok ] 
>>> Source unpacked. 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/ac3.c -o i686/audio/ac3.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/dct.c -o i686/audio/dct.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/huffman.c -o 
i686/audio/huffman.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/layer2.c -o 
i686/audio/layer2.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/layer3.c -o 
i686/audio/layer3.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/mpeg3audio.c -o 
i686/audio/mpeg3audio.o 
audio/mpeg3audio.c: In function `seek': 
audio/mpeg3audio.c:535: warning: integer constant is too large for "long" type 
audio/mpeg3audio.c:537: warning: integer constant is too large for "long" type 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/pcm.c -o i686/audio/pcm.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/synthesizers.c -o 
i686/audio/synthesizers.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/tables.c -o 
i686/audio/tables.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  bitstream.c -o i686/bitstream.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  libmpeg3.c -o i686/libmpeg3.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3atrack.c -o 
i686/mpeg3atrack.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3css.c -o i686/mpeg3css.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3demux.c -o i686/mpeg3demux.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3ifo.c -o i686/mpeg3ifo.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3io.c -o i686/mpeg3io.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3title.c -o i686/mpeg3title.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3vtrack.c -o 
i686/mpeg3vtrack.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/getpicture.c -o 
i686/video/getpicture.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/headers.c -o 
i686/video/headers.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/idct.c -o i686/video/idct.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/macroblocks.c -o 
i686/video/macroblocks.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/mmxtest.c -o 
i686/video/mmxtest.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/motion.c -o 
i686/video/motion.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/mpeg3video.c -o 
i686/video/mpeg3video.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/output.c -o 
i686/video/output.o 
video/output.c:210: warning: integer constant is too large for "long" type 
video/output.c:212: warning: integer constant is too large for "long" type 
video/output.c:214: warning: integer constant is too large for "long" type 
video/output.c:301: warning: integer constant is too large for "long" type 
video/output.c:303: warning: integer constant is too large for "long" type 
video/output.c: In function `mpeg3video_ditherframe': 
video/output.c:722: warning: use of cast expressions as lvalues is deprecated 
video/output.c:747: warning: use of cast expressions as lvalues is deprecated 
video/output.c:787: warning: use of cast expressions as lvalues is deprecated 
video/output.c:812: warning: use of cast expressions as lvalues is deprecated 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/reconstruct.c -o 
i686/video/reconstruct.o 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/seek.c -o i686/video/seek.o 
video/seek.c: In function `mpeg3video_seek': 
video/seek.c:266: warning: integer constant is too large for "long" type 
video/seek.c:268: warning: integer constant is too large for "long" type 
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/slice.c -o 
i686/video/slice.o 
video/slice.c: In function `mpeg3_decode_slice': 
video/slice.c:211: error: can't find a register in class `BREG' while reloading 
`asm' 
make: *** [i686/video/slice.o] Error 1 
 
!!! ERROR: media-libs/libmpeg3-1.5.2-r1 failed. 
!!! Function src_compile, Line 57, Exitcode 2 
!!! Failed libmpeg3.so 
!!! If you need support, post the topmost build error, NOT this status message. 
 

Expected Results:  
Compile successfully. 

ZeusGentooExp ~ # emerge info 
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, 
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 21:33:21)] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.9.5, 1.5, 1.6.3, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe 
-fstack-protector" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe 
-fstack-protector" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="ftp://GentooMirror/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://GentooMirror/gentoo-portage" 
USE="x86 S3TC X X509 aalib acpi acpi4linux alsa apache2 apm arts 
artswrappersuid audiofile avi berkdb bitmap-fonts bootsplash bsh cdparanoia cgi 
cjk crypt cups curl dga directfb doc dvd dvdr emacs emboss encode esd fam fbcon 
flac font-server foomaticdb foreign-package foreign-sysvinit fortran freetype 
fs gdbm gif gnokii gphoto2 gpm gtk2 imagemagick imap imlib innodb ipv6 java 
javascript joystick jpeg jpeg2k kde kdeenablefinal kerberos krb4 lcd libg++ 
libwww lm_sensors mad md5sum memlimit mikmod mmx motif mozilla mp3 mpeg msn 
ncurses nls no-old-linux noreiserfs nptl nptlonly nvidia oav odbc offensive 
oggvorbis ooo-kde opengl openssh pam pcap pda pdf pdflib perl png pnp povray 
ppds python qt quicktime readline real samba scanner sdl skey slp sms snmp 
speedo speex spell sse ssl svg svga symlink tcpd theora tiff transcode truetype 
truetype-fonts trusted type1 type1-fonts ucs2 unicode usb wifi wmf wxwindows 
xine xml2 xmms xprint xscreensaver xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Ivan Yosifov 2005-03-26 03:06:26 UTC
Same here.
Comment 2 Guy 2005-03-26 04:49:24 UTC
Same here. emerge info included for comparative purposes if needed.

.oOo.

Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-rc4 i686)
=================================================================
System uname: 2.6.11-rc4 i686 AMD Athlon(tm) XP 2500+
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 08:11:25)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d aalib accessibility alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb divx4linux doc dvd dvdr emboss encode esd ethereal fam fbcon flac font-server foomaticdb fortran freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagic imagemagick imlib innodb ipv6 jabber java jikes jpeg junit kde lcms ldap lesstiff libg++ libwww mad maildir mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses nls odbc offensive oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb winf wxwindows xeo xinerama xml xml2 xmms xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 3 Leo Laursen 2005-03-26 06:14:00 UTC
Same error, also pentium4
Commenting out  #append-flags -fPIC (line 56) allows it to emerge.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 24 2005, 00:20:28)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=prescott -mtune=prescott -O3 -fomit-frame-pointer -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="gentoo.osuosl.org  http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="da_DK.UTF-8"
LC_ALL="da_DK.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi alsa apache2 artworkextra avi bash-completion berkdb c++ cdr crypt cscope cups curl directfb divx4linux doc dvd dvdr emboss encode esd fbcon flac foomaticdb fortran gcj gdbm ggi gif gimpprint glitz gmail gnome gnutls gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib imlib2 ipv6 ithreads java javascript jce jpeg kerberos lcms libg++ libwww lua mad mikmod mime mmx mmxext mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg ncurses nls no_wxgtk1 nptl nptlonly nvidia objc ogg oggvorbis opengl oss pam pcre pdflib perl pic pie png ppds python quicktime readline real rtc ruby sdk sdl silc skey smartcard speex spell sse sse2 ssl svg svgz tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts ucs2 unicode usb userlocales uudeview vidix vim-pager vim-with-x wmf xine xml xml2 xmms xprint xv xvmc zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET
Comment 4 Marek Kwasceki 2005-03-26 06:26:07 UTC
simmilar but not the same :|


video/output.c: In function `mpeg3video_rgb16_mmx':
video/output.c:53: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make: *** [i686/video/output.o] B&#322;&#261;d 1

---------
# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11.5 i686)
=================================================================
System uname: 2.6.11.5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:56:46)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/mnt/cdrom1"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 acpi alsa avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl directfb divx4linux dvd emboss encode esd f77 fam fbcon flac font-server foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib jpeg kdeenablefinal libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nvidia oggvorbis opengl pam pdflib perl png python qt quicktime readline sasl sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 5 Robert R. Richter 2005-03-26 06:50:35 UTC
Same here.

 * Applying 1.5.2-largefile.patch ...                                     [ ok ]
 * Applying 1.5.2-proper-c.patch ...                                      [ ok ]
 * Applying 1.5.2-no-nasm.patch ...                                       [ ok ]
 * Applying 1.5.2-gentoo-multilib.patch ...                               [ ok ]
 * Applying 1.5.2-gcc3.4.patch ...                                        [ ok ]
>>> Source unpacked.
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/ac3.c -o i686/audio/ac3.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/dct.c -o i686/audio/dct.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/huffman.c -o i686/audio/huffman.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/layer2.c -o i686/audio/layer2.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/layer3.c -o i686/audio/layer3.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/mpeg3audio.c -o i686/audio/mpeg3audio.o
audio/mpeg3audio.c: In function `seek':
audio/mpeg3audio.c:535: warning: integer constant is too large for "long" type
audio/mpeg3audio.c:537: warning: integer constant is too large for "long" type
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/pcm.c -o i686/audio/pcm.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/synthesizers.c -o i686/audio/synthesizers.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  audio/tables.c -o i686/audio/tables.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  bitstream.c -o i686/bitstream.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  libmpeg3.c -o i686/libmpeg3.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3atrack.c -o i686/mpeg3atrack.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3css.c -o i686/mpeg3css.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3demux.c -o i686/mpeg3demux.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3ifo.c -o i686/mpeg3ifo.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3io.c -o i686/mpeg3io.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3title.c -o i686/mpeg3title.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  mpeg3vtrack.c -o i686/mpeg3vtrack.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/getpicture.c -o i686/video/getpicture.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/headers.c -o i686/video/headers.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/idct.c -o i686/video/idct.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/macroblocks.c -o i686/video/macroblocks.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/mmxtest.c -o i686/video/mmxtest.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/motion.c -o i686/video/motion.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/mpeg3video.c -o i686/video/mpeg3video.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/output.c -o i686/video/output.o
video/output.c:210: warning: integer constant is too large for "long" type
video/output.c:212: warning: integer constant is too large for "long" type
video/output.c:214: warning: integer constant is too large for "long" type
video/output.c:301: warning: integer constant is too large for "long" type
video/output.c:303: warning: integer constant is too large for "long" type
video/output.c: In function `mpeg3video_ditherframe':
video/output.c:722: warning: use of cast expressions as lvalues is deprecated
video/output.c:747: warning: use of cast expressions as lvalues is deprecated
video/output.c:787: warning: use of cast expressions as lvalues is deprecated
video/output.c:812: warning: use of cast expressions as lvalues is deprecated
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/reconstruct.c -o i686/video/reconstruct.o
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/seek.c -o i686/video/seek.o
video/seek.c: In function `mpeg3video_seek':
video/seek.c:266: warning: integer constant is too large for "long" type
video/seek.c:268: warning: integer constant is too large for "long" type
i686-pc-linux-gnu-gcc -c `cat i686/c_flags`  video/slice.c -o i686/video/slice.o
video/slice.c: In function `mpeg3_decode_slice':
video/slice.c:211: error: can't find a register in class `BREG' while reloading `asm'
make: *** [i686/video/slice.o] Error 1

!!! ERROR: media-libs/libmpeg3-1.5.2-r1 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! Failed libmpeg3.so
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 18:33:16)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.5, 1.4_p6, 1.8.5-r3, 1.6.3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdread emboss encode esd fam flac font-server foomaticdb fortran freetds gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang speex spell sqlite sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 6 Andre Kloth 2005-03-26 09:44:15 UTC
Leo Laursen wrote:

> Commenting out  #append-flags -fPIC (line 56) allows it to emerge.

This solves the compile error for me.
Comment 7 Ivan Yosifov 2005-03-26 09:52:31 UTC
>>> This solves the compile error for me.

It also makes prelinking impossible.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-26 14:01:05 UTC
The problem is bad assembly which I personally don't care to fix.  For now, x86 will have a no-pie shared lib unless someone wants to fix the assembly.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-26 15:52:24 UTC
*** Bug 86808 has been marked as a duplicate of this bug. ***
Comment 10 André Terpstra 2005-03-29 05:43:04 UTC
Jeremy:

Sorry, but I'm lost here. I don't understand a single word from your comment #8. From other comments I infer that editing the ebuild will solve the problem. Does this mean that this bug is also fixed?
Comment 11 André Terpstra 2005-03-29 08:36:29 UTC
How strange. Suddenly it works. Maybe because of the new kernel headers (sys-kernel/linux-headers-2.6.8.1-r4)?
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-29 10:13:27 UTC
Andre, no I "fixed" the problem by disabling PIC in the x86 dynamic lib.
Comment 13 André Terpstra 2005-03-29 10:48:31 UTC
Allright. Are there important consequences?