Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908048 - net-vpn/vpncloud-2.3.0 - rustc: .../InstructionPrecedenceTracking.cpp:97: void llvm::InstructionPrecedenceTracking::validate(const
Summary: net-vpn/vpncloud-2.3.0 - rustc: .../InstructionPrecedenceTracking.cpp:97: voi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 07:55 UTC by Toralf Förster
Modified: 2023-12-10 07:07 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.83 KB, text/plain)
2023-06-08 07:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.15 KB, text/plain)
2023-06-08 07:55 UTC, Toralf Förster
Details
environment (environment,90.34 KB, text/plain)
2023-06-08 07:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-06-08 07:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.66 KB, application/x-xz)
2023-06-08 07:55 UTC, Toralf Förster
Details
net-vpn:vpncloud-2.3.0:20230608-063024.log (net-vpn:vpncloud-2.3.0:20230608-063024.log,110.75 KB, text/plain)
2023-06-08 07:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.86 KB, application/x-xz)
2023-06-08 07:55 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-06-08 07:55:11 UTC
help: remove these parentheses
    |
372 -             '0'..='9' => ((c as usize) % ('0' as usize)),
372 +             '0'..='9' => (c as usize) % ('0' as usize),
    |

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 instructions but in fact it  has " "none!"' failed.
warning: `vpncloud` (bin "vpncloud") generated 1 warning (run `cargo fix --bin "vpncloud"` to apply 1 suggestion)
The following warnings were emitted during compilation:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20230606-134004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.5
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.5
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.70.0
  [2]   rust-1.70.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit f4467fe5c04e03def242b5beb21b91b605dfe2fc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 8 05:16:59 2023 +0000

    2023-06-08 05:16:59 UTC

emerge -qpvO net-vpn/vpncloud
[ebuild  N    ] net-vpn/vpncloud-2.3.0  USE="-debug -man"
Comment 1 Toralf Förster gentoo-dev 2023-06-08 07:55:12 UTC
Created attachment 863538 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-08 07:55:14 UTC
Created attachment 863539 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-08 07:55:15 UTC
Created attachment 863540 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-08 07:55:16 UTC
Created attachment 863541 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-08 07:55:16 UTC
Created attachment 863542 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-08 07:55:18 UTC
Created attachment 863543 [details]
net-vpn:vpncloud-2.3.0:20230608-063024.log
Comment 7 Toralf Förster gentoo-dev 2023-06-08 07:55:19 UTC
Created attachment 863544 [details]
temp.tar.xz
Comment 8 Fischl Anton 2023-12-10 07:07:07 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