-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Closed
Labels
Description
I am unable to get micropython to work on my Mac Mini M1.
I get segfaults very often. 43% of the tests in make test fail.
I have done:
git pull
cd ports/unix
make clean submodules
make
Here's an easy test case:
[ned@Neds-mini [ (git)-[master]-] ports/unix] % build-standard/micropython
MicroPython v1.20.0-189-gfd277704c on 2023-06-10; darwin [GCC 4.2.1] version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> a = array()
zsh: segmentation fault build-standard/micropython
I'm running an Apple Mac Mini (M1, 2020) under Ventura 13.4
git commit hash: fd27770
ports/unix
uname -a reports: Darwin Neds-mini 22.5.0 Darwin Kernel Version 22.5.0: Tue Apr 25 04:07:22 PDT 2023; root:xnu-8796.121.2~8/RELEASE_ARM64_T8103 arm64
make test reports almost 50% failed tests:
880 tests performed (28760 individual testcases)
494 tests passed
46 tests skipped: cmd_parsetree native_closure ...
386 tests failed: array1 array_micropython assign_expr_syntaxerror ...
[ned@Neds-mini [ (git)-[master]-] ports/unix] % clang --version
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin