All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] local.conf.sample: disable prelink
@ 2021-06-15  8:12 Alexander Kanavin
  2021-06-15  8:48 ` [poky] " Richard Purdie
  2021-06-15 17:21 ` Khem Raj
  0 siblings, 2 replies; 16+ messages in thread
From: Alexander Kanavin @ 2021-06-15  8:12 UTC (permalink / raw)
  To: poky; +Cc: Alexander Kanavin

There's an issue on ppc32 where one of the wayland libraries is incorrectly
relocated [1]. I also believe that any such custom, yocto-specific optimization
which does intricate binary rewriting needs to be justified with rigoroous
benchmarks but I can't find any.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta-poky/conf/local.conf.sample | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample
index fb14379d28..1794126672 100644
--- a/meta-poky/conf/local.conf.sample
+++ b/meta-poky/conf/local.conf.sample
@@ -148,8 +148,7 @@ EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
 # enable extra features. Some available options which can be included in this variable
 # are:
 #   - 'buildstats' collect build statistics
-#   - 'image-prelink' in order to prelink the filesystem image
-USER_CLASSES ?= "buildstats image-prelink"
+USER_CLASSES ?= "buildstats"
 
 #
 # Runtime testing of images
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread
* [PATCH] local.conf.sample: disable prelink
@ 2021-07-05 18:36 Alexander Kanavin
  2021-07-05 23:06 ` [poky] " Khem Raj
  0 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2021-07-05 18:36 UTC (permalink / raw)
  To: poky; +Cc: Alexander Kanavin

Recent tests have not shown any improvement over not prelinking,
and without a regression test it is very hard to say when and how
this happened.[0]

There's also a concern that no one is maintaining the code, and there
are open bugs (including serious ones such as [1]). Given that prelink
does intricate address arithmetic and rewriting of binaries the best
option is to disable the feature.

[0] https://lists.yoctoproject.org/g/poky/message/12467
[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14429

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 meta-poky/conf/local.conf.sample | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-poky/conf/local.conf.sample b/meta-poky/conf/local.conf.sample
index fb14379d28..1794126672 100644
--- a/meta-poky/conf/local.conf.sample
+++ b/meta-poky/conf/local.conf.sample
@@ -148,8 +148,7 @@ EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
 # enable extra features. Some available options which can be included in this variable
 # are:
 #   - 'buildstats' collect build statistics
-#   - 'image-prelink' in order to prelink the filesystem image
-USER_CLASSES ?= "buildstats image-prelink"
+USER_CLASSES ?= "buildstats"
 
 #
 # Runtime testing of images
-- 
2.31.1


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

end of thread, other threads:[~2021-07-23 12:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15  8:12 [PATCH] local.conf.sample: disable prelink Alexander Kanavin
2021-06-15  8:48 ` [poky] " Richard Purdie
2021-06-15  8:55   ` Alexander Kanavin
2021-06-15  9:04     ` Richard Purdie
2021-06-15 15:21     ` Alexander Kanavin
2021-06-15 17:38       ` [yocto] " Khem Raj
2021-06-16  9:11       ` Richard Purdie
2021-06-16  9:45         ` Alexander Kanavin
2021-07-19 20:58           ` [yocto] " Robert Berger
2021-07-22 19:05             ` Alexander Kanavin
2021-07-23 12:51               ` Robert Berger
2021-06-15 17:21 ` Khem Raj
2021-07-05 18:36 Alexander Kanavin
2021-07-05 23:06 ` [poky] " Khem Raj
2021-07-06  0:03   ` Armin Kuster
2021-07-06  7:36     ` Alexander Kanavin
2021-07-06  8:34     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.