Coming here also trying to build gollvm master branch with the same above
failure, suggesting that this info and the pinned commits should probably
end up in the project's README.
On Thursday, February 2, 2023 at 1:05:31 AM UTC+11 Than McIntosh wrote:
> Hello,
>
> The gollvm build with LLVM tip
Hello,
The gollvm build with LLVM tip is currently broken; there have been some
upstream LLVM changes that aren't compatible with the Gollvm bridge code
(notably the opaque pointer migration), which causes build failures. This
is a known problem, I haven't had enough free time to fix it recently.
I build gollvm on linux. Is gollvm depend on a fiexed version of llvm?
what's the version? thx
-- Retry after 5 seconds (attempt #3) ...
/home/zyq/strength/gollvm/workarea/llvm-project/llvm/tools/gollvm/passes/GC.cpp:47:3:
错误:‘Optional’不是一个类型名
47 | Optional isGCManagedPointer(const Type *T
Thank you for your advice!
I compared the good and the bad build log and found out the lack of rule
zgoarchat all. So I mentioned the difference in makefiles and it turned out
that I used different revisions of gollvm. It is interesting that with gcc
this problem did not appear (but in both gcc an
Weird. I am scratching my head.
At this point if I was debugging it myself on your system I would rerun
cmake passing it the "--trace-expand" flag (which will generate giant
volumes of output), then look in the trace to see what is happening when
the cmake rules in question fire. You should see so
> Do you have tools/gollvm/libgo/zgoarch.go.tmp in your build area? What
sort of content is in that file?
No
$ ninja -v -d explain tools/gollvm/libgo/zgoarch.go
ninja: error: unknown target 'tools/gollvm/libgo/zgoarch.go'
$ gcc -dumpmachine
x86_64-pc-linux-gnu
$ clang -dumpmachine
x86_64-pc-lin
>There is no zgoarch.go file in the build area. It seems that it was not
created by the build system.
I've oversimplified things a bit -- what cmake does is write
out tools/gollvm/libgo/zgoarch.go.tmp, and then add a build rule
for zgoarch.go that copies the *.tmp file to the *.go file if they are
There is no zgoarch.go file in the build area. It seems that it was not
created by the build system. I watched the logs and there were no lines to
create it. In the directory libgo I have only the following *go files:
epoll.go goroot.go libcalls.go syscall_arch.go tmp-libcalls.go
So I can't u
Hi,
Those constants are supposed to be defined in the generated file
/tools/gollvm/libgo/zgoarch.go, which is written as out part of
the gollvm build process, e.g. here
https://go.googlesource.com/gollvm/+/253c122ed62d5e9a32a9806e83c47a389a6435bf/cmake/modules/AutoGenGo.cmake#63
What does the zg
Hello.
I'm trying to build gollvm on my gentoo system and get the following error:
FAILED: tools/gollvm/libgo/internal/.pic/goarch.o
/home/alex/test/gollvm/build-debug/tools/gollvm/libgo/internal/.pic/goarch.o
cd /home/alex/test/gollvm/build-debug/tools/gollvm/libgo && /usr/bin/cmake
-E make
10 matches
Mail list logo