Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-14 Thread Khanh TN
Ah, thanks This will help me a lot Khanh On Thursday, April 15, 2021 at 1:13:17 AM UTC+8 th...@google.com wrote: > Hi again, > > Not quite sure what you are asking-- > > If you want to generated LLVM bitcode and then use that with your version > 10 llvm tools, then you'll either need to build a

Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-14 Thread 'Than McIntosh' via golang-nuts
Hi again, Not quite sure what you are asking-- If you want to generated LLVM bitcode and then use that with your version 10 llvm tools, then you'll either need to build a version-10 compatible gollvm, or you'll need to upgrade the LLVM used by your tools/project. You can try building a V10-compa

Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-14 Thread Khanh TN
Hi Ian, My project is currently running on LLVM10. If I want to use gollvm, do I just have to upgrade to the latest commits? Thanks Khanh On Wednesday, April 14, 2021 at 11:08:36 PM UTC+8 Khanh TN wrote: > Thanks, > I see it's hard to keep syncing with LLVM. They have new commits every > minute

Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-14 Thread Khanh TN
Thanks, I see it's hard to keep syncing with LLVM. They have new commits every minute Khanh On Wednesday, April 14, 2021 at 10:53:13 PM UTC+8 th...@google.com wrote: > OK, I checked in https://go-review.googlesource.com/c/gollvm/+/310069, > should be resolved now. Thanks for reporting. > > On

Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-14 Thread 'Than McIntosh' via golang-nuts
OK, I checked in https://go-review.googlesource.com/c/gollvm/+/310069, should be resolved now. Thanks for reporting. On Tue, Apr 13, 2021 at 7:30 PM Than McIntosh wrote: > Thanks for reporting. I'll look into sending a CL. > > Cheers, Than > > > On Tue, Apr 13, 2021 at 6:09 PM Khanh TN wrote: >

Re: [go-nuts] Building gollvm fails on the latest commit

2021-04-13 Thread 'Than McIntosh' via golang-nuts
Thanks for reporting. I'll look into sending a CL. Cheers, Than On Tue, Apr 13, 2021 at 6:09 PM Khanh TN wrote: > Hi, I'm building gollvm with both gollvm and LLVM on the latest commit. > It fails and the error reads: > [..]/llvm-project/llvm/tools/gollvm/passes/GoNilChecks.cpp:363:23: error:

[go-nuts] Building gollvm fails on the latest commit

2021-04-13 Thread Khanh TN
Hi, I'm building gollvm with both gollvm and LLVM on the latest commit. It fails and the error reads: [..]/llvm-project/llvm/tools/gollvm/passes/GoNilChecks.cpp:363:23: error: ‘NoAlias’ was not declared in this scope if (AAResult != NoAlias) ^~~ [..]/llvm-project/