New comment by lemmi on void-packages repository https://github.com/void-linux/void-packages/issues/21105#issuecomment-1229132479 Comment: So this made me have another look, whether I couldn't find a solution upstream. Seems like the flag is also necessary on macos, but they also add [`-DBUILD_SSE2_CODEPATHS=OFF`](https://github.com/macports/macports-ports/blob/2f8fe26bae7c95d4c9bb1c0b1eae2f8c8e6161f7/graphics/darktable-devel/Portfile#L139). That made me try to replace `-DUSE_OPENMP=OFF` with that: ```diff diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 9d0ba9ba70..58fd4fd818 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -40,6 +40,6 @@ fi case $XBPS_TARGET_MACHINE in aarch64*) - configure_args+=" -DUSE_OPENMP=OFF" + configure_args+=" -DBUILD_SSE2_CODEPATHS=OFF" ;; esac ``` Maybe someone can try whether this produces a working binary? Regardless, without `-DUSE_OPENMP=OFF` I still get ``` /builddir/darktable-4.0.0/src/common/iop_profile.h:286:20: warning: GCC does not currently support mixed size types for 'simd' functions 286 | static inline void dt_ioppr_rgb_matrix_to_xyz(const dt_aligned_pixel_t rgb, dt_aligned_pixel_t xyz, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ``` But these issues are now warnings (at least with `darktable-4.0`), not errors anymore and `darktable` compiles.