dev-lang/go build fails with ``illegal instruction`` I'm using hardened-nomultilib with my new pc that has Intel alderlake cpu Reproducible: Always Steps to Reproduce: 1. emerge go Actual Results: + ./cmd/dist/dist bootstrap -a Building Go toolchain1 using /usr/lib/go-bootstrap. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. SIGILL: illegal instruction PC=0x466bf6 m=10 sigcode=2 instruction bytes: 0x66 0xf 0x38 0xdc 0xd2 0x66 0xf 0x38 0xdc 0xdb 0x66 0xf 0x38 0xdc 0xd2 0x66 Expected Results: Successful build
Created attachment 859879 [details] emerge --info '=dev-lang/go-1.20.3::gentoo'
Created attachment 859880 [details] build log
This error occurs so randomly once i can emerge syncthing the other times it fails I assume it's a hardening feature that doesn't function well with go
If this is a new PC, maybe you have some bad RAM? That might cause sporadic illegal instructions.
No i used go on archlinux without any issues and just to make sure i ran memtest86 tests for an hour and it passed
so nobody cares? this issue solely relates to gentoo but still nobody come and say a thing that would help solve this issue
sorry for being rude it was all my fault; looks like alderlake doesn't like overclocking E-cores results in instabilities.
Thanks for explaining.