On Tue, 23 Sep 2025, Harish Raja Selvan wrote:
Following up on the discussion above on ARM64EC support, I’ve prepared a patch to update gas-preprocessor.pl that enables FFmpeg to be compiled for ARM64EC target on Windows. This change ensures that -m flags are not eliminated for ARM64EC target, allowing assembly files to preprocess as expected. This avoids build failures.
It is entirely unclear to me what -m flags you would expect to be seeing here. I can understand the part of the patch to filter out the flag -arm64EC, but I don't see where a flag "ARM64EC" would come from for preprocess_c_cd, or where any -m flags would come from.
To make sense of the patch, I would suggest you at least explain what kind of configure flags you are using in combination with these patches.
My attempts with ARM64EC with MSVC are configured with --arch=arm64 --target-os=win32 --toolchain=msvc --extra-cflags="-arm64EC" --extra-ldflags="-machine:arm64ec". I guess you are doing something other than that, if you're getting -m flags somewhere.
Ideally, post both your build system patches and the gas-preprocessor patch at the same time.
Also, don't top post. // Martin _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
