public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Portage prelink patch?
@ 2004-09-15  1:06 Anthony Gorecki
  2004-09-15 14:53 ` Stefan Jones
  2004-09-15 16:42 ` Lisa Seelye
  0 siblings, 2 replies; 7+ messages in thread
From: Anthony Gorecki @ 2004-09-15  1:06 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

Gentoo Developers and Users,

I haven't been able to find any pre-existing prelink functionality built into 
Portage's build system, although I've heard it was present previously and was 
removed. Are there any plans to re-implement that feature?


-- 
Best Regards,

Anthony Gorecki
Ectro-Linux Foundation

[-- Attachment #2: Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-15  1:06 [gentoo-dev] Portage prelink patch? Anthony Gorecki
@ 2004-09-15 14:53 ` Stefan Jones
  2004-09-16 14:07   ` Heinrich Wendel
  2004-09-15 16:42 ` Lisa Seelye
  1 sibling, 1 reply; 7+ messages in thread
From: Stefan Jones @ 2004-09-15 14:53 UTC (permalink / raw
  To: Anthony Gorecki; +Cc: gentoo-dev

grep prelink /usr/lib/portage/pym/portage.py
gives lots of crap ...

So it is still there! In fact there is a trivial patch waiting to be
merged for prelink. So portage is prelink enabled, it just does not run
the prelink command automatically .

This was because prelink was slightly buggy and could not be relied on
the succeed and took too long to run.

Newer versions of prelink are much better so there could be a new case
to make portage run prelink after a (un)merge automatically.

But I cannot be bothered to push the idea (laziness).

Stefan

On Tue, 2004-09-14 at 18:06, Anthony Gorecki wrote:
> Gentoo Developers and Users,
> 
> I haven't been able to find any pre-existing prelink functionality built into 
> Portage's build system, although I've heard it was present previously and was 
> removed. Are there any plans to re-implement that feature?
> 


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-15  1:06 [gentoo-dev] Portage prelink patch? Anthony Gorecki
  2004-09-15 14:53 ` Stefan Jones
@ 2004-09-15 16:42 ` Lisa Seelye
  2004-09-15 17:06   ` Stefan Jones
  1 sibling, 1 reply; 7+ messages in thread
From: Lisa Seelye @ 2004-09-15 16:42 UTC (permalink / raw
  To: Anthony Gorecki; +Cc: lisa, gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

On Tue, 2004-09-14 at 21:06, Anthony Gorecki wrote:
> Gentoo Developers and Users,
> 
> I haven't been able to find any pre-existing prelink functionality built into 
> Portage's build system, although I've heard it was present previously and was 
> removed. Are there any plans to re-implement that feature?

I think FEATURES="prelink" might do it...
-- 
Regards,
Lisa Seelye
Key fingerprint = 09CF 52D6 B82B 72B9 97A7  601B CB46 B556 1E49 6FC5

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-15 16:42 ` Lisa Seelye
@ 2004-09-15 17:06   ` Stefan Jones
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Jones @ 2004-09-15 17:06 UTC (permalink / raw
  To: gentoo-dev

On Wed, 2004-09-15 at 09:42, Lisa Seelye wrote:
> On Tue, 2004-09-14 at 21:06, Anthony Gorecki wrote:
> > Gentoo Developers and Users,
> > 
> > I haven't been able to find any pre-existing prelink functionality built into 
> > Portage's build system, although I've heard it was present previously and was 
> > removed. Are there any plans to re-implement that feature?
> 
> I think FEATURES="prelink" might do it...

Nope, that was not implemented. In the end portage just checks for the
existence of the prelink binary. If it exists then it uses that to
calculate the MD5sum verification of files. ( as prelinked files have
different MD5sums then the originals )

( read portage.py )

Also the file /etc/prelink.conf is automatically generated by portage,
if prelink is installed.

That is all the prelink support in portage.

Stefan


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-15 14:53 ` Stefan Jones
@ 2004-09-16 14:07   ` Heinrich Wendel
  2004-09-16 14:13     ` Heinrich Wendel
  0 siblings, 1 reply; 7+ messages in thread
From: Heinrich Wendel @ 2004-09-16 14:07 UTC (permalink / raw
  To: gentoo-dev; +Cc: cretin

On Wednesday 15 September 2004 16:53, Stefan Jones wrote:
> grep prelink /usr/lib/portage/pym/portage.py
> gives lots of crap ...
>
> So it is still there! In fact there is a trivial patch waiting to be
> merged for prelink. So portage is prelink enabled, it just does not run
> the prelink command automatically .

Since it is a trivial patch I hope you can get it in for portage-2.0.51.

>
> This was because prelink was slightly buggy and could not be relied on
> the succeed and took too long to run.
>
> Newer versions of prelink are much better so there could be a new case
> to make portage run prelink after a (un)merge automatically.
>
> But I cannot be bothered to push the idea (laziness).
>
> Stefan

mfg, heinrich :)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-16 14:07   ` Heinrich Wendel
@ 2004-09-16 14:13     ` Heinrich Wendel
  2004-09-16 15:52       ` Stefan Jones
  0 siblings, 1 reply; 7+ messages in thread
From: Heinrich Wendel @ 2004-09-16 14:13 UTC (permalink / raw
  To: gentoo-dev

On Thursday 16 September 2004 16:07, Heinrich Wendel wrote:
> On Wednesday 15 September 2004 16:53, Stefan Jones wrote:
> > grep prelink /usr/lib/portage/pym/portage.py
> > gives lots of crap ...
> >
> > So it is still there! In fact there is a trivial patch waiting to be
> > merged for prelink. So portage is prelink enabled, it just does not run
> > the prelink command automatically .
>
> Since it is a trivial patch I hope you can get it in for portage-2.0.51.

Is this http://bugs.gentoo.org/show_bug.cgi?id=63563 or is there another patch 
which automatically prelinks new installed binaries/libraries?

>
> > This was because prelink was slightly buggy and could not be relied on
> > the succeed and took too long to run.
> >
> > Newer versions of prelink are much better so there could be a new case
> > to make portage run prelink after a (un)merge automatically.
> >
> > But I cannot be bothered to push the idea (laziness).
> >
> > Stefan
>
> mfg, heinrich :)
mfg, heinrich :)

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Portage prelink patch?
  2004-09-16 14:13     ` Heinrich Wendel
@ 2004-09-16 15:52       ` Stefan Jones
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Jones @ 2004-09-16 15:52 UTC (permalink / raw
  To: Heinrich Wendel; +Cc: gentoo-dev

On Thu, 2004-09-16 at 07:13, Heinrich Wendel wrote:
> > Since it is a trivial patch I hope you can get it in for portage-2.0.51.
> 
> Is this http://bugs.gentoo.org/show_bug.cgi?id=63563 or is there another patch 
> which automatically prelinks new installed binaries/libraries?
> 

That is the pending trivial patch. 

Making portage automatically prelink binaries and libraries in my
opinion is non trivial, as there is a large impact in portage
performance and things can go wrong easily.

It is doable if anyone wants to develop it, just not me.

Stefan


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-09-16 15:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-15  1:06 [gentoo-dev] Portage prelink patch? Anthony Gorecki
2004-09-15 14:53 ` Stefan Jones
2004-09-16 14:07   ` Heinrich Wendel
2004-09-16 14:13     ` Heinrich Wendel
2004-09-16 15:52       ` Stefan Jones
2004-09-15 16:42 ` Lisa Seelye
2004-09-15 17:06   ` Stefan Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox