[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LFLAGS+=-Wl,-q causes ld to signal 11 during collect2
From: |
david . hagood |
Subject: |
LFLAGS+=-Wl,-q causes ld to signal 11 during collect2 |
Date: |
Fri, 24 Feb 2012 09:50:08 -0600 |
User-agent: |
SquirrelMail/1.4.21 |
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.
- LFLAGS+=-Wl,-q causes ld to signal 11 during collect2,
david . hagood <=