Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11188 - Prelink support in Portage
Summary: Prelink support in Portage
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL: http://cvs.gentoo.org/~cretin
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-25 03:59 UTC by Stefan Jones (RETIRED)
Modified: 2011-10-30 22:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
portage-prelink.patch (portage-prelink.patch,4.77 KB, patch)
2002-11-25 04:02 UTC, Stefan Jones (RETIRED)
Details | Diff
This quick hack works for me (portageprelink-binpkg.diff,1.25 KB, patch)
2002-11-30 15:14 UTC, Jasmin Buchert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Jones (RETIRED) gentoo-dev 2002-11-25 03:59:33 UTC
Prelink and glibc 2.3.1 mix well. Quite a few people have tried it and it works
well.

All is now needed is a implementation of the prelink FEATURE in portage.

The attached patch deoes this
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2002-11-25 04:02:00 UTC
Created attachment 5930 [details, diff]
portage-prelink.patch

Patch against CVS portage. Adds prelink support to portage.
Comment 2 Jasmin Buchert 2002-11-30 14:20:11 UTC
Hi,

With this path prelinking only works when compiling ebuilds. If i want to
install existing (.tbz2) packages, prelinking does not work. This is the output:

cat: /tmp/prelink_list: No such file or directory
prelinking:

Greetings
Comment 3 Jasmin Buchert 2002-11-30 15:14:27 UTC
Created attachment 6076 [details, diff]
This quick hack works for me
Comment 4 Pat Double 2002-12-08 14:39:29 UTC
Since prelinking is not in an official portage release, I'm reporting this problem here. If 
I should file a separate bug, please let me know... 
 
I've been using portage 2.0.44 and 2.0.45 with the prelink patch and it works well 
except in some situations. Sometimes some programs stop working. I get a linker 
error of "unknown relocating record type 0x05", or something similar. I had a log file 
with the error in it (from cups) but apparently it got overwritten at some point. I cannot 
reliably reproduce the error. The two programs I've seen problems with are gs 
(ghostscript) and groff. 
 
I can fix this using "prelink -u -a ; prelink -a". 
 
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2002-12-18 03:20:39 UTC
done and done
portage-2.0.46