Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252613 - media-video/ffmpeg-0.4.9_p20081014 puts TEXTRELS in shared libs
Summary: media-video/ffmpeg-0.4.9_p20081014 puts TEXTRELS in shared libs
Status: RESOLVED DUPLICATE of bug 179872
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-26 16:08 UTC by Arthur Hagen
Modified: 2009-01-03 12:58 UTC (History)
1 user (show)

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 Arthur Hagen 2008-12-26 16:08:40 UTC
Regression:  DSOs in ffmpeg-0.4.9_p20081014 builds non-PIC:

TEXTREL usr/lib/libavfilter.so.0.1.0
TEXTREL usr/lib/libpostproc.so.51.2.0
TEXTREL usr/lib/libswscale.so.0.6.1
TEXTREL usr/lib/libavdevice.so.52.1.0
TEXTREL usr/lib/libavformat.so.52.22.1
TEXTREL usr/lib/libavcodec.so.52.0.0
TEXTREL usr/lib/libavutil.so.49.11.0

This is a problem both for hardened and prelink.  And even more of a problem because the older ffmpeg that did build PIC has just been removed from portage, making rolling back non-trivial.

In addition to fixing this, can the older stable ffmpeg without this problem please be put back in portage until a fix has gone stable?
Comment 1 Arthur Hagen 2008-12-26 16:24:06 UTC
emerge --info:

Portage 2.1.4.5 (default/linux/x86/2008.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.
6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 mobile AMD Athlon(tm) XP2400+
Timestamp of tree: Thu, 25 Dec 2008 21:00:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-4 -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-4 -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="ccache distcc distlocks fixpackages keeptemp metadata-transfer noinfo
sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/ h
ttp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en_US en nb_NO nb no"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=" "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://tree.broomstick.com/gentoo-portage"
USE="3dnow X Xaw3d aac acl acpi alsa audiofile berkdb cairo caps cdr cli crackli
b crypt cups dbus dri dvd dvdread eds emboss encode esd evo exif fam flac gd gdb
m gif gimp gmp gnome gpm gstreamer gtk gtk2 hal iconv idn ipv6 isdnlog jpeg lcms
 libnotify logrotate lzo mad matroska mbox midi mikmod mmap mmx motif mp3 mpeg m
udflap ncurses nfs nis nls nntp nptl nptlonly offensive ogg opengl openmp pam pc
h pcre pdf perl pic png posix ppds pppd python qt3support qt4 quicktime readline
 reflection sdl seamonkey session sndfile spell spl sse ssl startup-notification
 svg sysfs tcpd threads tiff timidity tk truetype unicode usb vorbis win32codecs
 x86 xattr xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451" ALSA
_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks i
ec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate rou
te share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias auth
n_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfil
e authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate
dir disk_cache env expires ext_filter file_cache filter headers include info log
_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling sta
tus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboa
rd mouse synaptics" KERNEL="linux" LINGUAS="en_GB en_US en nb_NO nb no" USERLAND
="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXT
RA_OPTS, PORTDIR_OVERLAY
Comment 2 Arthur Hagen 2008-12-26 16:27:15 UTC
(I would have included the scanelf-textrel.log, but portage proceeded to delete the /var/tmp/portage/[package-name] directory even with FEATURES=keeptemp set.  Must be an unrelated portage bug.)
Comment 3 SpanKY gentoo-dev 2008-12-29 21:57:48 UTC
amd64 has TEXTRELs in usr/lib64/libavcodec.so.52.7.0 as well ...
Comment 4 Alexis Ballier gentoo-dev 2009-01-03 12:58:46 UTC

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