Segmentation Fault
You're viewing a single thread.
Support for the a.out format was deprecated in Linux kernel version 5.1, and support for the format was removed across the 5.18 and 5.19 kernel releases.
https://en.wikipedia.org/wiki/A.out
For "reasons" GCC outputs "a.out" as the default file name, even if the output format is actually, ELF, PE, or whatever.
Override this behaviour with the -o option.