Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35246 - When compiling gtkscintilla2 0.0.8, it tells me to compile with -fPIC
Summary: When compiling gtkscintilla2 0.0.8, it tells me to compile with -fPIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-07 03:23 UTC by Andreas Braun
Modified: 2003-12-13 14: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 Andreas Braun 2003-12-07 03:23:42 UTC
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"
Comment 1 foser (RETIRED) gentoo-dev 2003-12-08 03:35:18 UTC
think this is more of an amd64 thing
Comment 2 Chuck Short (RETIRED) gentoo-dev 2003-12-13 14:36:13 UTC
Added -fPIC to cflags, now works on amd64, thanks for the bug report.