OK, fix https://go-review.googlesource.com/c/gollvm/+/331729 submitted. Thanks for reporting.
Than On Tue, Jun 29, 2021 at 1:30 PM Than McIntosh <th...@google.com> wrote: > I sent a CL to fix this, please stay tuned. > https://go-review.googlesource.com/c/gollvm/+/331729 > > Thanks, Than > > > On Sun, Jun 27, 2021 at 12:22 AM Kavindu Gimhan Zoysa < > kavindu...@gmail.com> wrote: > >> Hi, >> >> *cmake -DCMAKE_INSTALL_PREFIX=/my/install/dir -DCMAKE_BUILD_TYPE=Release >> -DLLVM_USE_LINKER=gold -G Ninja ../llvm-project/llvm* >> I have tried to run the above command with updated third-party >> repositories(latest llvm-project) and got the below error. Any idea on this? >> >> *error: ‘class llvm::opt::OptTable’ has no member named ‘PrintHelp’; did >> you mean ‘printHelp’?* >> * 104 | opts_->PrintHelp(errs(), progname, "Gollvm (LLVM-based Go >> compiler)",* >> * | ^~~~~~~~~* >> * | printHelp* >> *ninja: build stopped: subcommand failed.* >> >> >> On Thursday, 24 June 2021 at 23:25:20 UTC+5:30 Kavindu Gimhan Zoysa wrote: >> >>> Thank you. Do not I need to check out for a special commit? Can I build >>> the gollvm by checking out the latest commits in all dependant >>> repositories(llvm-project, libbacktrace, libgo etc)? >>> >>> Thank you, >>> Kavindu >>> On Thursday, 24 June 2021 at 21:06:28 UTC+5:30 th...@google.com wrote: >>> >>>> This change has been submitted; if you update your gollvmn repo you >>>> should be able to build cleanly now. >>>> >>>> Thanks, Than >>>> >>>> >>>> On Thu, Jun 24, 2021 at 9:22 AM Than McIntosh <th...@google.com> wrote: >>>> >>>>> Hello, >>>>> >>>>> I sent a CL to fix this problem: >>>>> https://go-review.googlesource.com/c/gollvm/+/330609. I'll let you >>>>> know when it is submitted. >>>>> >>>>> Thanks, Than >>>>> >>>>> >>>>> On Wed, Jun 23, 2021 at 5:30 PM Than McIntosh <th...@google.com> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I'll take a look -- stay tuned. >>>>>> >>>>>> Than >>>>>> >>>>>> >>>>>> On Wed, Jun 23, 2021 at 3:04 PM Kavindu Gimhan Zoysa < >>>>>> kavin...@gmail.com> wrote: >>>>>> >>>>>>> By following `gollvm` document I started to build it. But I got this >>>>>>> error in the middle of the build process. >>>>>>> >>>>>>> */home/kavindu/GIT/llvm-project/llvm/tools/gollvm/passes/GC.cpp:20:10: >>>>>>> fatal error: llvm/CodeGen/GCStrategy.h: No such file or directory* >>>>>>> * 20 | #include "llvm/CodeGen/GCStrategy.h"* >>>>>>> * | ^~~~~~~~~~~~~~~~~~~~~~~~~~~* >>>>>>> *compilation terminated.* >>>>>>> >>>>>>> Could you please help me to solve this issue. >>>>>>> I have used the llvm-project's main branch to build this. Do we need >>>>>>> to strict to a special commit in llvm-project to build gollvm? >>>>>>> >>>>>>> I am building this on ubuntu 20.04 >>>>>>> >>>>>>> Thank you, >>>>>>> Kavindu >>>>>>> >>>>>>> -- >>>>>>> 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/c33bd416-c366-4fb0-a966-17553ffd0a76n%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/golang-nuts/c33bd416-c366-4fb0-a966-17553ffd0a76n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/golang-nuts/919540c7-acb0-4324-8fbe-f90049515315n%40googlegroups.com >> <https://groups.google.com/d/msgid/golang-nuts/919540c7-acb0-4324-8fbe-f90049515315n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2BUr55HuKvmugwgqe4Eq-bVGdMnbJ4q4siTmVQn9T9PLZ4RBow%40mail.gmail.com.