Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934034 - dev-lang/rust-1.78.0 wasm target needs strip -maes also (maybe more) to build
Summary: dev-lang/rust-1.78.0 wasm target needs strip -maes also (maybe more) to build
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Randy Barlow
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-11 07:25 UTC by deim
Modified: 2024-06-11 15:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deim 2024-06-11 07:25:45 UTC
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