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

Mikael Lyngvig mikael at lyngvig.org
Mon Dec 9 03:45:33 PST 2013


I tried this command to undo the change (which should revert to the change
just before the one you mentioned):

   svn update -rr196474

Then I built from scratch. This time it built, so I suppose it is revision
196475 that is the problem.


-- Mikael



2013/12/9 Rui Ueyama <ruiu at google.com>

> We should make LLD to be able to build with GCC even if GCC is a bit
> buggy. So you wrote that it's no longer build because of the recent change
> of makeArrayRef removal? I think it's my change (r196475).
>
> Can you confirm that you can build if you revert that change? If it has
> caused the build with GCC to break, we should roll it back.
>
>
> On Sun, Dec 8, 2013 at 3:45 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote:
>
>> Yup, I can confirm that.  Then the question is if LLD shouldn't compile
>> with GNU, even if GNU is buggy.  Personally, I think it is worth a lot to
>> be able to build with GCC, but I don't know how the LLD developers feel
>> about that.
>>
>> -- Mikael
>>
>>
>> 2013/12/7 Simon Atanasyan <simon at atanasyan.com>
>>
>>> 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
>>>
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131209/5397983b/attachment.html>


More information about the llvm-dev mailing list