Created attachment 254591 [details] Patch to emulators/dosbox-staging/Makefile For some time, dosbox-staging has failed with SIGILL when installed from the FreeBSD package repositories. Building locally results in a working binary. After discussing with dosbox-staging developers on GitHub, this has been flagged as a bug in their meson build scripts causing `march=native` to be set. See https://github.com/dosbox-staging/dosbox-staging/issues/4020 Suggested workaround in attached patch: Pass the same MESON_ARGS as dosbox-staging uses in their own official builds until upstream has fixed the build scripts.
Sorry Mark, dunno what I was doing there (no description).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d7d4e43aebc2bf74335fd425cbc7f2d8045a16be commit d7d4e43aebc2bf74335fd425cbc7f2d8045a16be Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-10-29 20:47:31 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-10-29 20:47:31 +0000 emulators/dosbox-staging: Disable SIMD autodetection Disable SIMD autodetection when building official package. PR: 282381 Reported by: Eirik Oeverby emulators/dosbox-staging/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Should be fixed for newer packages. Thanks for report!
I forgot to bump the revision in my patch.. :(
(In reply to Eirik Oeverby from comment #4) > I forgot to bump the revision in my patch.. :( Not to worry, I have committed different patch and updated the port to latest version.
A commit in branch 2024Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0b5fd06395afc496d330fb44586496093b080a2 commit a0b5fd06395afc496d330fb44586496093b080a2 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2024-10-29 20:47:31 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2024-10-31 10:33:33 +0000 emulators/dosbox-staging: Disable SIMD autodetection Disable SIMD autodetection when building official package. PR: 282381 Reported by: Eirik Oeverby (cherry picked from commit d7d4e43aebc2bf74335fd425cbc7f2d8045a16be) emulators/dosbox-staging/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)