diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2024-01-01 21:50:44 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-01-04 11:44:22 +0100 |
commit | 687372e2a25453edcc6dca8748d7cb22782678e4 (patch) | |
tree | 271009d647d9f09ec37404a5deed88d624f97a23 /ci | |
parent | 6e5fd52dde9ff2cef3ff5b8d6b2b59bc4dd0ebbd (diff) | |
download | mpv-687372e2a25453edcc6dca8748d7cb22782678e4.tar.bz2 mpv-687372e2a25453edcc6dca8748d7cb22782678e4.tar.xz |
ci/build-freebsd: use march=native for QEMU hosted build
This is workaround to not emit instructions that are broken with current
version of QEMU used in CI job.
Fixes SIGBUS on valid code when executed in QEMU caused by issue with
CVTPS2PD instruction.
QEMU issue:
https://gitlab.com/qemu-project/qemu/-/issues/1377
QEMU fix:
https://gitlab.com/qemu-project/qemu/-/commit/abd41884c530aa025ada253bf1a5bd0c2b808219
Should be resolved after QEMU update to 8.2.0:
https://github.com/cross-platform-actions/action/issues/78
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/build-freebsd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/build-freebsd.sh b/ci/build-freebsd.sh index c393fb25fe..e272ef6774 100755 --- a/ci/build-freebsd.sh +++ b/ci/build-freebsd.sh @@ -9,7 +9,7 @@ export LDFLAGS="$LDFLAGS -L/usr/local/lib" meson setup build \ --werror \ - -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations -march=native" \ -Diconv=disabled \ -Dlibmpv=true \ -Dlua=enabled \ |