macOS 12 (Monterey) compatibility #344
Replies: 2 comments 3 replies
-
This workaround didn't work for me.
Running
I'm on an Intel iMac running macOS Monterey 12.2.1, using v9.2.2 of the toolchain (latest as of this post). |
Beta Was this translation helpful? Give feedback.
3 replies
-
An actual solution was found upstream, and I've tested it successfully on my macOS setup :D I suppose we'll be able to have it for the next toolchain release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UPDATE June 2022:
Just download the latest release, everything is ready to use :)
UPDATE MARCH 2022:
You can simply replace your local fasmg binary from the one in the upstream release at the bottom of https://flatassembler.net/download.php (flat assembler g). The binary will be in the source/macos/x64 folder.
The program
fasmg
(used as assembler and linker in the toolchain) is known not to work correctly anymore when run on macOS 12 (Monterey) due to a memory allocation issue.There is no fix yet however a workaround exists, which consists in injecting GuardMalloc to fasmg when running it.
To do so automatically in the toolchain:
meta/makefile.mk
with a text editor, located in your toolchain installation folder (for example inside~/CEdev
)FASMGLD
definition (line 83 currently) byFASMGLD = DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib $(call NATIVEPATH,$(BIN)/fasmg)
This has only been tested on Intel macs so far, not Apple Silicon (M1 etc) yet.
Beta Was this translation helpful? Give feedback.
All reactions