Error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core
dumped
compilation terminated.
Version: binutils 2.29.1
How to reproduce:
1. create source file: hello.c
#include <stdio.h>
int main (int argc, char **argv)
{
printf("hello world!");
}
2. compile with these options:
gcc -Wl,-Map,hello.map hello.c => works ok
gcc -static hello.c => works ok
gcc -static -Wl,-Map,hello.map hello.c => segfault
.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils