Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175535 - media-video/ffmpeg-0.4.9_p20070330: Linking failure.
Summary: media-video/ffmpeg-0.4.9_p20070330: Linking failure.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 175550 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-22 09:23 UTC by Timo Nentwig
Modified: 2007-05-20 10:25 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 Timo Nentwig 2007-04-22 09:23:41 UTC
Recent update of ffmpeg doesn't compile no more.

CFLAGS="-march=athlon64 -pipe -msse3 -fomit-frame-pointer"

World has been compiled with pic use flag. 

[ebuild     U ] media-video/ffmpeg-0.4.9_p20070330 [0.4.9_p20061016] USE="X%* amr* network*"

ranlib libavcodec.a
amrwb_float/if_rom.o: warning: definition of `dhf' overriding common
amrwb_float/enc_if.o: warning: common is here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: dsputil.o: relocation R_X86_64_PC32 against `pix_abs16_c' can not be used when making a                                           shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libavcodec.so.51] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/media-video/ffmpeg-0.4.9_p20070330/work/ffmpeg/libavcodec'
make: *** [lib] Error 2

!!! ERROR: media-video/ffmpeg-0.4.9_p20070330 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3342:   Called src_compile
  ffmpeg-0.4.9_p20070330.ebuild, line 169:   Called die



Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-04-22 12:00:02 UTC
Timo, emerge --info, thanks!
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2007-04-22 12:05:49 UTC
*** Bug 175550 has been marked as a duplicate of this bug. ***
Comment 3 Timo Nentwig 2007-04-22 12:49:29 UTC
Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5-tcn x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5-tcn x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 19 Apr 2007 16:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -pipe -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac ac acpi alsa amd64 apache2 apm arts berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt curl dbus directfb dri dvb dvd dvdr encode fam ffmpeg firefox fortran gcj gdbm gif glitz glut gpm gtk gtk2 gtkhtml hal iconv ipv6 isdnlog java jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas kerberos lcms libg++ mad mhash midi mikmod mng mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf perl pic png postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl sqlite sse3 ssl tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="intel8x0 emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 4 Timo Nentwig 2007-05-06 12:16:33 UTC
I would suggest not to mark this version stable. 
Comment 5 Timo Nentwig 2007-05-13 10:48:00 UTC
Hello, is anybody hearing me?

My emerge is broken for weeks, this ebuild is *not* stable.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-05-13 15:00:08 UTC
Does it build with USE="-amr" ?
Comment 7 Timo Nentwig 2007-05-13 15:17:11 UTC
nope :-\
Comment 8 Timo Nentwig 2007-05-20 10:25:27 UTC
Hmm, seems to be some gcc 4.1.1 issue. After updating to 4.1.2 it built without problems.