Closed gaukas closed 7 months ago
wasm-ld: error: /tmp/tinygo2876025176/main.o: undefined symbol: runtime.getAuxv
failed to run tool: wasm-ld
error: failed to link /tmp/tinygo2876025176/main: exit status 1
Error: Process completed with exit code 1.
Weird. Theoretically this shouldn't happen with cpu
package properly replaced.
Trying to reproduce locally. Maybe something is missing?
I see, we are (indirectly) using v0.19.0, but the replace directive replaces only v0.16.0.
... maybe we can put the dependencies change in one commit, and code changes in others?
That's the ideal case. For this repo, since the build relies on replace
directive and the old go.mod
will not build for the new content in v1
directory, we have to make all changes before any local test would pass.
v1: based on v0, we renamed and redesigned tons of interfaces, introduced new working modes, and fixed potential bugs.