Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error to find build id on OpenBSD #4238

Open
lcheylus opened this issue Apr 19, 2024 · 0 comments
Open

Error to find build id on OpenBSD #4238

lcheylus opened this issue Apr 19, 2024 · 0 comments

Comments

@lcheylus
Copy link

I'm trying to build and port tinygo on OpenBSD (current version on amd64).

  • Build for LLVM from sources and tinygo OK
$ gmake llvm-source
(...)

$ export CC=clang
$ export CXX=clang++
$ gmake
(...)
$ ./build/tinygo version
tinygo version 0.32.0-dev-90b0bf64 openbsd/amd64 (using go version go1.22.2 and LLVM version 17.0.1)

When I try to build/run a Go binary from sources (here with a simple hello_world code), I have an error to find build id:

$ ./build/tinygo build -o ~/tmp/hello ~/tmp/hello_world.go
error: could not find build id in /home/<user>/dev/tinygo.git/./build/tinygo

After some debug, the case for OpenBSD is not handled in builder/buildid.go, function ReadBuildID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant