[gentoo-dev] Re: [PATCH 1/4] autotools.eclass: don't inject -I${SYSROOT} to aclocal

2022-01-18 Thread Mike Frysinger
On 17 Jan 2022 11:09, Sam James wrote: > When -I${SYSROOT} is injected, it'll override the default of -Im4, which > results in trying to install macros to ${SYSROOT} (a sandbox violation) > when they can't be found. > > From aclocal(1): > ``` >-I DIR add directory to search list for .m4

[gentoo-dev] [PATCH 8/8] flag-o-matic.eclass: allow -frecord-command-line

2022-01-18 Thread Sam James
In Clang, -frecord-gcc-switches does the same as this anyway. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 062bd04e2e0bd..50caa401bacfb 100644 ---

[gentoo-dev] [PATCH 7/8] flag-o-matic.eclass: allow -fstack-clash-protection, -fcf-protection=*

2022-01-18 Thread Sam James
-fstack-clash-protection suggested by Arfrever. Reported-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index

[gentoo-dev] [PATCH 6/8] flag-o-matic.eclass: allow -ffixed-x18 for arm64

2022-01-18 Thread Sam James
Needed for shadow stack bits on ARM64. Closes: https://bugs.gentoo.org/800533 Thanks-to: Jannik Glückert Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index

[gentoo-dev] [PATCH 5/8] flag-o-matic.eclass: allow -glldb

2022-01-18 Thread Sam James
We already allow -ggdb for GDB and this is the analogue for LLDB. Bug: https://bugs.gentoo.org/800533 Reported-by: Jannik Glückert Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 1 + 1 file changed, 1 insertion(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass

[gentoo-dev] [PATCH 4/8] flag-o-matic.eclass: allow Spectre mitigation flags

2022-01-18 Thread Sam James
Closes: https://bugs.gentoo.org/646076 Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 37577209281a1..d6590a2e52dfd 100644 --- a/eclass/flag-o-matic.eclass +++

[gentoo-dev] [PATCH 3/8] flag-o-matic.eclass: restructure comments a bit

2022-01-18 Thread Sam James
No functional change. Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 38ad14d8f5fe8..37577209281a1 100644 --- a/eclass/flag-o-matic.eclass

[gentoo-dev] [PATCH 2/8] flag-o-matic.eclass: allow -fno-diagnostics-color -fmessage-length=0

2022-01-18 Thread Sam James
Both of these options are useful for automated reports and should be harmless. Closes: https://bugs.gentoo.org/830534 Reported-by: Agostino Sarubbo Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/flag-o-matic.eclass

[gentoo-dev] [PATCH 1/8] flag-o-matic.eclass: strip-flags: Fix logic to properly support "=" in patterns.

2022-01-18 Thread Sam James
From: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Arfrever Frehtes Taifersar Arahesis Signed-off-by: Sam James --- eclass/flag-o-matic.eclass | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/eclass/flag-o-matic.eclass

Re: [gentoo-dev] [RFC] making rust-bin ordered first in virtual/rust

2022-01-18 Thread Toralf Förster
On 1/18/22 18:13, Sam James wrote: Not that I'm advocating for removing source builds or anything like that, I'm not ? ;) -- Toralf PGP 23217DA7 9B888F45 OpenPGP_signature Description: OpenPGP digital signature

Re: [gentoo-dev] [RFC] making rust-bin ordered first in virtual/rust

2022-01-18 Thread Sam James
> On 17 Jan 2022, at 23:24, Georgy Yakovlev wrote: > > Hi, > > I've been approached multiple times with that request, and a lot of > time I see new users completely destroyed by rust build time and disk > space requirements. > I'll out myself as being one of these people! > WDYT about