Post

Replies

Boosts

Views

Activity

mmap() fails on Big Sur beta10 Apple Silicon - TEST PROGRAM INCLUDED
Porting our application to beta10 Apple Silicon, we have a small test program that works on Mojave/Catalina (Intel). We haven't been able to install beta10 on Intel because VMware Fusion Pro 12.0.0 doesn't work with beta10. Here's a run on beta10/ARM: @macarm[git:master]$ cc -m64	-g -Wall -Werror -o mapfail mapfail.c @macarm[git:master]$ codesign -vvvv mapfail mapfail: valid on disk mapfail: satisfies its Designated Requirement @macarm[git:master]$ ./mapfail 10000000 10000 maping from 0x10000000 to 0x10010000 is OK Unable to reserve at 65536 (0x10000) bytes of memory for the test1 heap test1 not mapped @macarm[git:master]$ Here's a run on 10.15.7: @macdev[git:master]$ cc -m64	-g -Wall -Werror -o mapfail mapfail.c @macdev[git:master]$ codesign -vvv mapfail mapfail: code object is not signed at all In architecture: x86_64 @macdev[git:master]$ ./mapfail 10000000 10000 maping from 0x10000000 to 0x10010000 is OK Unable to reserve 0x10000000 for the test1 heap, using 0x109c14000 instead test1 heap mapped from 0x109c14000 to 0x109c25000 @macdev[git:master]$ This has stopped our app porting effort, since this is a basic error that doesn't even allow the app to start up. mapfail.c - https://developer.apple.com/forums/content/attachment/cff2cbda-0cd1-41ce-8d5d-3500a247d072
5
0
1.4k
Oct ’20
How to update Big Sur / arm64?
We have the mac mini with Big Sur / ARM and wanted to update it. However: softwareupdate -l Software Update ToolFinding available software The operation couldn't be completed. (NSURLErrorDomain error -1012.) And, we also used System Preferences > Software Update and it says: Unable to check for updates and then no available updates found, please try again later. We're having stability issues and wanted to update. We're running: Darwin macarm.local 20.0.0 Darwin Kernel Version 20.0.0: Sun Jun 14 21:36:36 PDT 2020; root:Bridge_xnu-7090.111.5.2~1/RELEASE_ARM64_T8020 arm64
3
1
1.4k
Aug ’20