Summary: | dev-lang/rust wasm target needs strip -maes also (maybe more) to build in chroot | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | deim <deim> |
Component: | Current packages | Assignee: | Randy Barlow <randy> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | darkdexter, deim, dememax, matoro_gentoo, navi, robert, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
filter -maes also to build wasm target in chroot also
filter -maes also to build wasm target in chroot also |
Thanks for informing! The same problem. Created attachment 904888 [details, diff]
filter -maes also to build wasm target in chroot also
Please apply this patch to actual rust ebuilds and keep in incomming versions. Thanks :-)
Created attachment 904892 [details, diff]
filter -maes also to build wasm target in chroot also
To reproduce problem try to manually set to CFLAGS -maes and emerge will complain wasm don't support aes. |
wasm target doesn't compile with -maes flag set. I use this flag on PC to build bin packages for low-end laptop. Maybe more flags should be filtered. 508c508 < export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*'; echo "$CFLAGS")" --- > export CFLAGS_${wasm_target//-/_}="$(filter-flags '-mcpu*' '-march*' '-mtune*' '-maes*'; echo "$CFLAGS")" Reproducible: Always