Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93653 - eclipse-sdk 3.0.2 fails: wants to compile libswt-kde-motif-3064.so with -fPLI
Summary: eclipse-sdk 3.0.2 fails: wants to compile libswt-kde-motif-3064.so with -fPLI
Status: RESOLVED DUPLICATE of bug 78720
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-23 01:52 UTC by William Becker
Modified: 2005-05-25 07:23 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 William Becker 2005-05-23 01:52:13 UTC
When compiling Eclipse-sdk 3.0.2 with IBM 1.4.2 or Blackdown 1.4.2.01 I get the
following:
<code>
ld -o libswt-kde-motif-3064.so kde.o -L/usr/lib  -L/usr/qt/3/lib -shared 
-L`kde-config --prefix`/lib -lkdecore -lqt
ld: kde.o: relocation R_X86_64_32S against `a local symbol' can not be used when
making a shared object; recompile with-fPIC
kde.o: could not read symbols: Bad value
make: *** [libswt-kde-motif-3064.so] Error 1

!!! ERROR: dev-util/eclipse-sdk-3.0.2 failed.
!!! Function build-motif-native, Line 391, Exitcode 2
!!! Failed to build KDE support
!!! If you need support, post the topmost build error, NOT this status message.
</code>

I've tried to use -fPLI in CFLAGS, also tried to use pli as a use flag, but to
no avail, even after recompiling kde and qt.

It's on forums at http://forums.gentoo.org/viewtopic-p-2432902.html#2432902
and I have found it also mentioned at
http://www.mail-archive.com/gentoo-amd64@lists.gentoo.org/msg00266.html

Reproducible: Always
Steps to Reproduce:
1. emerge kde, etc.
2. emerge sun-java 1.5, blackdown, ibm
3. emerge -v eclipse-sdk
4. change use tags.
5. re emerge everything
6. emerge eclipse again.
Actual Results:  
<code>
ld -o libswt-kde-motif-3064.so kde.o -L/usr/lib  -L/usr/qt/3/lib -shared 
-L`kde-config --prefix`/lib -lkdecore -lqt
ld: kde.o: relocation R_X86_64_32S against `a local symbol' can not be used when
making a shared object; recompile with-fPIC
kde.o: could not read symbols: Bad value
make: *** [libswt-kde-motif-3064.so] Error 1

!!! ERROR: dev-util/eclipse-sdk-3.0.2 failed.
!!! Function build-motif-native, Line 391, Exitcode 2
!!! Failed to build KDE support
!!! If you need support, post the topmost build error, NOT this status message.
</code>

Expected Results:  
emerged eclipse-sdk. maybe write my assignments for me.

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 16 2005, 22:58:33)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -pipe -ftracer -funit-at-a-time -fforce-addr
-fpeel-loops -funswitch-loops "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -ftracer -funit-at-a-time -fforce-addr
-fpeel-loops -funswitch-loops "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://planetmirror.com/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo ftp://planetmirror.com/pub/gentoo/
ftp://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/pub/gentoo/
ftp://mirror.isp.net.au/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 avi berkdb bitmap-fonts cdr crypt dvd dvdr fam
font-server fortran gif glut gpm gstreamer ipv6 java jp2 jpeg junit kde lzw
lzw-tiff mad motif mp3 ncurses nls nojsch opengl pam perl png python qt readline
sdl ssl tcpdtiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm
xrandr xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-25 07:23:51 UTC

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