8000 Make error if gfortran installed on Apple M1 machine · Issue #3032 · OpenMathLib/OpenBLAS · GitHub
[go: up one dir, main page]

Skip to content < 8000 link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog.f8fba3bd67fe74f9227b.module.css" />
Make error if gfortran installed on Apple M1 machine #3032
@picn0113

Description

@picn0113

Numpy needs OpenBLAS for building.

make

gfortran -O2 -Wall -frecursive -fno-optimize-sibling-calls  -march=armv8-a  -o sblat1 sblat1
58D3
.o ../libopenblas_armv8p-r0.3.12.dev.a -lpthread -lgfortran -lpthread -lgfortran -L/usr/local/lib  -lto_library -lSystem  /Library/Developer/CommandLineTools/usr/lib/clang/12.0.0/lib/darwin/libclang_rt.osx.a 
ld: library not found for -lm
collect2: error: ld returned 1 exit status
make[1]: *** [sblat1] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [tests] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug in other softwareCompiler, Virtual Machine, etc. bug affecting OpenBLAS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0