Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26220 - libcap lacks use of -fPIC
Summary: libcap lacks use of -fPIC
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 10:37 UTC by Nico Baggus
Modified: 2003-08-12 01:12 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 Nico Baggus 2003-08-08 10:37:45 UTC
libcap fails to build. 
After fixing bitops.h errors ('inlines' that should have been '__inline__') 
the building of the some library failes with:  
 
ld -soname libcap.so.1 -x -shared -o libcap.so.1.10 cap_alloc.o cap_proc.o 
cap_extint.o cap_flag.o cap_text.o cap_sys.o 
ld: cap_text.o: gp-relative relocation against dynamic symbol _cap_names 
ld: cap_text.o: gp-relative relocation against dynamic symbol _cap_names 
ld: cap_text.o: gp-relative relocation against dynamic symbol _cap_names 
ld: cap_text.o: gp-relative relocation against dynamic symbol _cap_names 
 
The solution will be a configure/makefile that has -fPIC on its 
gcc command line.
Comment 1 Nico Baggus 2003-08-08 10:46:20 UTC
This might give problems on other 64bit platforms too... 
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-11 02:33:44 UTC
Hopefully fixed in CVS now.
Could you please see bug #26231 and comment on the __inline__ stuff some more.
Comment 3 Nico Baggus 2003-08-11 15:28:25 UTC
I have no CVS setup, so that would be quite a hassle, Do you have an ebuild  
for me to try? 
 
 
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-11 17:29:02 UTC
I commit it to CVS and 30 minutes to an hour later it's on the rsync trees by the miracle of portage.
Comment 5 Nico Baggus 2003-08-12 01:08:09 UTC
Solved! 
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-12 01:12:20 UTC
closing as per response from user.