Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60683 - setting pic use-flag is missing in the prelink documentation
Summary: setting pic use-flag is missing in the prelink documentation
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Prelink HOWTO (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-17 08:46 UTC by John Herdy
Modified: 2004-09-09 05:04 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 John Herdy 2004-08-17 08:46:49 UTC
According to grep pic /usr/portage/profiles/use.desc (pic - Build Position Independent Code. Needed for prelink or the hardened toolchain) the useflag pic is needed if you want to prelink.

It should be in the documentation to add this use-flag to /etc/make.conf and rebuild glibc

Reproducible: Always
Steps to Reproduce:
Comment 1 John Herdy 2004-08-17 08:52:09 UTC
forgot to mention that gcc needs this use-flag also so the documentation also needs to mention rebuilding gcc and glibc after adjusting /etc/make.conf before proceeding with prelink.
Comment 2 SpanKY gentoo-dev 2004-08-17 12:44:28 UTC
pic is applied automatically to shared objects; users shouldnt have to put pic in USE or in CFLAGS
Comment 3 John Herdy 2004-08-18 01:33:27 UTC
cool, maybe it's an idea to change the description in use.desc a little or make a note in the prelink documentation.

For the record; is it also not necessary to compile glibc with USE=pic?
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-08-29 05:51:48 UTC
A note in the prelink docs? Like "you don't need to set pic even though the description sais so since it's done automatically" ? Looks kinda dumb to me :)
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2004-09-09 05:04:12 UTC
I'm marking this as WORKSFORME. The description isn't wrong - the PIC USE-flag is indeed needed, but it's on by default. It's not use.desc's task to go dictate what USE flags are automatically on. That's also rather impossible as this depends on the used profile.