Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/arch/arm/armv7a/, profiles/arch/arm/
Date: Fri, 26 Jun 2020 20:21:35
Message-Id: 1593202875.2beeeb9b2b14599f65dc19cf9e2c2abc1e46f037.whissi@gentoo
1 commit: 2beeeb9b2b14599f65dc19cf9e2c2abc1e46f037
2 Author: Sam James (sam_c) <sam <AT> cmpct <DOT> info>
3 AuthorDate: Tue Jun 23 06:47:21 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 20:21:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2beeeb9b
7
8 profiles: arm: mask dev-util/valgrind for < armv7
9
10 Valgrind doesn't support < ARMv7, so add a wide
11 mask and unmask specifically for ARMv7a.
12
13 See https://valgrind.org/info/platforms.html.
14
15 Noticed after hitting a build failure during testing:
16 "checking for a supported CPU... no (armv6j)
17 configure: error: Unsupported host architecture. Sorry"
18
19 Signed-off-by: Sam James (sam_c) <sam <AT> cmpct.info>
20 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
21
22 profiles/arch/arm/armv7a/package.mask | 4 ++++
23 profiles/arch/arm/armv7a/use.mask | 4 ++++
24 profiles/arch/arm/package.mask | 5 +++++
25 profiles/arch/arm/use.mask | 5 +++++
26 4 files changed, 18 insertions(+)
27
28 diff --git a/profiles/arch/arm/armv7a/package.mask b/profiles/arch/arm/armv7a/package.mask
29 index ea16b137362..0f744267ab9 100644
30 --- a/profiles/arch/arm/armv7a/package.mask
31 +++ b/profiles/arch/arm/armv7a/package.mask
32 @@ -1,6 +1,10 @@
33 # Copyright 1999-2017 Gentoo Foundation
34 # Distributed under the terms of the GNU General Public License v2
35
36 +# Sam James <sam@×××××.info> (2020-06-24)
37 +# Valgrind works on ARMv7
38 +-dev-util/valgrind
39 +
40 # James Le Cuirot <chewi@g.o> (2016-01-09)
41 # This is built for armv6 so unmask against the wider arm mask.
42 -dev-java/oracle-jdk-bin
43
44 diff --git a/profiles/arch/arm/armv7a/use.mask b/profiles/arch/arm/armv7a/use.mask
45 index 25991f5fd76..764a6e7881c 100644
46 --- a/profiles/arch/arm/armv7a/use.mask
47 +++ b/profiles/arch/arm/armv7a/use.mask
48 @@ -14,3 +14,7 @@
49 -cpu_flags_arm_vfpv3
50 -cpu_flags_arm_vfpv4
51 -cpu_flags_arm_vfp-d32
52 +
53 +# Sam James <sam@×××××.info> (2020-06-24)
54 +# Valgrind works on ARMv7
55 +-valgrind
56
57 diff --git a/profiles/arch/arm/package.mask b/profiles/arch/arm/package.mask
58 index 25107630e0b..55b8688549d 100644
59 --- a/profiles/arch/arm/package.mask
60 +++ b/profiles/arch/arm/package.mask
61 @@ -1,6 +1,11 @@
62 # Copyright 1999-2019 Gentoo Authors
63 # Distributed under the terms of the GNU General Public License v2
64
65 +# Sam James <sam@×××××.info> (2020-06-24)
66 +# Valgrind lacks support for < ARMv7
67 +# https://valgrind.org/info/platforms.html
68 +dev-util/valgrind
69 +
70 # Bernardo Meurer <bernardo@××××××××.ai> (2019-09-28)
71 # Requires app-crypt/tpm2-tss which is pending ~arm vide
72 # https://bugs.gentoo.org/695758
73
74 diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
75 index feb40f29c01..e19b0240a5f 100644
76 --- a/profiles/arch/arm/use.mask
77 +++ b/profiles/arch/arm/use.mask
78 @@ -8,6 +8,11 @@
79 -cpu_flags_arm_iwmmxt
80 -cpu_flags_arm_iwmmxt2
81
82 +# Sam James <sam@×××××.info> (2020-06-24)
83 +# Valgrind lacks support for < ARMv7
84 +# https://valgrind.org/info/platforms.html
85 +valgrind
86 +
87 # Matt Turner <mattst88@g.o> (2020-02-02)
88 # Neither dev-python/pymongo nor dev-libs/mongo-c-driver are keyworded
89 mongodb