Skip to content

Commit

Permalink
ci/build-freebsd: use march=native for QEMU hosted build
Browse files Browse the repository at this point in the history
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:
cross-platform-actions/action#78
  • Loading branch information
kasper93 authored and sfan5 committed Jan 4, 2024
1 parent 6e5fd52 commit 687372e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build-freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 687372e

Please sign in to comment.