Skip to content

Julia fails to build on M1, MacOS 12.0 Beta6 #42184

Closed
@jeremiahpslewis

Description

@jeremiahpslewis

Commit hash: bea33d61de0200ac026dd637864356a15bda2d91; though the issue has been going on for days / prev commits; on 11.x, had no trouble successfully building in the past.

>  versioninfo()

Platform Info:
  OS: macOS (arm64-apple-darwin20.5.0)
  CPU: Apple M1
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, cyclone)

Build output (on a clean repo; make cleanall does not resolve the issue):

...
ordering.jl
sort.jl
fastmath.jl
Enums.jl
gmp.jl
ryu/Ryu.jl
ryu/utils.jl

signal (10): Bus error: 10
in expression starting at ryu/utils.jl:347
__gmpn_mul_1 at /Users/jeremiahlewis/git/julia/usr/lib/libgmp.10.dylib (unknown line)
Allocations: 22116735 (Pool: 22110768; Big: 5967); GC: 27
/bin/sh: line 1: 10971 Bus error: 10           JULIA_BINDIR=/Users/jeremiahlewis/git/julia/usr/bin WINEPATH="/Users/jeremiahlewis/git/julia/usr/bin;$WINEPATH" /Users/jeremiahlewis/git/julia/usr/bin/julia -g1 -O0 -C "apple-a12" --output-ji /Users/jeremiahlewis/git/julia/usr/lib/julia/sys.ji.tmp --startup-file=no --warn-overwrite=yes --sysimage /Users/jeremiahlewis/git/julia/usr/lib/julia/corecompiler.ji sysimg.jl ./
*** This error might be fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/Users/jeremiahlewis/git/julia/usr/lib/julia/sys.ji] Error 1
make: *** [julia-sysimg-ji] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    external dependenciesInvolves LLVM, OpenBLAS, or other linked librariessystem:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions