Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26602 - prelink howto doesn't mention that glibc has to be compiled with "pic" in use flags
Summary: prelink howto doesn't mention that glibc has to be compiled with "pic" in use...
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Prelink HOWTO (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/prelink-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-14 03:47 UTC by plasmagunman
Modified: 2003-09-04 02:33 UTC (History)
2 users (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 plasmagunman 2003-08-14 03:47:37 UTC
well, the title already says everything...
if glibc is compiled without "pic" in use flags emerge prelink will fail.
so the documenation should say: "I assume you have a Gentoo-1.4 system and it
was built with gcc-3.2 or better and binutils-2.13.90.0.xx or better and
glibc-2.3.1-r2 or newer with pic in our use flags. This needs to be so in order
for your binaries to be prelinkable."

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2003-08-21 08:23:07 UTC
would it be adviseable to make pic a use flag that is automatically enabled in most profiles?
This would allow us to build stages, grp and a prelinked livecd

Pieter
Comment 2 SpanKY gentoo-dev 2003-08-28 10:31:07 UTC
umm, i thought pic was automatic now and that pic should not appear in a user's 
USE flag 
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-08-28 10:34:25 UTC
I've been able to prelink without doing any PIC-magic (i.e. never knew there was something). The prelink binary did alter several programs (unmatching sha1sums) so I guess everything went fine. I wasn't convinced of the speed adjustement though, but then again, trying to run KDE 3.1 on a 120 Mhz w/ 40 Mb RAM isn't really a good idea anyway :)
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-09-04 02:33:32 UTC
I'll invalidate this bug as emerging prelink works flawlessly without doing anything with PIC. Reopen if this isn't always the case (with a current Gentoo).