[OE-core] [PATCH] insane.bbclass: tighten lib_re and exec_re patterns to avoid false positive

Burton, Ross ross.burton at intel.com
Wed Mar 23 21:17:29 UTC 2016


On 23 March 2016 at 18:03, Phil Blundell <pb at pbcl.net> wrote:

> Or alternatively, add an extra check so that when it thinks it's found a
> misplaced library, it checks the ELF header to make sure that it really is
> one and suppresses the diagnostic if not.  If you only do this in cases
> where it was about to print a warning anyway then the impact on performance
> shouldn't be too bad.
>

Yeah, best of both worlds.  A flexible regex to catch potential offenders,
and then use oe.qa.ELFFile to verify it's actually a library.  Can you
update the patch Bill?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160323/de5b09f2/attachment-0002.html>


More information about the Openembedded-core mailing list