You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to get it to build by using gcc instead of clang. I installed gcc with Homebrew: brew install gcc
The makefile respects the CC environment variable.
I believe gcc is a symbolic link by default to clang on macOS (or this is at least true after Xcode has been installed). To get around this, I specified the version of gcc that I was using. The versions that bash knows of can be seen by typing in gcc in the console followed by two tabs.
On my computer, I had gcc-7.
To build I used:
export CC=gcc-7
make
Alternatively, I think that gcc could be added to the path before the symbolic link to clang.
The __builtin_cpu_supports function is not defined.
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/X86-Built-in-Functions.html
The text was updated successfully, but these errors were encountered: