Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95170 - crystalspace 0.99_pre20050518 needs -fPIC
Summary: crystalspace 0.99_pre20050518 needs -fPIC
Status: RESOLVED DUPLICATE of bug 84554
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-05 20:02 UTC by Bruno Lustosa
Modified: 2005-06-06 00:50 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 Bruno Lustosa 2005-06-05 20:02:46 UTC
After a long time compiling, it gives this error:

...failed updating 1 target(s)...
...updated 1 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050518 failed.
!!! Function src_compile, Line 52, Exitcode 1

Running the ebuild and trying to compile again to see which is the actual target
(there are tons of lines, and it scrolled out of screen), I get this:

LinkPlugin aws.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
./out/linux/optimize/plugins/aws/object.o: relocation R_X86_64_PC32 against
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::~basic_string()@@GLIBCXX_3.4' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
(...)
...failed LinkPlugin aws.so ...
LinkPlugin glshader_ps1.so
...failed updating 1 target(s)...
...updated 1 target(s)...

!!! ERROR: dev-games/crystalspace-0.99_pre20050518 failed.
!!! Function src_compile, Line 52, Exitcode 1


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




Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com
http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.tds.net/gentoo
ftp://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/
http://gentoo.ccccom.com http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.ccccom.com
http://linuv.uv.es/mirror/gentoo/ http://gentoo.mirror.icd.hu/
ftp://ftp.ndlug.nd.edu/pub/gentoo/
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://gentoo.osuosl.org/ http://ftp.linux.ee/pub/gentoo/distfiles/
ftp://mirrors1.netvisao.pt/gentoo/ ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://gentoo.seren.com/gentoo
ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/
http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://mirror.aiya.ru/pub/gentoo/"
LANG="en_US.UTF-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 3dnowex X aac aalib acpi acpi4linux aim alsa apache2 avi
bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr cjk crypt cups
curl dga dvd eds esd exif fam font-server foomaticdb fortran ftp gd gdbm gif
gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib jabber java
jp2 jpeg libwww lzw lzw-tiff mad maildir mikmod motif mozilla moznocompose
moznoirc moznomail mp3 mpeg msn multilib ncurses nls nvidia offensive ogg
oggvorbis opengl oss pam pam_console perl png postgres ppds readline sasl sdl
ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb userlocales
vorbis xml xml2 xmms xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 00:50:24 UTC

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