Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942884 - dev-lang/rust-1.82.0 - [gcc-15] rustc: .../DwarfDebug.cpp:298: void llvm::Loc::MMI::addFrameIndexExpr(const llvm::DIExpression , int): Assertion (FrameIndexExprs.size() =
Summary: dev-lang/rust-1.82.0 - [gcc-15] rustc: .../DwarfDebug.cpp:298: void llvm::Loc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randy Barlow
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 942013 945486
  Show dependency tree
 
Reported: 2024-11-04 19:13 UTC by Toralf Förster
Modified: 2024-12-08 07:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.01 KB, text/plain)
2024-11-04 19:13 UTC, Toralf Förster
Details
dev-lang:rust-1.82.0:20241104-062941.log.xz (dev-lang:rust-1.82.0:20241104-062941.log.xz,689.84 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,60.27 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details
environment (environment,190.67 KB, text/plain)
2024-11-04 19:13 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,27.52 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,69.06 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.32 KB, application/x-xz)
2024-11-04 19:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-11-04 19:13:16 UTC
too long lines were shrinked:

[RUSTC-SHIM] rustc cargo env[57]: "RUST_TEST_TASKS"="4"
[RUSTC-SHIM] rustc cargo env[58]: "RUST_TEST_THREADS"="4"
[RUSTC-SHIM] rustc cargo working directory: /var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/src/tools/cargo
[RUSTC-SHIM] rustc cargo command: "LD_LIBRARY_PATH"="/var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/build/x86_64-unknown-linux-gnu/stage2/lib:/var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/build/x86_64-unknown-linux-gnu/stage2-tools/release/deps" LD_LIBRARY_PATH="/var/tmp/p
[RUSTC-SHIM] rustc cargo sysroot: "/var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/build/x86_64-unknown-linux-gnu/stage2"
[RUSTC-SHIM] rustc cargo libdir: "/var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/build/x86_64-unknown-linux-gnu/stage2/lib"
rustc: /var/tmp/portage/dev-lang/rust-1.82.0/work/rustc-1.82.0-src/src/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:298: void llvm::Loc::MMI::addFrameIndexExpr(const llvm::DIExpression*, int): Assertion `(FrameIndexExprs.size() == 1 || llvm::all_of(FrameIndexExprs, [](const FrameIndexExpr

Did not run successfully: signal: 6 (SIGABRT)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241028-182008

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_p06 [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

  HEAD of ::gentoo
commit 6406a8b0bf64e417cf31d6e7695df32ecca4042c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 4 05:33:30 2024 +0000

    2024-11-04 05:33:29 UTC

emerge -qpvO =dev-lang/rust-1.82.0
[ebuild  N    ] dev-lang/rust-1.82.0  USE="debug verify-sig (-big-endian) -clippy -dist -doc (-llvm-libunwind) -lto (-miri) -nightly (-parallel-compiler) -profiler -rust-analyzer -rust-src -rustfmt -system-bootstrap -system-llvm -test -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"
Comment 1 Toralf Förster gentoo-dev 2024-11-04 19:13:17 UTC
Created attachment 907869 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-04 19:13:19 UTC
Created attachment 907870 [details]
dev-lang:rust-1.82.0:20241104-062941.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-04 19:13:20 UTC
Created attachment 907871 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-11-04 19:13:22 UTC
Created attachment 907872 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-04 19:13:22 UTC
Created attachment 907873 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-04 19:13:23 UTC
Created attachment 907874 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-04 19:13:24 UTC
The file size of ./files/logs.tar.xz is too big (4.2M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_systemd-20241028-182008/var/tmp/tb/issues/20241104-083154-dev-lang_rust-1.82.0/files/logs.tar.xz is valid.
Comment 8 Toralf Förster gentoo-dev 2024-11-04 19:13:25 UTC
Created attachment 907875 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-04 19:13:26 UTC
Created attachment 907876 [details]
temp.tar.xz
Comment 10 Luigi 'Comio' Mantellini 2024-11-07 08:45:26 UTC
Probably related to upstream bug https://github.com/rust-lang/rust/issues/131944
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-07 08:49:57 UTC
(In reply to Luigi 'Comio' Mantellini from comment #10)
> Probably related to upstream bug
> https://github.com/rust-lang/rust/issues/131944

That is already in 'See Also'.
Comment 12 Larry the Git Cow gentoo-dev 2024-12-08 07:04:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c8a2cf0acb13d7ab69b508a7697cd2b920fdf3

commit 63c8a2cf0acb13d7ab69b508a7697cd2b920fdf3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-08 06:57:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-08 07:03:55 +0000

    dev-lang/rust: fix LLVM assertion with debug info in 1.82.0
    
    Closes: https://bugs.gentoo.org/942013
    Closes: https://bugs.gentoo.org/942884
    Closes: https://bugs.gentoo.org/945486
    Signed-off-by: Sam James <sam@gentoo.org>

 .../rust/files/1.82.0-dwarf-llvm-assertion.patch   | 247 +++++++
 dev-lang/rust/rust-1.82.0-r101.ebuild              | 747 +++++++++++++++++++++
 2 files changed, 994 insertions(+)