gollvm for LLVM13

203 views
Skip to first unread message

Khanh TN

unread,
Sep 21, 2021, 11:24:12 PM9/21/21
to golang-nuts
Hi,
While running the latest commit of gollvm (with latest commit of gofrontend, libbacktrace, libffi) with LLVM13 (commit llvmorg-13.0.0-rc3), I encountered this error: 

llvm-project/build13/tools/gollvm/libgo/version.go:9:6: error: redefinition of 'ArchFamilyType'
llvm-project/llvm/tools/gollvm/gofrontend/libgo/go/runtime/internal/sys/arch.go:17:7: note: previous definition of 'ArchFamily' was here


Is there a version that works with LLVM13 (preferably llvmorg-13.0.0-rc3)?

Thanks!

Khanh

Than McIntosh

unread,
Sep 22, 2021, 10:21:41 AM9/22/21
to Khanh TN, golang-nuts
Hi,

I've been in the process of updating gollvm to sync with the recently submitted Go 1.17 changes in gofrontend. I just checked in a couple of CLs that should help.

Please sync your gollvm client ; if you build with 0f0479aa582cfa3bd9c17bd7d41d2e2bc9991958 for gollvm (plus tip of gofrontend and LLVM llvmorg-13.0.0-rc3) that should work.

Thanks, Than


--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/846afef0-fd26-4eb2-aa36-90b6ccbdbb7bn%40googlegroups.com.

Khanh TN

unread,
Sep 22, 2021, 3:30:35 PM9/22/21
to golang-nuts
I will try that.
Thanks for your support!
Khanh

Khanh TN

unread,
Sep 23, 2021, 11:09:19 PM9/23/21
to golang-nuts
Hi, Than
Thanks a lot! It is working now.
go version is "unknown" but it is okay.
Khanh
Reply all
Reply to author
Forward
Message has been deleted
0 new messages