Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-07-23 Thread Robert Berger
On 22/07/2021 22:05, Alexander Kanavin wrote: PIE is nowadays more or less the only available option and is expected for improved security; Yocto does not even test non-PIE builds or provide an off the shelf way to turn it off. I am worried about those libraries, which are non-PIE libraries by

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-07-22 Thread Alexander Kanavin
PIE is nowadays more or less the only available option and is expected for improved security; Yocto does not even test non-PIE builds or provide an off the shelf way to turn it off. I also have to note that prelink does show higher RAM consumption in your tests as well (MemFree column). On the con

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-07-19 Thread Robert Berger
Hi Alex, RP, Mark, I did some research on the subject in order to try to figure out what is going on. 1) I come to a similar conclusion with what found, but tried to look a bit deeper for the reason. 1.1) The reason that cross-prelink is not prelinking is, that for a quite some time by def

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-06-16 Thread Alexander Kanavin
On Wed, 16 Jun 2021 at 11:11, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > What makes me sad is that this is an embedded focused feature which > the project should be caring about, i.e. memory footprint and speed. > I don't know why the numbers don't show it, Mark and I have theor

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-06-16 Thread Richard Purdie
On Tue, 2021-06-15 at 17:21 +0200, Alexander Kanavin wrote: > So the memory usage is actually *better* without prelink. And any timingĀ  > benefits are lost in statistical noise, in these tests at least. The numbers certainly don't look convincing, thanks for running the tests. > So I do not thin

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-06-15 Thread Khem Raj
On 6/15/21 8:21 AM, Alexander Kanavin wrote: On Tue, 15 Jun 2021 at 10:55, Alexander Kanavin > wrote: On Tue, 15 Jun 2021 at 10:48, Richard Purdie mailto:richard.pur...@linuxfoundation.org>> wrote: I appreciate the desire simply to delete/disa

Re: [yocto] [poky] [PATCH] local.conf.sample: disable prelink

2021-06-15 Thread Alexander Kanavin
On Tue, 15 Jun 2021 at 10:55, Alexander Kanavin wrote: > On Tue, 15 Jun 2021 at 10:48, Richard Purdie < > richard.pur...@linuxfoundation.org> wrote: > >> I appreciate the desire simply to delete/disable anything that causes >> issues >> but in this case I draw the line and my answer is no. It wor