[oe-commits] [openembedded-core] 19/39: valgrind: set ac_cv_path_PERL to /usr/bin/env perl

git at git.openembedded.org git at git.openembedded.org
Thu Apr 6 23:51:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 963875cd5242452870888ca624a54a86cb4ac73d
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Thu Apr 6 03:05:52 2017 -0700

    valgrind: set ac_cv_path_PERL to /usr/bin/env perl
    
    The shebang's max length is usually 128 as defined in
    /usr/include/linux/binfmts.h:
      #define BINPRM_BUF_SIZE 128
    
    So there would be errors when /path/to/hosttools/perl is longer than 128.
    
    Set ac_cv_path_PERL to "/usr/bin/env perl" to fix the problem.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
index a4a3e72..62a9635 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
@@ -56,6 +56,8 @@ EXTRA_OECONF_append_arm = " --host=armv7${HOST_VENDOR}-${HOST_OS}"
 
 EXTRA_OEMAKE = "-w"
 
+CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
+
 # valgrind likes to control its own optimisation flags. It generally defaults
 # to -O2 but uses -O0 for some specific test apps etc. Passing our own flags
 # (via CFLAGS) means we interfere with that. Only pass DEBUG_FLAGS to it

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list