Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52023 - transcode-0.6.12-r1 fails on amd64 with gcc-3.4
Summary: transcode-0.6.12-r1 fails on amd64 with gcc-3.4
Status: RESOLVED FIXED
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: 48528
  Show dependency tree
 
Reported: 2004-05-25 09:48 UTC by Herbie Hopkins (RETIRED)
Modified: 2004-05-31 20:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild (transcode-0.6.12-r1.ebuild,3.42 KB, text/plain)
2004-05-25 09:50 UTC, Herbie Hopkins (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Herbie Hopkins (RETIRED) gentoo-dev 2004-05-25 09:48:45 UTC
emerge transcode fails with:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/libac3/libac3_tc.a(parse.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/libac3/libac3_tc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [import_vdrac3.la] Error 1
make[3]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/libac3/libac3_tc.a(parse.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/libac3/libac3_tc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [import_vdrac3.la] Error 1
make[3]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12'
make: *** [all] Error 2[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/tmp/portage/transcode-0.6.12-r1/work/transcode-0.6.12'
make: *** [all] Error 2

my fix is to compile a couple of the shared librarys with -fPIC

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




Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r1,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.15
distcc 2.14 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /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 -fomit-frame-pointer -fweb -ftracer"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="S3TC X aalib acpi alsa amd64 apm avi berkdb cdr crypt cups dga directfb dvd
dvdr encode esd evo faad fam fbcon flac flash foomaticdb gd gdbm gif gimpprint
gnome gphoto2 gpm gtk gtk2 imap imlib java javascript jpeg ldap libg++ libwww
mad maildir mbox mikmod motif mozaccess-builtin mozilla mozirc mozxmlterm mpeg
ncurses nls nogcj nptl nvidia oggvorbis opengl oss pam pdflib perl plotutils png
python quicktime readline samba sdl slang spell ssl tcpd tetex tiff truetype usb
xface xinerama xml2 xmms xv xvid zlib"
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2004-05-25 09:50:58 UTC
Created attachment 32014 [details]
proposed ebuild

this ebuild compiles libac3 and libvo with -fPIC (on amd64) and everything else
without
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-05-25 13:44:29 UTC
Ok, fixed now. There was some "filter-flags -fPIC" added somedays ago. It won't apply on amd64 anymore... Works again.