when I try to compile a statically linked binary for profiling
I get the following error:
blob:/tmp >echo "int main(int argc, char **argv) { for (;;); }" > test.c
blob:/tmp >gcc -static -pg -o test test.c
blob:/tmp >./test
ELF binary type "0" not known.
Abort trap
without -static or -pg it works ok.
Johannes