| Summary: | crystalspace-0.99_pre20050518 failed emerge on amd64 because of broken PIC handling | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Darian Stargazer <dos> |
| Component: | [OLD] Games | Assignee: | Philip Walls (RETIRED) <malverian> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | 2005.1 | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
LinkPlugin ie3ds.so /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/lib3ds.a(file.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/lib3ds.a: could not read symbols: Bad value collect2: ld returned 1 exit status g++ -o ie3ds.so ./out/linuxamd64/optimize/plugins/mesh/impexp/3ds/ie3ds.o -lm -ldl -lnsl -L/usr/local/lib -shared ./out/linuxamd64/optimize/libs/libcrystalspace.a -lpthread -lz -l3ds -lm -lm -ldl -lnsl -L/usr/local/lib \ -Wl,-soname,ie3ds.so ...failed LinkPlugin ie3ds.so ... *************************** ...failed updating 1 target(s)... ...updated 1150 target(s)... Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 x86_64) ================================================================= System uname: 2.6.13-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O3 -ffast-math" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O3 -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.scphost.com/pub/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X a52 acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr clearcase cpudetection crypt cups curl dv dvb dvd dvdr dvdread dxr3 eds emboss encode fam ffmpeg foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 haskell howl imlib ipv6 jpeg jpeg2k kde kdeenablefinal kerberos krb4 libwww lm_sensors logrotate lzw lzw-tiff mad mapeditor mikmod mmap mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis on-the-fly-crypt opengl oss pam parse-clocks pascal pdflib perl php png python qmail qt quicktime readline samba sdl sensord spell sql ssl subversion syslog tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml xml2 xmms xpm xscreensaver xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY SLOVED BY: Re-emerging lib3ds and then try compiling CS again; Checking to see that lib3ds is being compiled with -fPIC. Ebuild did not checek to see if lib3ds was emerged with -fPIC option, resulting in emerge flaw in in CrystalSpace.