Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143607 - dev-cpp/commoncpp2-1.4.1 needs -fPIC
Summary: dev-cpp/commoncpp2-1.4.1 needs -fPIC
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Anders Rune Jensen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 14:44 UTC by Martin Sandsmark
Modified: 2006-10-06 07:36 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 Martin Sandsmark 2006-08-11 14:44:50 UTC
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/crtbeginS.o  .libs/thread.o .libs/mutex.o .libs/semaphore.o .libs/threadkey.o .libs/friends.o .libs/event.o .libs/slog.o .libs/dir.o .libs/file.o .libs/inaddr.o .libs/peer.o .libs/timer.o .libs/socket.o .libs/strchar.o .libs/simplesocket.o .libs/mempager.o .libs/keydata.o .libs/dso.o .libs/exception.o .libs/missing.o .libs/process.o .libs/string.o .libs/in6addr.o .libs/buffer.o .libs/lockfile.o .libs/nat.o .libs/runlist.o .libs/assoc.o .libs/pointer.o .libs/linked.o .libs/map.o  -lrt -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/crtn.o  -march=athlon64 -Wl,-O1 -Wl,--hash-style=both -pthread -Wl,-soname -Wl,libccgnu2-1.4.so.0 -o .libs/libccgnu2-1.4.so.0.0.1
(cd .libs && rm -f libccgnu2-1.4.so.0 && ln -s libccgnu2-1.4.so.0.0.1 libccgnu2-1.4.so.0)
(cd .libs && rm -f libccgnu2.so && ln -s libccgnu2-1.4.so.0.0.1 libccgnu2.so)
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/crtbeginS.o  .libs/numbers.o .libs/zstream.o .libs/socketport.o .libs/url.o .libs/xml.o .libs/persist.o .libs/engine.o .libs/digest.o .libs/cmdoptns.o .libs/date.o .libs/md5.o .libs/unix.o .libs/network.o .libs/serial.o .libs/urlstring.o .libs/tokenizer.o .libs/mime.o  -lrt -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64/crtn.o  -march=athlon64 -Wl,-O1 -Wl,--hash-style=both -pthread -Wl,-soname -Wl,libccext2-1.4.so.0 -o .libs/libccext2-1.4.so.0.0.1
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/xml.o: relocation R_X86_64_PC32 against `std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)@@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.6/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libccext2.la] Error 1
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-ar cru .libs/libccgnu2.a  thread.o mutex.o semaphore.o threadkey.o friends.o event.o slog.o dir.o file.o inaddr.o peer.o timer.o socket.o strchar.o simplesocket.o mempager.o keydata.o dso.o exception.o missing.o process.o string.o in6addr.o buffer.o lockfile.o nat.o runlist.o assoc.o pointer.o linked.o map.o
x86_64-pc-linux-gnu-ranlib .libs/libccgnu2.a
creating libccgnu2.la
(cd .libs && rm -f libccgnu2.la && ln -s ../libccgnu2.la libccgnu2.la)
make[1]: Leaving directory `/var/tmp/portage/commoncpp2-1.4.1/work/commoncpp2-1.4.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: dev-cpp/commoncpp2-1.4.1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  commoncpp2-1.4.1.ebuild, line 26:   Called die
emerge --info:
Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.4.90.20060716-r1, 2.6.17-beyond3-tripleseven x86_64)
=================================================================
System uname: 2.6.17-beyond3-tripleseven x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Last Sync: Fri, 11 Aug 2006 12:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -fno-ident -frename-registers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=athlon64 -fno-ident -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://ftp.rhnet.is/pub/gentoo/ http://mirror.gentoo.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="nb"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/mine /usr/local/overlays/mesa-cvs /usr/local/overlays/initng-portage /usr/portage/local/layman/toolchain_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa arts asf avi bash-completition berkdb bitmap-fonts bzip2 cdparanoia cdr clamav cli crypt cups dlloader dri dv dvd dvdr eds elibc_glibc emboss emul-linux-x86 encode exif ffmpeg foomaticdb fortran ftp gd gif glibc-omitfp glut gphoto2 gpm gtk2 hal hashstyle ieee1394 imlib initng_plugins_alsa initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc4 initng_plugins_pause initng_plugins_pidfile initng_plugins_provide initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kde kdehiddeninvisibility kernel_linux libcaca libvisual linguas_nb lirc lirc_devices_atiusb lzw lzw-tiff mad matroska mmap mng mp3 mpeg msn ncurses nls nptl nptlonly offensive ogg oggvorbis opengl pam pcre pda pdf pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session speex spell spl ssl tcpd theora tiff truetype-fonts type1-fonts usb userland_GNU v4l vcd video_cards_ati video_cards_radeon videos vorbis xcomposite xine xorg xpm xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-10-06 07:36:24 UTC
remove -fvisibility-inlines-hidden from your CXXFLAGS