[LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.

Simon Atanasyan simon at atanasyan.com
Sat Dec 7 13:33:36 PST 2013


On Sat, Dec 7, 2013 at 10:00 PM, Duncan P. N. Exon Smith
<dexonsmith at apple.com> wrote:
> On 2013 Dec 7, at 04:23, Mikael Lyngvig <mikael at lyngvig.org> wrote:
>
>> I am using the -std=c++11 flag to GCC.
>
> I didn’t even look at your errors, but my understanding is that -std=gnu++11 is more used (and much better tested) than -std=c++11.  Any chance that fixes it for you?

FYI

The same problem on gcc 4.7/4.8/4.9 with -std=c++11 and -std=gnu++11.
It looks like a bug in the gcc but that fact does not help to build
lld.

-- 
Simon




More information about the llvm-dev mailing list