Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135951 - media-video/ffmpeg fails with --as-needed
Summary: media-video/ffmpeg fails with --as-needed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 11:14 UTC by Ernestas Liubarskij
Modified: 2006-06-07 11:20 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 Ernestas Liubarskij 2006-06-07 11:14:33 UTC
i686-pc-linux-gnu-gcc -shared -Wl,-soname,libpostproc.so.51 -Wl,--warn-common -rdynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavcodec -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavformat -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavutil -o libpostproc.so postprocess_pic.o -lm -lmp3lame -logg -lvorbis -lvorbisenc -lfaad -lfaac -lz -llzo -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavcodec/libpostproc'
i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavcodec -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavformat -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavutil -g -o ffmpeg_g ffmpeg.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lm -lmp3lame -logg -lvorbis -lvorbisenc -lfaad -lfaac -lz -llzo -ldl
i686-pc-linux-gnu-gcc -Wl,--warn-common -rdynamic -Wl,--as-needed -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavcodec -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavformat -Wl,-rpath-link,/var/tmp/portage/ffmpeg-0.4.9_p20060302/work/ffmpeg-0.4.9-p20060302-shared/libavutil -g -o ffplay_g ffplay.o cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -L./libavutil -lavutil -lm -lmp3lame -logg -lvorbis -lvorbisenc -lfaad -lfaac -lz -llzo -ldl -lSDL -lpthread
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libavutil.so.49, needed by ./libavformat/libavformat.so, not found (try using -rpath or -rpath-link)
./libavcodec/libavcodec.so: undefined reference to `ff_sqrt_tab'
./libavformat/libavformat.so: undefined reference to `av_rescale_q'
./libavformat/libavformat.so: undefined reference to `av_dbl2int'
./libavcodec/libavcodec.so: undefined reference to `av_d2q'
./libavformat/libavformat.so: undefined reference to `av_int2dbl'
./libavcodec/libavcodec.so: undefined reference to `av_div_q'
./libavformat/libavformat.so: undefined reference to `av_dbl2ext'
./libavformat/libavformat.so: undefined reference to `av_ext2dbl'
./libavcodec/libavcodec.so: undefined reference to `ff_log2_tab'
./libavformat/libavformat.so: undefined reference to `av_rescale_rnd'
./libavformat/libavformat.so: undefined reference to `av_rescale'
./libavformat/libavformat.so: undefined reference to `av_reduce'
./libavformat/libavformat.so: undefined reference to `ff_gcd'
./libavformat/libavformat.so: undefined reference to `av_int2flt'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-video/ffmpeg-0.4.9_p20060302 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ffmpeg-0.4.9_p20060302.ebuild, line 196:   Called die

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

freedom ~ # emerge --info
Portage 2.1_rc4-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.93
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.dtiltas.lt/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="lt_LT.utf8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="lt"
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 X a52 aac aalib acpi alsa apache2 avi beagle berkdb bitmap-fonts bzip2 cairo caps cdr chroot cli crypt cups dbus dlloader dri dvd eds emboss encode exif fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif glx gnome gnutls gpm gstreamer gtk gtk2 hal imlib isdnlog java jpeg libg++ libwww lm_sensors logrotate mad mikmod mmx mmxext mono motif mp3 mpeg music nautilus ncurses new-login nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection reiserfs sdl session spell spl sqlite sse sse2 ssl symlink tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_lt userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-07 11:20:21 UTC
Sorry, binutils bugs.

http://farragut.flameeyes.is-a-geek.org/articles/2006/06/04/summing-up-the-binutils-trouble