Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96140

Summary: Prelink guide lacks complete information
Product: [OLD] Docs-user Reporter: Travers Buda <traversbuda>
Component: Prelink HOWTOAssignee: Docs Team <docs-team>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Travers Buda 2005-06-14 19:25:23 UTC
Problem: The Gentoo Prelink Guide found at
http://www.gentoo.org/doc/en/prelink-howto.xml lacks information about the "pic"
USE flag. pic enables position independent code in several e-builds, most
importantly glibc. (For more info on pic visit
http://en.wikipedia.org/wiki/Position_independent_code ) This is important for
prelinking. 

Solution: emend the guide to include the pic USE flag as well as emerge --update
--deep --newuse world. 

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2005-06-14 19:26:45 UTC
the pic USE flag should not affect the ability to utilize prelink on default systems
Comment 2 SpanKY gentoo-dev 2005-06-15 21:22:33 UTC
information regarding USE=pic is not required
Comment 3 Travers Buda 2005-06-15 22:13:23 UTC
SpanKY, go ahead and try a USE="pic" emerge --pretend --update --deep --newuse
world. The three packages that benefit from the pic use flag on my system are 

sys-libs/glibc-2.3.5
media-libs/libsdl-1.2.8-r1
app-arch/gzip-1.3.5-r7

Most "default" systems have glibc and gzip, the former of which is especially
important for prelinking.  
Comment 4 SpanKY gentoo-dev 2005-06-16 06:20:31 UTC
here's a useful tidbit of information

i maintain the three packages you just mentioned, i know EXACTLY what USE=pic
does for them

it does not affect the ability to utilize prelink