You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ~/tinygo/bin/tinygo build -o tsgo-tinygo ./cmd/tsgo/home/jabaile/tinygo/src/internal/futex/futex_linux.c:24: linker could not find symbol syscall../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:896: linker could not find symbol strtoul../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1037: linker could not find symbol open../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1128: linker could not find symbol atol../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1139: linker could not find symbol atoi../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1148: linker could not find symbol atol../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1160: linker could not find symbol atoi../../../../usr/local/lib/tinygo/lib/bdwgc/misc.c:1173: linker could not find symbol atoi../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:235: linker could not find symbol open../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:1170: linker could not find symbol open../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:1200: linker could not find symbol strtoul../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:2916: linker could not find symbol strtoul../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:3849: linker could not find symbol fcntl../../../../usr/local/lib/tinygo/lib/bdwgc/os_dep.c:3946: linker could not find symbol uname
But, I definitely have glibc installed such that those should be found.
Am I just "holding it wrong", and there's a different way to build a plain binary for my system?
The text was updated successfully, but these errors were encountered:
Thanks, a tinygo clean did fix this. That explains why I was making more progress when I switched to trying out a wasm build. Unfortunately I crash at runtime though other problems, but, those are already reported 😄
tinygo clean fixed some of my missing symbols (strtoul, atol, etc. - same as OP). However, there are two that remain and seem to be related to Go 1.24 changes:
[nix...]-go-1.24.1/share/go/src/crypto/internal/sysrand/rand.go:48: linker could not find symbol crypto/internal/sysrand.fatal[nix...]-tinygo-0.37.0/share/tinygo/src/internal/syscall/unix/getrandom.go:26: linker could not find symbol runtime.vgetrandom
I'm trying to build a version of the Go port of the TypeScript compiler with tinygo. The code is here: https://github.com/microsoft/typescript-go/tree/main/cmd/tsgo
When I just do a regular build, I get:
But, I definitely have glibc installed such that those should be found.
Am I just "holding it wrong", and there's a different way to build a plain binary for my system?
The text was updated successfully, but these errors were encountered: