* [jethro/master][PATCH 0/1] Disable the image-prelink by default @ 2015-10-26 15:30 Mark Hatle 2015-10-26 15:30 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable " Mark Hatle 0 siblings, 1 reply; 8+ messages in thread From: Mark Hatle @ 2015-10-26 15:30 UTC (permalink / raw) To: openembedded-core Due to problems discovered inside of the prelinker, it is not safe to use at this time. Hopefully people will respond to my plea for help and we can get the prelinker re-enabled in the near future. (All supported Yocto Project architectures are affected by problems.) Note: the prelinker will still be built and components of it will be used by other pieces of the system. This usage is ok, as the prelink-rtld is functioning properly for the purposes of dependency discovery and other potential needs. Mark Hatle (1): local.conf.sample: Disable image-prelink by default meta/conf/local.conf.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.9.3 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 15:30 [jethro/master][PATCH 0/1] Disable the image-prelink by default Mark Hatle @ 2015-10-26 15:30 ` Mark Hatle 2015-10-26 18:15 ` Martin Jansa 2015-10-30 4:48 ` Khem Raj 0 siblings, 2 replies; 8+ messages in thread From: Mark Hatle @ 2015-10-26 15:30 UTC (permalink / raw) To: openembedded-core Due to problems with the prelinker itself, we need to disable the image-prelink by default. This will hopefully be re-enabled in the near future. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> --- meta/conf/local.conf.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample index 3ae24ab..9d1480e 100644 --- a/meta/conf/local.conf.sample +++ b/meta/conf/local.conf.sample @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" # - 'image-swab' to perform host system intrusion detection # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended -USER_CLASSES ?= "buildstats image-mklibs image-prelink" +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised +# that you do NOT run the prelinker at this time. +USER_CLASSES ?= "buildstats image-mklibs" # -- 1.9.3 ^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 15:30 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable " Mark Hatle @ 2015-10-26 18:15 ` Martin Jansa 2015-10-26 19:18 ` Mark Hatle 2015-10-30 4:48 ` Khem Raj 1 sibling, 1 reply; 8+ messages in thread From: Martin Jansa @ 2015-10-26 18:15 UTC (permalink / raw) To: Mark Hatle; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 1552 bytes --] On Mon, Oct 26, 2015 at 10:30:54AM -0500, Mark Hatle wrote: > Due to problems with the prelinker itself, we need to disable the > image-prelink by default. This will hopefully be re-enabled in the near > future. Acked-by: Martin Jansa <Martin.Jansa@gmail.com> We had to disable it in our builds back in Dylan days. Regards, > Signed-off-by: Mark Hatle <mark.hatle@windriver.com> > --- > meta/conf/local.conf.sample | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample > index 3ae24ab..9d1480e 100644 > --- a/meta/conf/local.conf.sample > +++ b/meta/conf/local.conf.sample > @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" > # - 'image-swab' to perform host system intrusion detection > # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink > # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended > -USER_CLASSES ?= "buildstats image-mklibs image-prelink" > +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised > +# that you do NOT run the prelinker at this time. > +USER_CLASSES ?= "buildstats image-mklibs" > > > # > -- > 1.9.3 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 18:15 ` Martin Jansa @ 2015-10-26 19:18 ` Mark Hatle 2015-10-26 19:56 ` Martin Jansa 0 siblings, 1 reply; 8+ messages in thread From: Mark Hatle @ 2015-10-26 19:18 UTC (permalink / raw) To: Martin Jansa; +Cc: openembedded-core On 10/26/15 1:15 PM, Martin Jansa wrote: > On Mon, Oct 26, 2015 at 10:30:54AM -0500, Mark Hatle wrote: >> Due to problems with the prelinker itself, we need to disable the >> image-prelink by default. This will hopefully be re-enabled in the near >> future. > > Acked-by: Martin Jansa <Martin.Jansa@gmail.com> > > We had to disable it in our builds back in Dylan days. FYI this is working just fine in Dizzy. I've heard reports it works in Fido. This is the first that I know it's universally broken. (It's possible there were some issues in Fido, as I have not verified it either way.. but Dizzy definitely works and passes expected testings.) --Mark > Regards, > >> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> >> --- >> meta/conf/local.conf.sample | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample >> index 3ae24ab..9d1480e 100644 >> --- a/meta/conf/local.conf.sample >> +++ b/meta/conf/local.conf.sample >> @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" >> # - 'image-swab' to perform host system intrusion detection >> # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink >> # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended >> -USER_CLASSES ?= "buildstats image-mklibs image-prelink" >> +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised >> +# that you do NOT run the prelinker at this time. >> +USER_CLASSES ?= "buildstats image-mklibs" >> >> >> # >> -- >> 1.9.3 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 19:18 ` Mark Hatle @ 2015-10-26 19:56 ` Martin Jansa 2015-10-26 23:02 ` Mark Hatle 0 siblings, 1 reply; 8+ messages in thread From: Martin Jansa @ 2015-10-26 19:56 UTC (permalink / raw) To: Mark Hatle; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 2969 bytes --] On Mon, Oct 26, 2015 at 02:18:12PM -0500, Mark Hatle wrote: > On 10/26/15 1:15 PM, Martin Jansa wrote: > > On Mon, Oct 26, 2015 at 10:30:54AM -0500, Mark Hatle wrote: > >> Due to problems with the prelinker itself, we need to disable the > >> image-prelink by default. This will hopefully be re-enabled in the near > >> future. > > > > Acked-by: Martin Jansa <Martin.Jansa@gmail.com> > > > > We had to disable it in our builds back in Dylan days. > > FYI this is working just fine in Dizzy. I've heard reports it works in Fido. > This is the first that I know it's universally broken. (It's possible there > were some issues in Fido, as I have not verified it either way.. but Dizzy > definitely works and passes expected testings.) The main reason why we disabled it back then was that it was causing debug symbols in -dbg packages not matching the prelinked binary in the image The size of dynamic relocation section(rel.dyn) was changed from 0027a0 to 003b70 by prelinking. Hence, the code section offset was also changed from 015550 to 016920. So, we can not use the dwarf file (.debug/libc-2.14.1.so) made before prelinking. The number of relocations was 1296 when i use prelinked libraries. This value was same on non-prelink. But the number of relative relocations has decreased from 2296 to 328. Then we did some benchmarks on our target and they didn't show any significant difference with and without prelink, for 4 stages of our boot we got: 7.06 -> 7.08, 0.28% 5.63 -> 5.75, 2.09% 10.47 -> 10.53, 0.53% 26.11 -> 26.15, 0.15% So we have disabled it and never looked back. Regards, > >> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> > >> --- > >> meta/conf/local.conf.sample | 4 +++- > >> 1 file changed, 3 insertions(+), 1 deletion(-) > >> > >> diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample > >> index 3ae24ab..9d1480e 100644 > >> --- a/meta/conf/local.conf.sample > >> +++ b/meta/conf/local.conf.sample > >> @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" > >> # - 'image-swab' to perform host system intrusion detection > >> # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink > >> # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended > >> -USER_CLASSES ?= "buildstats image-mklibs image-prelink" > >> +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised > >> +# that you do NOT run the prelinker at this time. > >> +USER_CLASSES ?= "buildstats image-mklibs" > >> > >> > >> # > >> -- > >> 1.9.3 > >> > >> -- > >> _______________________________________________ > >> Openembedded-core mailing list > >> Openembedded-core@lists.openembedded.org > >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > > > -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 19:56 ` Martin Jansa @ 2015-10-26 23:02 ` Mark Hatle 0 siblings, 0 replies; 8+ messages in thread From: Mark Hatle @ 2015-10-26 23:02 UTC (permalink / raw) To: Martin Jansa; +Cc: openembedded-core On 10/26/15 2:56 PM, Martin Jansa wrote: > On Mon, Oct 26, 2015 at 02:18:12PM -0500, Mark Hatle wrote: >> On 10/26/15 1:15 PM, Martin Jansa wrote: >>> On Mon, Oct 26, 2015 at 10:30:54AM -0500, Mark Hatle wrote: >>>> Due to problems with the prelinker itself, we need to disable the >>>> image-prelink by default. This will hopefully be re-enabled in the near >>>> future. >>> >>> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> >>> >>> We had to disable it in our builds back in Dylan days. >> >> FYI this is working just fine in Dizzy. I've heard reports it works in Fido. >> This is the first that I know it's universally broken. (It's possible there >> were some issues in Fido, as I have not verified it either way.. but Dizzy >> definitely works and passes expected testings.) > > The main reason why we disabled it back then was that it was causing > debug symbols in -dbg packages not matching the prelinked binary in the > image > > The size of dynamic relocation section(rel.dyn) was changed from 0027a0 > to 003b70 by prelinking. Hence, the code section offset was also changed > from 015550 to 016920. > So, we can not use the dwarf file (.debug/libc-2.14.1.so) made before > prelinking. > > The number of relocations was 1296 when i use prelinked libraries. > This value was same on non-prelink. But the number of relative > relocations has decreased from 2296 to 328. > > Then we did some benchmarks on our target and they didn't show any > significant difference with and without prelink, for 4 stages of our > boot we got: > > 7.06 -> 7.08, 0.28% > 5.63 -> 5.75, 2.09% > 10.47 -> 10.53, 0.53% > 26.11 -> 26.15, 0.15% > > So we have disabled it and never looked back. If I get things working again, I'll look into that. I suspect that was fixed shortly after, I remebmer there being some debug/dwarf patches going in around that time frame. --Mark > Regards, > >>>> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> >>>> --- >>>> meta/conf/local.conf.sample | 4 +++- >>>> 1 file changed, 3 insertions(+), 1 deletion(-) >>>> >>>> diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample >>>> index 3ae24ab..9d1480e 100644 >>>> --- a/meta/conf/local.conf.sample >>>> +++ b/meta/conf/local.conf.sample >>>> @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" >>>> # - 'image-swab' to perform host system intrusion detection >>>> # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink >>>> # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended >>>> -USER_CLASSES ?= "buildstats image-mklibs image-prelink" >>>> +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised >>>> +# that you do NOT run the prelinker at this time. >>>> +USER_CLASSES ?= "buildstats image-mklibs" >>>> >>>> >>>> # >>>> -- >>>> 1.9.3 >>>> >>>> -- >>>> _______________________________________________ >>>> Openembedded-core mailing list >>>> Openembedded-core@lists.openembedded.org >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core >>> >> > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 15:30 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable " Mark Hatle 2015-10-26 18:15 ` Martin Jansa @ 2015-10-30 4:48 ` Khem Raj 1 sibling, 0 replies; 8+ messages in thread From: Khem Raj @ 2015-10-30 4:48 UTC (permalink / raw) To: Mark Hatle; +Cc: openembedded-core [-- Attachment #1: Type: text/plain, Size: 1408 bytes --] > On Oct 26, 2015, at 8:30 AM, Mark Hatle <mark.hatle@windriver.com> wrote: > > Due to problems with the prelinker itself, we need to disable the > image-prelink by default. This will hopefully be re-enabled in the near > future. > > Signed-off-by: Mark Hatle <mark.hatle@windriver.com> > --- > meta/conf/local.conf.sample | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample > index 3ae24ab..9d1480e 100644 > --- a/meta/conf/local.conf.sample > +++ b/meta/conf/local.conf.sample > @@ -128,7 +128,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" > # - 'image-swab' to perform host system intrusion detection > # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink > # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended > -USER_CLASSES ?= "buildstats image-mklibs image-prelink" > +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised > +# that you do NOT run the prelinker at this time. > +USER_CLASSES ?= "buildstats image-mklibs” this looks good > > > # > -- > 1.9.3 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 211 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* [jethro/master][PATCH 0/1] meta-yocto: disable prelink by default @ 2015-10-26 15:34 Mark Hatle 2015-10-26 15:34 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink " Mark Hatle 0 siblings, 1 reply; 8+ messages in thread From: Mark Hatle @ 2015-10-26 15:34 UTC (permalink / raw) To: yocto As with the oe-core patch, we need to disable image-prelink within the Yocto Project local.conf.sample as well. Mark Hatle (1): local.conf.sample: Disable image-prelink by default meta-yocto/conf/local.conf.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.9.3 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink by default 2015-10-26 15:34 [jethro/master][PATCH 0/1] meta-yocto: disable prelink " Mark Hatle @ 2015-10-26 15:34 ` Mark Hatle 0 siblings, 0 replies; 8+ messages in thread From: Mark Hatle @ 2015-10-26 15:34 UTC (permalink / raw) To: yocto Due to problems with the prelinker itself, we need to disable the image-prelink by default. This will hopefully be re-enabled in the near future. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> --- meta-yocto/conf/local.conf.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample index 371349d..bf6dd90 100644 --- a/meta-yocto/conf/local.conf.sample +++ b/meta-yocto/conf/local.conf.sample @@ -151,7 +151,9 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks" # - 'image-swab' to perform host system intrusion detection # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended -USER_CLASSES ?= "buildstats image-mklibs image-prelink" +# NOTE: image-prelink is currently broken due to problems with the prelinker. It is advised +# that you do NOT run the prelinker at this time. +USER_CLASSES ?= "buildstats image-mklibs" # # Runtime testing of images -- 1.9.3 ^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-10-30 4:48 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-10-26 15:30 [jethro/master][PATCH 0/1] Disable the image-prelink by default Mark Hatle 2015-10-26 15:30 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable " Mark Hatle 2015-10-26 18:15 ` Martin Jansa 2015-10-26 19:18 ` Mark Hatle 2015-10-26 19:56 ` Martin Jansa 2015-10-26 23:02 ` Mark Hatle 2015-10-30 4:48 ` Khem Raj -- strict thread matches above, loose matches on Subject: below -- 2015-10-26 15:34 [jethro/master][PATCH 0/1] meta-yocto: disable prelink " Mark Hatle 2015-10-26 15:34 ` [jethro/master][PATCH 1/1] local.conf.sample: Disable image-prelink " Mark Hatle
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.