Re: [go-nuts] How to verify whether gollvm is picked

2021-06-29 Thread Kavindu Gimhan Zoysa
Now `go version` command shows the follwing output *go version* *go: Symbol `syscall..types' has different size in shared object, consider re-linking* *go: Symbol `runtime..types' has different size in shared object, consider re-linking* *go version go1.15.3 gollvm LLVM 11.0.1 linux/amd64* It h

Re: [go-nuts] How to verify whether gollvm is picked

2021-06-29 Thread Kavindu Gimhan Zoysa
Is that okay if I change `/usr/bin/clang-10` to `/usr/bin/clang-11`? Because I have installed clang-11. Thank you, Kavindu On Tuesday, 29 June 2021 at 18:16:17 UTC+5:30 th...@google.com wrote: > If would help if you could share your exact cmake invocation I think. > > If your cmake invocation l

Re: [go-nuts] How to verify whether gollvm is picked

2021-06-29 Thread 'Than McIntosh' via golang-nuts
If would help if you could share your exact cmake invocation I think. If your cmake invocation looks like cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/tmp/myinstall \ -DCMAKE_C_COMPILER=/usr/bin/clang-10 \ -DCMAKE_ASM_COMPILER=/usr/bin/clang-10 \ -DCMAKE_CXX_

Re: [go-nuts] How to verify whether gollvm is picked

2021-06-28 Thread eric...@arm.com
I don't know why you can't see 'gccgo' or 'gollvm', on my machine, For main Go, $ go version go version go1.16.2 linux/arm64 For gccgo, $ go version go version go1.14.2 gccgo (GCC) 11.0.0 20200603 (experimental) linux/arm64 For gollvm, $ go version go version go1.16.5 gollvm LLVM 13.0.0git linux/am

Re: [go-nuts] How to verify whether gollvm is picked

2021-06-28 Thread Kavindu Gimhan Zoysa
Thank you. In `go version` command I cannot see `gccgo` or `gollvm` But in `go build -x` command has mentioned that, `llvm-goc` is running located at `/usr/local/bin`. On Monday, 28 June 2021 at 02:53:53 UTC+5:30 Ian Lance Taylor wrote: > On Sat, Jun 26, 2021 at 11:59 PM Kavindu Gimhan Zoysa >

Re: [go-nuts] How to verify whether gollvm is picked

2021-06-27 Thread Ian Lance Taylor
On Sat, Jun 26, 2021 at 11:59 PM Kavindu Gimhan Zoysa wrote: > > I have ran the commands in https://go.googlesource.com/gollvm/#installing, (I > did not run `ninja install-gollvm`). Then I set the path of bin folder to my > $PATH using `export PATH=build-debug/bin:$PATH`. > > Finally, I was able

[go-nuts] How to verify whether gollvm is picked

2021-06-26 Thread Kavindu Gimhan Zoysa
Hi all, I have ran the commands in https://go.googlesource.com/gollvm/#installing, (I did not run `ninja install-gollvm`). Then I set the path of bin folder to my $PATH using `export PATH=build-debug/bin:$PATH`. Finally, I was able to run `go build/run test.go` successfully. But my problem is