Skip to content

Instantly share code, notes, and snippets.

@kaityo256
Created February 22, 2019 10:03
Show Gist options
  • Save kaityo256/05ee231003fd30d51eeed8da9187dc2c to your computer and use it in GitHub Desktop.
Save kaityo256/05ee231003fd30d51eeed8da9187dc2c to your computer and use it in GitHub Desktop.
SIGILL on MAC again
int hoge() {
}
int main() {
hoge();
}
@kaityo256
Copy link
Author

$ g++ -O3 test.cpp
$ ./a.out  
zsh: illegal hardware instruction  ./a.out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment