Open hpreusse opened 11 months ago
@hpreusse This looks like mimalloc
fails to link, not luametatex
, but anyway, you need to pass -latomic
flag.
@hpreusse This looks like
mimalloc
fails to link, notluametatex
, but anyway, you need to pass-latomic
flag.
Yeah, looks like. So, this issue could have been solved by upgrading mimalloc (which was done in the last few month). I'll test if the patch I'm using is still needed (we link dynamically anyway).
@hpreusse This looks like
mimalloc
fails to link, notluametatex
, but anyway, you need to pass-latomic
flag.Yeah, looks like. So, this issue could have been solved by upgrading mimalloc (which was done in the last few month). I'll test if the patch I'm using is still needed (we link dynamically anyway).
Do they have a working test for it? We still add an option manually, though it could be outdated: https://github.com/macports/macports-ports/blob/f0387ce27bf3c62212c2bcabce601b1cb2a4897d/devel/mimalloc/Portfile#L52-L55
P. S. Out of curiosity, which hardware do you run m68k on? Pre-PowerPC Apple?
Building (linking) the luametatex binary on some arches fails, as mimalloc uses symbols, which are only available in the atomic library. I run on Debian unstable and use gcc-13.
After adding the atomc lib, linking works fine:
The full build logs are visible here.