This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ArmIE emulator 21.0 Segfault enabling SVE

Hi,

I am trying to run the ArmIE emulator. I compiled the source file with ARM C Compiler for SVE by using:

armclang -O3 -march=armv8-a+sve -o hello hello.c
armie -msve-vector-bits=512 ./hello

But get an error message:

armie's SVESigHandler caught signal SIGSEGV from the process being emulated, passing it to the default signal handler. Guest process terminated by signal: 9513 Segmentation fault ./hello

What am I doing wrong?

// hello.c
#include <stdio.h>
int main() {
   printf("Hello, World!");
   return 0;
}
Parents
  • Hi,


    This may not be related to ArmIE or SVE: the ./hello program segfaults in the first place. Have you tried to compile and run without it to check if it crashes too?

    armclang -O3 -march=armv8-a -o hello hello.c
    ./hello

    If it does and if you fix the segfault in the application, you should be able to recompile for SVE and use ArmIE without any problem.

    Florent

Reply
  • Hi,


    This may not be related to ArmIE or SVE: the ./hello program segfaults in the first place. Have you tried to compile and run without it to check if it crashes too?

    armclang -O3 -march=armv8-a -o hello hello.c
    ./hello

    If it does and if you fix the segfault in the application, you should be able to recompile for SVE and use ArmIE without any problem.

    Florent

Children