I have spent the past couple of days tracking down why my builds all fail
with
collect2: ld terminated with signal 11 [Segmentation fault]
This was 100% repeatable with binutils 2.20 and 2.22, on multiple
architectures (X86 and ARM).

I finally found that the cause was passing
LFLAGS+=-Wl,-q
to the compiler (asking LD to emit relocation records).

Removing this flag allowed the link to run.

Since Google-ing for this error never seems to yield any sort of
suggestions to try to fix this, I thought I'd share my results.



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to