a57c02a4ea
Buxybox's init segfault when built with x86 musl toolchain due to
recent changes about sha1 and sha156 hwaccel support in Busybox 1.36.0.
From Alpinelinux [1]:
"main/busybox: disable sha hwaccel
the flag check for this seems incorrect- it triggers sha_ni use when
the instructions aren't available, but avx512vl/bw is - Elly on irc
causes failures in github actions, which have avx512 but no sha_no"
The flag check was supposed to be fixed upstream by commit [2].
But init still crash with the latest 1_36_stable (with backported patch)
and master branch...
The same workaround has been applied to openembedded-core [3], which
states that they also have the issue with glibc.
Disable hardware sha acceleration on x86 (not x86_64), to avoid the
issue.
Checked that qemu_x86_64_defconfig with musl for x86_64 for core2 boot
as expected with sha hwaccel enabled.
Fixes:
https://gitlab.com/buildroot.org/toolchains-builder/-/jobs/4202276721
[1] https://git.alpinelinux.org/aports/commit/main/busybox?id=ae2cfdf6f6da3dc46ee09d8ceafa26921f6e058e
[2] https://git.busybox.net/busybox/commit/?id=bd76b75f72f717150b909e8c64edfda725cabe11
[3]
|
||
---|---|---|
.. | ||
0001-networking-libiproute-use-linux-if_packet.h-instead-.patch | ||
0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch | ||
0003-libbb-sockaddr2str-ensure-only-printable-characters-.patch | ||
0004-nslookup-sanitize-all-printed-strings-with-printable.patch | ||
busybox-minimal.config | ||
busybox.config | ||
busybox.hash | ||
busybox.mk | ||
Config.in | ||
inittab | ||
mdev.conf | ||
S01syslogd | ||
S02klogd | ||
S02sysctl | ||
S10mdev | ||
S15watchdog | ||
S50telnet | ||
telnetd.service | ||
udhcpc.script |