sha256sum Illegal instruction on musl amd64

ben.busybox at backplane.be ben.busybox at backplane.be
Wed Mar 1 11:46:03 UTC 2023


On 1 Mar 2023, at 11:55 AM, alice <alice at ayaya.dev> wrote:
> 
> On Tue Feb 28, 2023 at 11:17 PM CET,  wrote:
>> Hi,
>> 
>> I'm having an intermittent issue with "BusyBox v1.36.0 (2023-01-03 22:49:12
>> UTC)" (the one from the Docker image busybox:musl) when running on amd64 GitHub
>> actions runner VMs (azure).
>> 
> 
> this was also reported in http://lists.busybox.net/pipermail/busybox/2023-January/090113.html
> 
> it's caused by having a cpu with AVX512 (the github runners do) but not sha_ni,
> and the code that checks it is broken and misdetects sha_ni support when avx512
> exists. the github runners don't have sha_ni, so it breaks exactly there.
> 
> quite the rare combo :)
> 
> i feel this was reported before, but apparently not outside an irc channel..

Thank you! (And sorry I didn't find that myself. I swear I searched.)



More information about the busybox mailing list