Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91668 - emerge pilot-link fails, should recompile with -fPIC
Summary: emerge pilot-link fails, should recompile with -fPIC
Status: RESOLVED DUPLICATE of bug 87774
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 02:29 UTC by Roalt Dot Com
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Roalt Dot Com 2005-05-06 02:29:27 UTC
On a fresh new install of Gentoo 2005.0 on a AMD64 platform, emerging pilot-link (required for gnome) fails with following message:

make[3]: Entering directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java'
/opt/blackdown-jdk-1.4.2.01/bin/javac -d . ./org/gnu/pilotlink/AddressRecord.java               ./org/gnu/pilotlink/AppInfo.java           ./org/gnu/pilotlink/DatebookRecord.java         ./org/gnu/pilotlink/MemoRecord.java             ./org/gnu/pilotlink/PilotLink.java         ./org/gnu/pilotlink/RawAppInfo.java             ./org/gnu/pilotlink/RawRecord.java        ./org/gnu/pilotlink/Record.java                  ./org/gnu/pilotlink/SysInfo.java                ./org/gnu/pilotlink/User.java                      ./test.java
x86_64-pc-linux-gnu-g++ -I../../include                         -I ../../include                -I ../../include          -I /opt/blackdown-jdk-1.4.2.01/include                   -I /opt/blackdown-jdk-1.4.2.01/include/linux  -L ../../libpisock/.libs -lpisock -shared -o libjpisock.so ./libjpisock.c
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/pilot-link-0.11.8/temp/cc556jfA.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/pilot-link-0.11.8/temp/cc556jfA.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [java_lib] Error 1
make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java'


Reproducible: Always
Steps to Reproduce:
1.Install gentoo 2005.0 on AMD64 system
2.Include 'pda' in USE flags
3.emerge gnome or emerge pilot-link

Actual Results:  
emerge fails and gnome cannot be installed. I have a PDA so pilot-link is required.
Comment 1 Roalt Dot Com 2005-05-06 10:42:43 UTC
"USE='-java' emerge pilot-link" seems to solve this problems. According to the forum it's a known bug, but I could not find it in the buglist:

http://forums.gentoo.org/viewtopic-t-315044-highlight-pilotlink.html?sid=2b92b3a8f0658a2be8c6fc62af851f42

Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-05-08 13:42:34 UTC

*** This bug has been marked as a duplicate of 87774 ***
Comment 3 whereami 2005-05-19 02:59:22 UTC
this is not a dup of bug #87774, but does probably belong upstream.