Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143864 - emerge ffmpeg fails with gcc-4.1 (gcc4)
Summary: emerge ffmpeg fails with gcc-4.1 (gcc4)
Status: RESOLVED DUPLICATE of bug 142380
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-14 02:32 UTC by Mark Dominik Bürkle
Modified: 2006-08-14 02:35 UTC (History)
0 users

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 Mark Dominik Bürkle 2006-08-14 02:32:56 UTC
ffmpeg () fails to build since last week, MAKEOPTS=-j1 made no difference.

The previous error message (with the newer libx264 from last week) was different:

i686-pc-linux-gnu-gcc -Wall -Wno-switch -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -fomit-frame-pointer -ffast-math -pipe -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE    -c -o x264.o x264.c
x264.c: In function 'X264_init':
x264.c:151: error: 'struct <anonymous>' has no member named 'b_cbr'
make[1]: *** [x264.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-static/libavcodec'


I eix-sync'ed once more today and a downgrade of libx264 was included:
[ebuild     UD] media-libs/x264-svn-20060612 [20060810] USE="-debug -mp4 -threads" 0 kB
but that did not make a big difference (still doesn't build, just a different reason: "%ebx clobbered in asm" vs. "'struct <anonymous>' has no member named 'b_cbr'")) as both errors have to be fixed upstream, don't they?


i686-pc-linux-gnu-gcc -Wall -Wno-switch -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -fomit-frame-pointer -ffast-math -pipe -fomit-frame-pointer -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-shared/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE   -fPIC -DPIC -c -o i386/snowdsp_mmx.o i386/snowdsp_mmx.c
i386/snowdsp_mmx.c: In function 'ff_snow_vertical_compose97i_sse2':
i386/snowdsp_mmx.c:461: error: PIC register '%ebx' clobbered in 'asm'
i386/snowdsp_mmx.c: In function 'ff_snow_vertical_compose97i_mmx':
i386/snowdsp_mmx.c:568: error: PIC register '%ebx' clobbered in 'asm'
make[1]: *** [i386/snowdsp_mmx.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060530/work/ffmpeg-0.4.9-p20060530-shared/libavcodec'


pcnocmdb2 ~ # emerge --info
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 14 Aug 2006 07:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -fomit-frame-pointer -ffast-math -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/rcscripts /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LINGUAS="de en fr"
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.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts cli crypt cups curl dlloader dri dvd eds elibc_glibc emboss encode esd foomaticdb gdbm gif gpm gstreamer gtk gtk2 imap imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse input_devices_void ipv6 isdnlog jpeg kde kernel_linux ldap libg++ libwww linguas_de linguas_en linguas_fr lirc_devices_com1 mad mikmod mmap mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis openal opengl openssh pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_dummy video_cards_fbdev video_cards_mga video_cards_nv video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vmware vorbis xinerama xml xml2 xmlrpc xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark Dominik Bürkle 2006-08-14 02:33:33 UTC
The text leading to this exception was: ;-)

pcnocmdb2 ~ # eix-sync
 * Running emerge --sync ...
q: Updating ebuild cache ...
q: Finished 24425 entries in 0.741061 seconds                                                                                                                                                                                                                                                                                                                                                                                  [ ok ]
 * Running update-eix ...                                                                                                                                                                                                                                                                                                                                                                                                      [ ok ]
Diffing databases (11252 - 11259 packages)
[N] == app-dicts/aspell-da (1.6.0): Danish language dictionary for aspell
[N] == app-misc/linuxspa (0.7.1): Linux Serial Protocol Analyser
[N] == app-misc/scope (0.04): Serial Line Analyser
[U] == app-text/recode (3.6-r2): Convert files between various character sets
[U] == dev-java/blackdown-jdk (1.4.2.03-r2): Blackdown Java Development Kit
[N] == dev-util/git (1.4.1.1): GIT - the stupid content tracker
[N] == games-arcade/pengupop (2.1.4): Networked multiplayer-only Puzzle Bubble clone
[N] == games-simulation/singularity (0.25): A simulation of a true AI. Go from computer to computer, pursued by the entire world. Keep hidden, and you might have a chance.
[N] == mail-client/squirrelmail (1.4.8): Webmail for nuts!
[N] == mail-client/sylpheed (2.2.6): A lightweight email client and newsreader
[N] == media-video/vcdimager (0.7.23): GNU VCDimager
[U] == net-misc/dhcpcd (2.0.5-r1): A DHCP client only
    << net-wireless/gtkskan (none): GTK+-based ESSID scanner
[N] == sci-electronics/gplcver (2.11a): Verilog simulator
[U] == sys-apps/acl (2.2.34): Access control list utilities, libraries and headers
[U] == sys-apps/attr (2.4.28-r1): Extended attributes tools
[U] == sys-apps/baselayout (1.12.4-r3): Filesystem baselayout and init scripts
[N] == sys-apps/dmapi (2.2.3): XFS data management API library
[N] == sys-devel/dev86 (0.16.17-r3): Bruce's C compiler - Simple C compiler to generate 8086 code
[N] == sys-fs/xfsdump (2.2.33-r1): xfs dump/restore utilities
[N] == x11-apps/xwd (1.0.1): X.Org xwd application
[N] == x11-apps/xwud (1.0.1): X.Org xwud application
[N] == x11-themes/gentoo-artwork (0.4.2): A collection of miscellaneous Gentoo Linux logos and artwork
[N] >> app-emacs/cperl-mode (none): A more advanced mode for programming Perl than the default mode.
[N] >> app-i18n/libtomoe-gtk (none): Tomoe GTK+ interface widget library
[N] >> app-i18n/scim-tomoe (none): Japanese input method Tomoe IMEngine for SCIM
[N] >> app-i18n/tomoe (none): Japanese handwriting recognition engine
[N] >> app-portage/udept (none): A Portage analysis toolkit
[N] >> games-sports/xmoto (0.2.0): A challenging 2D motocross platform game
[N] >> media-plugins/vdr-loadepg (none): VDR : Loadepg Plugin; Canal+ group (Mediahighway)
[N] >> sys-apps/inputd (none): inputd is a user-space daemon to emulate key presses trough other key combinations
pcnocmdb2 ~ # emerge -av1uND media-video/ffmpeg

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild     UD] media-libs/x264-svn-20060612 [20060810] USE="-debug -mp4 -threads" 0 kB
[ebuild     U ] sys-apps/portage-2.1.1_pre5 [2.1.1_pre4-r4] USE="-build -doc" LINGUAS="-pl" 286 kB
*** Portage will stop merging at this point and reload itself,
    then resume the merge.
[ebuild     U ] sys-apps/baselayout-1.12.4-r3 [1.12.4-r2] USE="unicode -bootstrap -build -static" 0 kB
[ebuild  NS   ] sys-kernel/suspend2-sources-2.6.17-r4  USE="symlink -build" 222 kB
[ebuild     U ] media-video/ffmpeg-0.4.9_p20060530 [0.4.9_p20060302] USE="dts encode imlib mmx ogg sdl theora truetype vorbis x264 zlib -a52 -aac -amr -debug -doc -ieee1394 -network -oss -test -threads -v4l -xvid" 0 kB

Total size of downloads: 509 kB

Would you like to merge these packages? [Yes/No]
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-08-14 02:35:44 UTC

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