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

Randle, William C william.c.randle at intel.com
Wed Mar 23 21:36:19 UTC 2016


On Wed, 2016-03-23 at 21:17 +0000, Burton, Ross wrote:
> 
> 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?
> 
Yes, I'll update the patch and repost in a bit.

    -Bill


More information about the Openembedded-core mailing list