Re: [gentoo-dev] [PATCH v2] kernel-2.eclass: Respect portage CC & AR variables

2021-12-15 Thread Manoj Gupta
> [1] a0d1c951ef08 kbuild: support LLVM=1 to switch the default tools to > > Clang/LLVM > > > > Co-authored-by: Manoj Gupta > > Signed-off-by: Adrian Ratiu > > --- > > eclass/kernel-2.eclass | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) &g

Re: [gentoo-dev] Re: portage reliance on GNU objcopy ownership perseverance behavior in strip

2021-02-09 Thread Manoj Gupta
On Tue, Feb 9, 2021 at 8:44 PM Michael Orlitzky wrote: > On Tue, 2021-02-09 at 21:44 -0500, Michael Orlitzky wrote: > > > > ... games-arcade/xboing are also suspect. > > > > (This one's fine, that's the documented way to do things now. Although > I don't see why we couldn't use a separate group f

Re: [gentoo-dev] Re: portage reliance on GNU objcopy ownership perseverance behavior in strip

2021-02-09 Thread Manoj Gupta
On Tue, Feb 9, 2021 at 6:02 PM Michael Orlitzky wrote: > On Tue, 2021-02-09 at 17:53 -0800, Fāng-ruì Sòng wrote: > > (I replied via > https://groups.google.com/g/linux.gentoo.dev/c/WG-OLQe3yng > > "Reply all" (which only replied to the list AFAICT) but I did not > > subscribe to gentoo-dev via th

[gentoo-dev] portage reliance on GNU objcopy ownership perseverance behavior in strip

2021-02-04 Thread Manoj Gupta
Hi gentoo devs, This question is regarding interaction of fowners [1] and estrip functionality in portage. fowners is used on various binaries and files to assign the ownership to specific users or group. GNU objcopy and strip do not change the file ownership when run as root. However, llvm's ver

Re: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-21 Thread Manoj Gupta
On Thu, Jan 21, 2021 at 3:00 AM Theo Anderson wrote: > Hello, please see v2 of the tc-ld-force-bfd() patch below. > > v2 changes: only calls tc-ld-force-bfd from tc-ld-disable-gold if > the gold linker is active. > > With this change ebuilds that require both ld.gold & ld.lld to be > disabled wil

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: new function tc-ld-force-bfd()

2021-01-20 Thread Manoj Gupta
On Wed, Jan 20, 2021 at 1:01 PM Theo Anderson wrote: > Hello, please see the below patch to support disabling ld.lld like > ld.gold. This has not been split into a separate function > such as tc-ld-disable-lld(), as I do not believe there is a use case > where ld.gold is supported and ld.lld is n

Re: [gentoo-dev] [PATCH] kernel-2.eclass: use $(CC) as HOSTCC, bug #725878

2020-05-30 Thread Manoj Gupta
Also see https://bugs.chromium.org/p/chromium/issues/detail?id=1088210 on Chrome OS. Verified that this fixes the linux-headers build issue when gcc links are not installed. Thanks, Manoj On Sat, May 30, 2020 at 5:24 AM Sergei Trofimovich wrote: > Before the change HOSTCC always used gcc. This

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-05-26 Thread Manoj Gupta
I noticed that gcc-config recently gained --enable-native-links / --disable-native-links knobs that are . Will this patch with a renamed option name e.g. --disable-default-cc-vars and support for a USE flag work? Thanks, Manoj On Wed, Mar 11, 2020 at 9:07 AM Manoj Gupta wrote: > > &g

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-03-11 Thread Manoj Gupta
On Wed, Mar 11, 2020 at 12:49 AM Sergei Trofimovich wrote: > On Tue, 10 Mar 2020 20:54:12 -0700 > Manoj Gupta wrote: > > > On Tue, Mar 3, 2020 at 1:17 AM Sergei Trofimovich > wrote: > > > > > On Mon, 2 Mar 2020 19:03:48 -0800 > > > Manoj Gupta wrote

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-03-10 Thread Manoj Gupta
On Tue, Mar 3, 2020 at 1:17 AM Sergei Trofimovich wrote: > On Mon, 2 Mar 2020 19:03:48 -0800 > Manoj Gupta wrote: > > > On Thu, Feb 27, 2020 at 11:20 PM Sergei Trofimovich > > wrote: > > > > > On Thu, 27 Feb 2020 at 22:41, Manoj Gupta > wrote: > &g

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-03-02 Thread Manoj Gupta
On Thu, Feb 27, 2020 at 11:20 PM Sergei Trofimovich wrote: > On Thu, 27 Feb 2020 at 22:41, Manoj Gupta wrote: > > > > > > > > On Thu, Feb 27, 2020 at 11:22 AM Manoj Gupta > wrote: > >> > >> gcc-config installs cc/f77 by default. This may be unde

[gentoo-dev] Re: [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-02-27 Thread Manoj Gupta
On Thu, Feb 27, 2020 at 11:22 AM Manoj Gupta wrote: > gcc-config installs cc/f77 by default. This may be undesired on > systems that want to set their own versions of cc/f77. > > Add option "-n"/"--no-default-vars" to not install the cc/f77 > wrapp

[gentoo-dev] [PATCH] gcc-config: Add option to not install cc/f77 wrappers.

2020-02-27 Thread Manoj Gupta
gcc-config installs cc/f77 by default. This may be undesired on systems that want to set their own versions of cc/f77. Add option "-n"/"--no-default-vars" to not install the cc/f77 wrappers. Signed-off-by: Manoj Gupta --- gcc-config | 6 +- 1 file changed, 5 inser

Re: [gentoo-dev] [PATCH] sys-libs/db: Remove --default-symver usage.

2019-09-27 Thread Manoj Gupta
On Fri, Sep 27, 2019 at 12:49 PM Brian Evans wrote: > On 9/27/2019 3:31 PM, Manoj Gupta wrote: > > sys-libs/db-18.1.32 can builds without "--default-symver" > > linker flag. This fixes the build issue when using LLD linker > > which does not support this flag. &g

[gentoo-dev] [PATCH] sys-libs/db: Remove --default-symver usage.

2019-09-27 Thread Manoj Gupta
op use of "--default-symver" flag. Signed-off-by: Manoj Gupta --- sys-libs/db/{db-18.1.32.ebuild => db-18.1.32-r1.ebuild} | 6 -- 1 file changed, 6 deletions(-) rename sys-libs/db/{db-18.1.32.ebuild => db-18.1.32-r1.ebuild} (97%) diff --git a/sys-libs/db/db-18.1.32.ebuil

Re: [gentoo-dev] Re: [PATCH] toolchain-funcs: Add tc-ld-is-lld helper.

2019-09-13 Thread Manoj Gupta
On Fri, Sep 13, 2019 at 11:45 AM Sergei Trofimovich wrote: > > On Fri, 13 Sep 2019 07:11:03 -0700 > Manoj Gupta wrote: > > > friendly ping for patch review. > > Pushed your patch as-is as: > > https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463ec5b25a

Re: [gentoo-dev] Re: [PATCH] toolchain-funcs: Add tc-ld-is-lld helper.

2019-09-13 Thread Manoj Gupta
On Fri, Sep 13, 2019 at 7:32 AM Ulrich Mueller wrote: > > >>>>> On Fri, 13 Sep 2019, Manoj Gupta wrote: > > >> LLD is a new linker for LLVM project. > >> Add tc-ld-is-lld helper to be able to detect it. > >> > >> Signed-off-by: M

[gentoo-dev] Re: [PATCH] toolchain-funcs: Add tc-ld-is-lld helper.

2019-09-13 Thread Manoj Gupta
friendly ping for patch review. On Thu, Sep 12, 2019 at 4:32 AM Manoj Gupta wrote: > > LLD is a new linker for LLVM project. > Add tc-ld-is-lld helper to be able to detect it. > > Signed-off-by: Manoj Gupta > --- > eclass/toolchain-funcs.eclass | 30 +++

[gentoo-dev] [PATCH] toolchain-funcs: Add tc-ld-is-lld helper.

2019-09-12 Thread Manoj Gupta
LLD is a new linker for LLVM project. Add tc-ld-is-lld helper to be able to detect it. Signed-off-by: Manoj Gupta --- eclass/toolchain-funcs.eclass | 30 ++ 1 file changed, 30 insertions(+) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass