public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2021-12-05 11:19 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2021-12-05 11:19 UTC (permalink / raw
  To: gentoo-commits

commit:     6890ef4bc1a8b3a67c9da1059091ffe775d4083b
Author:     Alex Revin <2b57 <AT> pm <DOT> me>
AuthorDate: Sat Dec  4 23:13:04 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 11:18:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6890ef4b

profiles: add clang profile feature

Signed-off-by: Alex Revin <2b57 <AT> pm.me>
Closes: https://github.com/gentoo/gentoo/pull/23187
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/eapi           |  1 +
 profiles/features/clang/make.defaults  | 58 ++++++++++++++++++++++++++++++++++
 profiles/features/clang/package.mask   | 16 ++++++++++
 profiles/features/clang/package.use    | 17 ++++++++++
 profiles/features/clang/packages       | 14 ++++++++
 profiles/features/clang/packages.build | 14 ++++++++
 profiles/features/clang/use.force      |  1 +
 7 files changed, 121 insertions(+)

diff --git a/profiles/features/clang/eapi b/profiles/features/clang/eapi
new file mode 100644
index 000000000000..7f8f011eb73d
--- /dev/null
+++ b/profiles/features/clang/eapi
@@ -0,0 +1 @@
+7

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
new file mode 100644
index 000000000000..014816b37253
--- /dev/null
+++ b/profiles/features/clang/make.defaults
@@ -0,0 +1,58 @@
+# use Clang as a primary compiler
+CC="clang"
+CXX="clang++"
+
+# libtool needs this
+LD="ld.lld"
+
+# linker flags
+LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
+
+# hardening flags
+SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
+SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie"
+
+# enable some hardening by default
+CFLAGS="${CFLAGS} ${SOME_HARDENING_FLAGS}"
+CXXFLAGS="${CXXFLAGS} ${SOME_HARDENING_FLAGS}"
+LDFLAGS="${LDFLAGS} ${SOME_HARDENING_LDFLAGS}"
+
+# use LLVM-provided binutils
+AR="llvm-ar"
+AS="llvm-as"
+NM="llvm-nm"
+STRIP="llvm-strip"
+RANLIB="llvm-ranlib"
+OBJCOPY="llvm-objcopy"
+STRINGS="llvm-strings"
+OBJDUMP="llvm-objdump"
+READELF="llvm-readelf"
+ADDR2LINE="llvm-addr2line"
+
+
+# bootstrap USE for stage1
+
+# curl needed by cmake
+BOOTSTRAP_USE="$BOOTSTRAP_USE ssl curl_ssl_openssl"
+
+# Clang needs this
+BOOTSTRAP_USE="${BOOTSTRAP_USE} python_single_target_python3_9"
+
+# sys-devel/llvm
+BOOTSTRAP_USE="${BOOTSTRAP_USE} -gold"
+
+# sys-devel/clang, sys-devel/clang-runtime, sys-libs/llvm-libunwind, sys-libs/libcxx, sys-libs/libcxxabi
+BOOTSTRAP_USE="${BOOTSTRAP_USE} compiler-rt clang libunwind"
+
+# sys-devel/clang
+BOOTSTRAP_USE="${BOOTSTRAP_USE} default-compiler-rt default-lld default-libcxx llvm-libunwind"
+
+# sys-devel/clang-runtime
+# sanitizers are disabled for now
+BOOTSTRAP_USE="${BOOTSTRAP_USE} libcxx -sanitize"
+
+# sys-libs/libcxxabi
+BOOTSTRAP_USE="${BOOTSTRAP_USE} libcxxabi"
+
+# llvm & clang: explicitly disable all extra targets, otherwise linking stage2 fails
+BOOTSTRAP_USE="${BOOTSTRAP_USE} -llvm_targets_BPF -llvm_targets_AMDGPU -llvm_targets_NVPTX -llvm_targets_BPF"

diff --git a/profiles/features/clang/package.mask b/profiles/features/clang/package.mask
new file mode 100644
index 000000000000..0b6b883d274a
--- /dev/null
+++ b/profiles/features/clang/package.mask
@@ -0,0 +1,16 @@
+# mask LLVM 13, since it breaks tcl, which breaks sqlite and so on
+
+>sys-devel/llvm-12.0.1
+>sys-devel/llvm-common-12.0.1
+
+>sys-libs/compiler-rt-12.0.1
+>sys-libs/compiler-rt-sanitizers-12.0.1
+
+>sys-devel/clang-12.0.1
+>sys-devel/clang-common-12.0.1
+>sys-devel/clang-runtime-12.0.1
+
+>sys-devel/lld-12.0.1
+>sys-libs/libcxx-12.0.1
+>sys-libs/libcxxabi-12.0.1
+>sys-libs/llvm-libunwind-12.0.1

diff --git a/profiles/features/clang/package.use b/profiles/features/clang/package.use
new file mode 100644
index 000000000000..5d568cb8cb66
--- /dev/null
+++ b/profiles/features/clang/package.use
@@ -0,0 +1,17 @@
+# use lld by default
+sys-devel/llvm -gold
+
+# use all defaults
+sys-devel/clang compiler-rt default-compiler-rt default-lld default-libcxx llvm-libunwind
+sys-libs/compiler-rt clang
+
+# disable sanitizers for now
+sys-devel/clang-runtime compiler-rt libcxx -sanitize
+# sys-libs/compiler-rt-sanitizers clang
+
+sys-libs/libcxx libunwind libcxxabi
+sys-libs/libcxxabi libunwind
+sys-libs/llvm-libunwind compiler-rt
+
+# libgcrypt doesn't like optimizations
+dev-libs/libgcrypt o-flag-munging

diff --git a/profiles/features/clang/packages b/profiles/features/clang/packages
new file mode 100644
index 000000000000..9536b85862f3
--- /dev/null
+++ b/profiles/features/clang/packages
@@ -0,0 +1,14 @@
+# now part of @system set
+*sys-devel/lld
+*sys-devel/llvm
+*sys-devel/clang
+*sys-libs/libcxx
+*sys-libs/libcxxabi
+*sys-libs/compiler-rt
+*sys-libs/llvm-libunwind
+
+# not needed with clang
+-*sys-devel/gcc
+-*sys-devel/gcc-config
+-*sys-devel/binutils
+-*sys-devel/binutils-config

diff --git a/profiles/features/clang/packages.build b/profiles/features/clang/packages.build
new file mode 100644
index 000000000000..fd1e69e329e3
--- /dev/null
+++ b/profiles/features/clang/packages.build
@@ -0,0 +1,14 @@
+# will be pulled by stage1
+sys-libs/compiler-rt
+sys-libs/libcxxabi
+sys-libs/libcxx
+sys-devel/llvm
+sys-devel/lld
+sys-devel/clang
+sys-libs/llvm-libunwind
+
+# remove gcc & friends
+-sys-devel/gcc
+-sys-devel/gcc-config
+-sys-devel/binutils
+-sys-devel/binutils-config

diff --git a/profiles/features/clang/use.force b/profiles/features/clang/use.force
new file mode 100644
index 000000000000..e671fa21003e
--- /dev/null
+++ b/profiles/features/clang/use.force
@@ -0,0 +1 @@
+clang


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2021-12-05 11:19 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2021-12-05 11:19 UTC (permalink / raw
  To: gentoo-commits

commit:     3ba9a05880fe55a52b2590b39263d5f0e77dea19
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 11:14:20 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 11:18:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ba9a058

profiles: minor fixups to clang feature

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/eapi          |  2 +-
 profiles/features/clang/make.defaults | 12 ++++++++----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/profiles/features/clang/eapi b/profiles/features/clang/eapi
index 7f8f011eb73d..7ed6ff82de6b 100644
--- a/profiles/features/clang/eapi
+++ b/profiles/features/clang/eapi
@@ -1 +1 @@
-7
+5

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
index 014816b37253..a2235ff4a494 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -1,4 +1,9 @@
-# use Clang as a primary compiler
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# this is for now highly experimental -dilfridge
+
+# use clang as the primary compiler
 CC="clang"
 CXX="clang++"
 
@@ -12,7 +17,7 @@ LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--a
 SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
 SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie"
 
-# enable some hardening by default
+# enable hardening by default, cf. gcc[pie,ssp]
 CFLAGS="${CFLAGS} ${SOME_HARDENING_FLAGS}"
 CXXFLAGS="${CXXFLAGS} ${SOME_HARDENING_FLAGS}"
 LDFLAGS="${LDFLAGS} ${SOME_HARDENING_LDFLAGS}"
@@ -33,7 +38,7 @@ ADDR2LINE="llvm-addr2line"
 # bootstrap USE for stage1
 
 # curl needed by cmake
-BOOTSTRAP_USE="$BOOTSTRAP_USE ssl curl_ssl_openssl"
+BOOTSTRAP_USE="${BOOTSTRAP_USE} ssl curl_ssl_openssl"
 
 # Clang needs this
 BOOTSTRAP_USE="${BOOTSTRAP_USE} python_single_target_python3_9"
@@ -48,7 +53,6 @@ BOOTSTRAP_USE="${BOOTSTRAP_USE} compiler-rt clang libunwind"
 BOOTSTRAP_USE="${BOOTSTRAP_USE} default-compiler-rt default-lld default-libcxx llvm-libunwind"
 
 # sys-devel/clang-runtime
-# sanitizers are disabled for now
 BOOTSTRAP_USE="${BOOTSTRAP_USE} libcxx -sanitize"
 
 # sys-libs/libcxxabi


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2021-12-05 15:32 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2021-12-05 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     defe9931900f623376322344fba7782fac71a942
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 11:22:14 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 15:31:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=defe9931

profiles: clang feature: drop mask of new clang, this problem is actually solved

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/package.mask | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/profiles/features/clang/package.mask b/profiles/features/clang/package.mask
deleted file mode 100644
index 0b6b883d274a..000000000000
--- a/profiles/features/clang/package.mask
+++ /dev/null
@@ -1,16 +0,0 @@
-# mask LLVM 13, since it breaks tcl, which breaks sqlite and so on
-
->sys-devel/llvm-12.0.1
->sys-devel/llvm-common-12.0.1
-
->sys-libs/compiler-rt-12.0.1
->sys-libs/compiler-rt-sanitizers-12.0.1
-
->sys-devel/clang-12.0.1
->sys-devel/clang-common-12.0.1
->sys-devel/clang-runtime-12.0.1
-
->sys-devel/lld-12.0.1
->sys-libs/libcxx-12.0.1
->sys-libs/libcxxabi-12.0.1
->sys-libs/llvm-libunwind-12.0.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2021-12-11 16:01 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2021-12-11 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     438b8a83658946ab18ef459eff68e1aec7fdfeca
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 16:00:43 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 16:00:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438b8a83

profiles, clang feature: shrink back hardening flags to minimum for now

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/make.defaults | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
index a2235ff4a494..7674593179f7 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -13,9 +13,14 @@ LD="ld.lld"
 # linker flags
 LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
 
-# hardening flags
-SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
-SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie"
+## hardening flags
+#SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2"
+#SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie"
+#
+# we need to eventually do this the same way as in gcc, for now let's
+# keep it to a minimum
+SOME_HARDENING_CFLAGS="-D_FORTIFY_SOURCE=2"
+SOME_HARDENING_LDFLAGS=""
 
 # enable hardening by default, cf. gcc[pie,ssp]
 CFLAGS="${CFLAGS} ${SOME_HARDENING_FLAGS}"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-03-19 17:58 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2022-03-19 17:58 UTC (permalink / raw
  To: gentoo-commits

commit:     b67e54b2dd91a6189b1b11d6f9797e0dc49eab32
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 17:57:34 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 17:58:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67e54b2

profiles: clang: mask perl quadmath

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/profiles/features/clang/package.use.mask b/profiles/features/clang/package.use.mask
new file mode 100644
index 000000000000..2aa65931d7b2
--- /dev/null
+++ b/profiles/features/clang/package.use.mask
@@ -0,0 +1,5 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# libquadmath is gcc-specific
+dev-lang/perl quadmath


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-07-18 21:50 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2022-07-18 21:50 UTC (permalink / raw
  To: gentoo-commits

commit:     8b9e03e052bdbbf1ae3161fcba17e7e30dd9f692
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 21:49:05 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 21:50:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b9e03e0

profiles: clang profile: use portage-3.0.33 even on stable immediately

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/package.accept_keywords | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/profiles/features/clang/package.accept_keywords b/profiles/features/clang/package.accept_keywords
new file mode 100644
index 000000000000..92fa6b506f07
--- /dev/null
+++ b/profiles/features/clang/package.accept_keywords
@@ -0,0 +1,5 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# this version contains the path fix for portage needed for stage1 builds
+=sys-apps/portage-3.0.33 ~amd64


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-09-10  3:52 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-09-10  3:52 UTC (permalink / raw
  To: gentoo-commits

commit:     59d666d032353b054e3cdf4f18ad55e3346e73ca
Author:     yemou Hannam <yemou <AT> protonmail <DOT> com>
AuthorDate: Wed Aug 31 01:01:25 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 03:52:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d666d0

profiles/features/clang: update environment variables

Add CPP="clang-cpp"
Change AS="llvm-as" to AS="clang -c"

Signed-off-by: yemou Hannam <yemou <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27087
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/features/clang/make.defaults | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
index 09d9b31dbb3e..ad06c1d9333f 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -29,7 +29,8 @@ LDFLAGS="${LDFLAGS} ${SOME_HARDENING_LDFLAGS}"
 
 # use LLVM-provided binutils
 AR="llvm-ar"
-AS="llvm-as"
+AS="clang -c"
+CPP="clang-cpp"
 NM="llvm-nm"
 STRIP="llvm-strip"
 RANLIB="llvm-ranlib"


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-09-10 16:21 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-09-10 16:21 UTC (permalink / raw
  To: gentoo-commits

commit:     be75b448302105a279d83801b6014cdf280abfc9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 10 16:20:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 10 16:21:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be75b448

profiles/features/clang: force USE=llvm-libunwind

Observed by Ionen earlier. Surprised we didn't do this earlier.

Note that it's already in @system here.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/features/clang/use.force | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/features/clang/use.force b/profiles/features/clang/use.force
index e671fa21003e..b1067fb9ea86 100644
--- a/profiles/features/clang/use.force
+++ b/profiles/features/clang/use.force
@@ -1 +1,2 @@
 clang
+llvm-libunwind


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-09-16  0:35 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-09-16  0:35 UTC (permalink / raw
  To: gentoo-commits

commit:     3fa47c76138a86a5d29d30230c0afc1946d46d5b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 00:33:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 00:35:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa47c76

profiles/features/clang: add LLVM_USE_LIBCXX, CXXSTDLIB

Needed to build some Rust crates like sys-apps/uutils.

I'd heard some users mention needing to set this but hadn't
poked particularly far (was in the context of trying to do
Firefox + libc++ on non-LLVM profiles IIRC).

Bug: https://bugs.gentoo.org/732632
Bug: https://bugs.gentoo.org/870280
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Thanks-to: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/features/clang/make.defaults | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
index ad06c1d9333f..64627a72aa3e 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -40,6 +40,9 @@ OBJDUMP="llvm-objdump"
 READELF="llvm-readelf"
 ADDR2LINE="llvm-addr2line"
 
+# Rust needs this to build some crates (like uutils)
+LLVM_USE_LIBCXX=1
+CXXSTDLIB="c++"
 
 # bootstrap USE for stage1
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-09-16  0:55 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2022-09-16  0:55 UTC (permalink / raw
  To: gentoo-commits

commit:     9e38708993c9481291726a1bead4e396799b9dba
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 00:54:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 00:55:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e387089

profiles/features/clang: add links for libcxx Rust variables

Bug: https://bugs.gentoo.org/732632
Bug: https://bugs.gentoo.org/870280
See: 3fa47c76138a86a5d29d30230c0afc1946d46d5b
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/features/clang/make.defaults | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/clang/make.defaults b/profiles/features/clang/make.defaults
index 64627a72aa3e..77b32d47a3c2 100644
--- a/profiles/features/clang/make.defaults
+++ b/profiles/features/clang/make.defaults
@@ -41,7 +41,10 @@ READELF="llvm-readelf"
 ADDR2LINE="llvm-addr2line"
 
 # Rust needs this to build some crates (like uutils)
+# https://github.com/rust-lang/rust/blob/master/compiler/rustc_llvm/build.rs
 LLVM_USE_LIBCXX=1
+# https://github.com/rust-lang/cc-rs#c-support
+# https://github.com/rust-lang/cc-rs/blob/main/src/lib.rs
 CXXSTDLIB="c++"
 
 # bootstrap USE for stage1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/
@ 2022-09-23 21:12 Andreas K. Hüttel
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas K. Hüttel @ 2022-09-23 21:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c90a08bcd57e5362397531897e587ef6221bc441
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 21:11:54 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 21:12:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c90a08bc

profiles: clang: allow glibc-2.35-r10 on stable already

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 profiles/features/clang/package.accept_keywords | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/features/clang/package.accept_keywords b/profiles/features/clang/package.accept_keywords
index 92fa6b506f07..231f53933017 100644
--- a/profiles/features/clang/package.accept_keywords
+++ b/profiles/features/clang/package.accept_keywords
@@ -3,3 +3,6 @@
 
 # this version contains the path fix for portage needed for stage1 builds
 =sys-apps/portage-3.0.33 ~amd64
+
+# this version contains the fix for CPP resetting
+=sys-libs/glibc-2.35-r10 ~amd64


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-09-23 21:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-16  0:55 [gentoo-commits] repo/gentoo:master commit in: profiles/features/clang/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-09-23 21:12 Andreas K. Hüttel
2022-09-16  0:35 Sam James
2022-09-10 16:21 Sam James
2022-09-10  3:52 Sam James
2022-07-18 21:50 Andreas K. Hüttel
2022-03-19 17:58 Andreas K. Hüttel
2021-12-11 16:01 Andreas K. Hüttel
2021-12-05 15:32 Andreas K. Hüttel
2021-12-05 11:19 Andreas K. Hüttel
2021-12-05 11:19 Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox