Simon Atanasyan
2013-Dec-07 21:33 UTC
[LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
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
Mikael Lyngvig
2013-Dec-08 06:45 UTC
[LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131208/0a64dba8/attachment.html>
Rui Ueyama
2013-Dec-09 02:04 UTC
[LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
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/7328c322/attachment.html>
Maybe Matching Threads
- [LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
- [LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
- [LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
- [LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.
- [LLVMdev] GNU LLD build error? Seems that Clang likes LLD just fine.