]> code.ossystems Code Review - openembedded-core.git/commit
local.conf.sample: disable prelink
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 31 Jul 2021 14:01:53 +0000 (16:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Aug 2021 07:51:17 +0000 (08:51 +0100)
commitf9719cc1c3fe9d380336e7af418daf27473b2e8b
tree5a582d7209f9e3a3e5926f0183856c9839f2bf02
parent5a268f95a5bf5ee8c244a8af685d6c84aad9a4ac
local.conf.sample: disable prelink

Recent tests have shown that prelinking works only when PIE is not
enabled [0], and as PIE is both a desirable security feature, and the only
configuration provided and tested by Yocto, there is simply no sense
in continuing to enable prelink.

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://rlbl.me/prelink-1
https://rlbl.me/prelink-2

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

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/local.conf.sample