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 xrun1 committed Mar 12, 2024
1 parent b18586e commit 29c5238
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 29c5238

Please sign in to comment.