mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-26 10:52:16 -09:00
package/nettest: needs SSE2 on i386
nettest depends, through rustls, quinn and rcgen, on the ring crate,
which refuses to build for 32-bit x86 targets without SSE and SSE2:
error[E0080]: evaluation panicked: assertion failed: cfg!(target_feature = "sse") && cfg!(target_feature = "sse2")
--> .../VENDOR/ring/src/cpu/intel.rs:26:9
This affects i586 and i686-class CPUs that lack SSE2
Make nettest depend on SSE2 support when building for i386.
Fixes: https://autobuild.buildroot.org/results/d04f770538412bee77851142ee007f2ff107e0ec
Fixes: 36fa003547 ("package/nettest: new package")
Signed-off-by: Bogdan Radulescu <bogdan@nimblex.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
86cf0d32dd
commit
aaafd2d6d9
@@ -1,6 +1,8 @@
|
||||
config BR2_PACKAGE_NETTEST
|
||||
bool "nettest"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
# i386: needs SSE2 for the ring crate
|
||||
depends on !(BR2_i386 && !BR2_X86_CPU_HAS_SSE2)
|
||||
select BR2_PACKAGE_HOST_RUSTC
|
||||
help
|
||||
nettest measures download and upload throughput, latency,
|
||||
|
||||
Reference in New Issue
Block a user