Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75247 - xine-lib-1_rc8 fails on amd64 with fPIC errors
Summary: xine-lib-1_rc8 fails on amd64 with fPIC errors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 15:33 UTC by Herbie Hopkins (RETIRED)
Modified: 2004-12-23 13: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 Herbie Hopkins (RETIRED) gentoo-dev 2004-12-21 15:33:54 UTC
media-libs/xine-lib-1_rc8 fails to compile with:

*** Warning: Linking the shared library xineplug_vo_out_xv.la against the
*** static library /usr/X11R6/lib/libXv.a is not portable!
libtool-nofpic: link: warning: `/usr/lib64/libfreetype.la' seems to be moved
x86_64-pc-linux-gnu-gcc -shared  .libs/x11osd.o .libs/deinterlace.o .libs/alphablend.o .libs/video_out_xv.o  -Wl,--rpath -Wl,/home/portage/tmp/portage/xine-lib-1_rc8/work/xine-lib-1-rc8/src/xine-engine/.libs -Wl,--rpath -Wl,/usr/lib -L/usr/lib64 /usr/X11R6/lib/libXv.a -L/usr/X11R6/lib64 -lXinerama -lXext ../../src/xine-engine/.libs/libxine.so  -march=athlon64 -Wl,-soname -Wl,xineplug_vo_out_xv.so -o .libs/xineplug_vo_out_xv.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib/libXv.a(Xv.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib/libXv.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [xineplug_vo_out_xv.la] Error 1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




$emerge -pv xine-lib
[ebuild     U ] media-libs/xine-lib-1_rc8 [1_rc7] +X +aalib +alsa (-altivec)
-arts +avi -debug -directfb +dvd -esd +gnome +ipv6 +nls +oggvorbis +sdl +speex
+theora 0 kB

$emerge info
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Sep 13 2004, 13:06:22)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/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=athlon64 -O2 -pipe -fweb -ftracer"
DISTDIR="/mnt/nfs/home/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 S3TC X aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl
dga dvd dvdr eds encode escreen etwin evo f77 faad fam fbcon flac flash fortran
gd gdbm gif gimpprint gnome gphoto2 gpm gtk gtk2 gtkhtml hal imagemagick imap
imlib ipv6 java javascript jp2 jpeg ldap libwww lzw lzw-tiff mad maildir mikmod
motif mozaccess-builtin mozilla mozirc mozxmlterm multilib mysql ncurses nls
nptl nvidia offensive oggvorbis opengl oss pam perl plotutils png python
readline samba sdl slang speex ssl tcpd tetex theora tiff truetype usb
userlocales xface xinerama xml xml2 xmms xpm xrandr xv xvid zlib"
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2004-12-22 04:25:25 UTC
sorry, i can't reproduce this, not even with your use flags. could you try to recompile with CFLAGS="-march=athlon64 -pipe -O2
Comment 2 Herbie Hopkins (RETIRED) gentoo-dev 2004-12-22 04:36:32 UTC
same error with CFLAGS="-march=athlon64 -pipe -O2"
Comment 3 Herbie Hopkins (RETIRED) gentoo-dev 2004-12-23 03:17:31 UTC
hmm.. after updating a few other packages this error magically disapeared. Never did work our exactly what was causing it and now cannot reproduce it either. Sorry about that, closing this bug.