Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910268 - app-shells/mcfly-0.5.13 - rustc: .../InstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(cons
Summary: app-shells/mcfly-0.5.13 - rustc: .../InstructionPrecedenceTracking.cpp:97: vo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-12 16:17 UTC by Toralf Förster
Modified: 2023-12-10 07:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.42 KB, text/plain)
2023-07-12 16:17 UTC, Toralf Förster
Details
app-shells:mcfly-0.5.13:20230712-084519.log (app-shells:mcfly-0.5.13:20230712-084519.log,61.18 KB, text/plain)
2023-07-12 16:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.02 KB, text/plain)
2023-07-12 16:17 UTC, Toralf Förster
Details
environment (environment,100.93 KB, text/plain)
2023-07-12 16:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,780 bytes, application/x-xz)
2023-07-12 16:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,13.55 KB, application/x-xz)
2023-07-12 16:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.05 KB, application/x-xz)
2023-07-12 16:17 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 2023-07-12 16:17:12 UTC
too long lines were shrinked:

     Running `rustc --crate-name libsqlite3_sys /var/tmp/portage/app-shells/mcfly-0.5.13/work/cargo_home/gentoo/libsqlite3-sys-0.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugi
   Compiling rusqlite v0.15.0
     Running `rustc --crate-name rusqlite /var/tmp/portage/app-shells/mcfly-0.5.13/work/cargo_home/gentoo/rusqlite-0.15.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto --cfg 
   Compiling mcfly v0.5.13 (/var/tmp/portage/app-shells/mcfly-0.5.13/work/mcfly-0.5.13)
     Running `rustc --crate-name mcfly --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C metadata=960c1986e866fec3 -C extra-filename=-960c1986e866fec3 --out-dir
     Running `rustc --crate-name mcfly --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C metadata=26f709bfef60761e -C extra-filename=-26f709bfef60761e --out-dir /var/tmp/portage/app-
rustc: /var/tmp/portage/dev-lang/rust-1.70.0/work/rustc-1.70.0-src/src/llvm-project/llvm/lib/Analysis/InstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(const llvm::BasicBlock*) const: Assertion `It->second == nullptr && "Block is marked as having special instru
error: could not compile `mcfly` (bin "mcfly")


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20230709-084015

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.70.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.7_p7 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit b122693c16a8bc3892a079d2270faf1c276ad818
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jul 12 07:46:54 2023 +0000

    2023-07-12 07:46:53 UTC

emerge -qpvO app-shells/mcfly
[ebuild  N    ] app-shells/mcfly-0.5.13  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2023-07-12 16:17:13 UTC
Created attachment 865427 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-12 16:17:14 UTC
Created attachment 865428 [details]
app-shells:mcfly-0.5.13:20230712-084519.log
Comment 3 Toralf Förster gentoo-dev 2023-07-12 16:17:15 UTC
Created attachment 865429 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-07-12 16:17:17 UTC
Created attachment 865430 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-07-12 16:17:17 UTC
Created attachment 865431 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-12 16:17:18 UTC
Created attachment 865432 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-12 16:17:19 UTC
Created attachment 865433 [details]
temp.tar.xz
Comment 8 Fischl Anton 2023-12-10 07:06:46 UTC
after much testing (based on gentoo/stage3:amd64-desktop-systemd docker image), I found the following:

dev-lang/rust-bin-1.69.0-r1: compiles fine
dev-lang/rust-bin-1.71.0: compiles fine
dev-lang/rust-bin-1.72.0: compiles fine
dev-lang/rust-bin-1.73.0: compiles fine
dev-lang/rust-1.71.1 + sys-devel/llvm:16: doesn't compile
dev-lang/rust-1.73.0 + sys-devel/llvm:17: compiles fine
dev-lang/rust-1.74.1 + sys-devel/llvm:17: compiles fine

I conclude that this error is probable something about sys-devel/llvm:16 and/or dev-lang/rust-1.71.1
Workaround would be to either use dev-lang/rust-bin or use unstable sys-devel/llvm + dev-lang/rust

This bug should therefor "fix itself" as soon as sys-devel/llvm:17 and >=dev-lang/rust-1.73.0 is marked stable

Thanks to @pastalian on #gentoo-proxy-maint for pointing me towards llvm