[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5543/8267] valgrind: set ac_cv_path_PERL to /usr/bin/env perl
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 5543/8267] valgrind: set ac_cv_path_PERL to /usr/bin/env perl
- Date: Sun, 17 Dec 2017 03:35:15 +0000 (UTC)
commit af440a00c55c3cc00fb1d7a14ad1a07918d8d2a4
Author: Robert Yang <liezhi yang windriver com>
Date: 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.
(From OE-Core rev: e828223a8238d85d47e9314e1dcc30b83b7ba3da)
Signed-off-by: Robert Yang <liezhi yang windriver com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]