| ^~~~~~~~ | ; /var/tmp/portage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h:352:58: error: 'E' does not name a type 352 | SmallVectorImpl<void *>::iterator E) { | ^ /var/tmp/portage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h: In destructor 'llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold, GrowthDelay>::~BumpPtrAllocatorImpl()': /var/tmp/portage/dev-lang/rust-1.79.0/work/rustc-1.79.0-src/src/llvm-project/llvm/include/llvm/Support/Allocator.h:98:27: error: 'class llvm::SmallVector<void*, 4>' has no member named 'begin' 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_hardened_systemd-20240801-090532 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. <sys-devel/gcc-15.0.9999:15 Requested by sam ~dev-libs/icu-75.1 ~dev-libs/icu-layoutex-75.1 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 18.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.8 Python 3.12.4 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.79.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.22.5 linux/amd64 HEAD of ::gentoo commit 593ca61ea5438ce06895aeb0cfc04ccd561611dd Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Aug 7 06:36:19 2024 +0000 Merge commit 'bbba9c645e3767933f8d769ab743fca8728487ab' emerge -qpvO dev-lang/rust [ebuild N ] dev-lang/rust-1.79.0 USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -system-llvm -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa"
Created attachment 899397 [details] emerge-info.txt
Created attachment 899398 [details] dev-lang:rust-1.79.0:20240807-071809.log.xz
Created attachment 899399 [details] emerge-history.txt.xz
Created attachment 899400 [details] environment
Created attachment 899401 [details] etc.clang.tar.xz
Created attachment 899402 [details] etc.portage.tar.xz
Created attachment 899403 [details] logs.tar.xz
Created attachment 899404 [details] qlist-info.txt.xz
Created attachment 899405 [details] temp.tar.xz
Fixed by the wonderful sam already in https://github.com/llvm/llvm-project/pull/101761 , needs to be cherry-picked to rust fork.
(In reply to matoro from comment #10) > Fixed by the wonderful sam already in > https://github.com/llvm/llvm-project/pull/101761 , needs to be cherry-picked > to rust fork. <3 Would you mind doing a PR to pull it in on our side to bundled llvm?
This needs all the patches from bug 937164.
(In reply to Sam James from comment #11) > (In reply to matoro from comment #10) > > Fixed by the wonderful sam already in > > https://github.com/llvm/llvm-project/pull/101761 , needs to be cherry-picked > > to rust fork. > > <3 > > Would you mind doing a PR to pull it in on our side to bundled llvm? ping
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=867d488d1eedef28864dc3f773e020dac36979b4 commit 867d488d1eedef28864dc3f773e020dac36979b4 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2024-10-11 22:51:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-12 04:03:13 +0000 dev-lang/rust: backport llvm patches for gcc-15 No revbump since this is build-only. Bug: https://bugs.gentoo.org/937164 Closes: https://bugs.gentoo.org/937525 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/38947 Signed-off-by: Sam James <sam@gentoo.org> .../rust/files/1.81.0-backport-bug937164.patch | 15 +++++++++++ .../rust/files/1.81.0-backport-llvm-pr101761.patch | 30 ++++++++++++++++++++++ .../rust/files/1.81.0-backport-llvm-pr101766.patch | 29 +++++++++++++++++++++ dev-lang/rust/rust-1.81.0.ebuild | 3 +++ 4 files changed, 77 insertions(+)
*** Bug 939661 has been marked as a duplicate of this bug. ***
*** Bug 939509 has been marked as a duplicate of this bug. ***