Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945486 - sys-apps/syd-3.29.0 - [ncurses-6.5] [libtool] rustc: DwarfDebug.cpp:298: void llvm::Loc::MMI::addFrameIndexExpr(const llvm::DIExpression , int): Assertion (FrameIndexExpr
Summary: sys-apps/syd-3.29.0 - [ncurses-6.5] [libtool] rustc: DwarfDebug.cpp:298: void...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on: 942884
Blocks:
  Show dependency tree
 
Reported: 2024-11-30 20:31 UTC by Toralf Förster
Modified: 2024-12-08 07:04 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.65 KB, text/plain)
2024-11-30 20:31 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,93.38 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
environment (environment,151.16 KB, text/plain)
2024-11-30 20:31 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.72 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,82.43 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,99.61 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
sys-apps:syd-3.29.0:20241130-201917.log.xz (sys-apps:syd-3.29.0:20241130-201917.log.xz,23.99 KB, application/x-xz)
2024-11-30 20:31 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.68 KB, application/x-xz)
2024-11-30 20:31 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-30 20:31:06 UTC
too long lines were shrinked:

     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_run --edition=2021 src/syd-run.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featur
     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_key --edition=2021 src/syd-key.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featur
     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_oci --edition=2021 src/syd-oci.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featur
     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_poc --edition=2021 src/syd-poc.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featur
     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_test_do --edition=2021 src/t/do.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featu
     Running `/usr/lib/rust/1.82.0/bin/rustc --crate-name syd_cap --edition=2021 src/syd-cap.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C panic=abort -C lto=fat -C codegen-units=1 -C debuginfo=2 --cfg 'featur
rustc: /var/tmp/portage/dev-lang/rust-1.82.0-r100/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 FrameInde
error: could not compile `syd` (bin "syd")


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20241124-061002

  UNMASKED:
    Issues involving opaque types / incomplete typedefs should block bug 930805
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.4
llvm-config: 19.1.4
Python 3.12.7
go version go1.23.3 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.81.0
  [3]   rust-bin-1.82.0
  [4]   rust-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm
  [3]   openjdk-bin-21 


  HEAD of ::gentoo
commit 6e61ed46e0bbe50362fc92d812198eb3e94a9706
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Nov 30 19:33:23 2024 +0000

    2024-11-30 19:33:22 UTC

emerge -qpvO =sys-apps/syd-3.29.0
[ebuild     U ] sys-apps/syd-3.29.0 [3.28.5-r1] USE="-debug -static"
Comment 1 Toralf Förster gentoo-dev 2024-11-30 20:31:07 UTC
Created attachment 912882 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-30 20:31:08 UTC
Created attachment 912883 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-30 20:31:09 UTC
Created attachment 912884 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-30 20:31:10 UTC
Created attachment 912885 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-30 20:31:11 UTC
Created attachment 912886 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-30 20:31:13 UTC
Created attachment 912887 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-30 20:31:14 UTC
Created attachment 912888 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-30 20:31:15 UTC
Created attachment 912889 [details]
sys-apps:syd-3.29.0:20241130-201917.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-30 20:31:16 UTC
Created attachment 912890 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-12-08 07:04:55 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(+)