Re: [go-nuts] Build fails when using gollvm toolchain instead of go

2020-05-26 Thread Ian Lance Taylor
On Tue, May 26, 2020 at 12:41 AM Martins Eglitis wrote: > > Thank you for the kind answer. I can not see the asm tool in the gollvm > toolchain. Or should I use something else? There is no asm tool in the GoLLVM toolchain. When building for GoLLVM the go tool will build assembly code using

Re: [go-nuts] Build fails when using gollvm toolchain instead of go

2020-05-26 Thread 'Martins Eglitis' via golang-nuts
Hi, Thank you for the kind answer. I can not see the asm tool in the gollvm toolchain. Or should I use something else? This is the go snippet: package asm // RteCompilerRmb is lfence func RteCompilerRmb() // RteCompilerWmb is sfence func RteCompilerWmb() // Prefetcht0 is prefetch func

Re: [go-nuts] Build fails when using gollvm toolchain instead of go

2020-05-25 Thread Ian Lance Taylor
On Mon, May 25, 2020 at 8:54 AM wrote: > > I've been trying to make this project https://github.com/intel-go/nff-go > using a freshly built gollvm to get the code compiled into LLVM IR. The > project builds fine when using the regular go toolchain, but when trying to > build with gollvm, I get

[go-nuts] Build fails when using gollvm toolchain instead of go

2020-05-25 Thread sitilge
Hi, I've been trying to make this project https://github.com/intel-go/nff-go using a freshly built gollvm to get the code compiled into LLVM IR. The project builds fine when using the regular go toolchain, but when trying to build with gollvm, I get errors such as below: ../../asm/asm.s: