New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SIGILL in debugger on ARM Macs #815
Comments
Do you have a reproducer? Can you try if you see the same issue on M1 (I only have access to M1). |
Background Btw, "CPUID" means LIBXSMM attempts to select the best possible implementation on every supported platform. This is reasonable since code it generated at runtime anyway (independent of the compiler flags denoting the target). Also, using whatever compiler flag to make code more specific to a target is not expected to impact performance. Desired behavior
We want you "to run fine" if you build LIBXSMM with |
Thanks for your replies!
This means I have to re-link my program to a debug build of libxsmm when I want to run it through a debugger, even if I'm not trying to debug anything related to libxsmm. That would be rather inconvenient. May I suggest instead to use an environment variable to specify the architecture and skip raising any signals if the environment variable is defined? From a brief inspection of the code that is what I thought
|
@hfp : any updates on this? |
When running a program that links libxsmm in a debugger on ARM Macs I first get a
EXC_BAD_INSTRUCTION
, and when I skip those I getSIGILL
. When skipping all of that I can run the program fine.I have tried to set the
LIBXSMM_TARGET=arm64
env variable, but that didn't help. Does anyone have a good solution here?Environment:
make
The text was updated successfully, but these errors were encountered: