This is the full error message: /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: gtkscintilla.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC gtkscintilla.o: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libgtkscintilla2.so.0.0.8] Error 1 Reproducible: Always Steps to Reproduce: 1. When compiling gtkscintilla2, it always give this error message Expected Results: Compile and install gtkscintilla2 0.0.8 Portage 2.0.49-r18 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-gentoo-r1) ================================================================= System uname: 2.6.0-test11-gentoo-r1 x86_64 4 Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-pipe -O2 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-pipe -O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X alsa amd64 avi cdr dga esd foomaticdb gdbm gif gnome gtk gtk2 imlib jpeg libg++ libwww mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python readline sdl slang spell sse ssl tcltk tcpd truetype xml2 xmms xv zlib"
think this is more of an amd64 thing
Added -fPIC to cflags, now works on amd64, thanks for the bug report.