WohlSoft / LuaJIT

Fork of LuaJIT repository which adds CMake build and a small change that forces usage of UTF8 (instead of ANSI) in file system paths on Windows
http://luajit.org
Other
40 stars 16 forks source link

Don't set image_base or pagezero_size if using LUAJIT_ENABLE_GC64 #19

Closed nevyn closed 3 years ago

nevyn commented 3 years ago

These options break the dyld linker cache on macOS Big Sur, which in turns means it fails to load system libraries on startup, which means no app can work.

LUAJIT_ENABLE_GC64 obviates these options, so make sure not to set these options if GC64 is enabled.

Wohlstand commented 3 years ago

I see, thanks for the patch! :+1:

nevyn commented 3 years ago

See annoyed Twitter rant at https://twitter.com/nevyn/status/1331217137889931269.

See Mark Rowe's reply (who is an ex-Apple/Google engineer) here: https://twitter.com/bdash/status/1331288345498980357 There is a share region overlap, which disables the dyld cache, which makes system libraries unlinkable, which means executables can't start.

nevyn commented 3 years ago

haha wow I didn't even have time to post my clarification comment :) Thank you for the fast merge!!