5 ms·
Huh, this is timely. Incredibly random but: do you know if there was anything that changed as of Ventura to where trying to mmap below the 2/4GB boundary would
by Klonoar 4y ago
Huh, this is timely. Incredibly random but: do you know if there was anything that changed as of Ventura to where trying to mmap below the 2/4GB boundary would no longer work in Rosetta 2? I've an app where it's worked right up to Monterey yet inexplicably just bombs in Ventura.
- anyfoo 4y agoNot affiliated and don't know, but curious why you're doing that in the first place?
- Klonoar 4y ago's not my doing, it's just an older project that's slowly migrating to a newer system but is held back by everyone having lives. I wouldn't do it normally, heh.
- saagarjha 4y agoPretty sure mmap goes almost directly to the kernel in Rosetta 2, and Apple silicon requires at least 4 GB.
- Klonoar 4y agoThis works fine in Big Sur and Monterey on Apple Silicon, hence my point about if something changed in Ventura. Edit: Big Sur -> Ventura.
- mrpippy 4y agoThis should work (Wine obviously needs it when running 32-bit apps). Are you explicitly specifying a small PAGEZERO when compiling?
- Klonoar 4y agoYup!