Ayke
Ayke
So now I have a reliable reproducer, I found that the bug _does not reproduce with `-race`_ :sob: only without that flag. My next suspect is golang.org/x/tools so I'm testing...
golang.org/x/tools seems to be the culprit, I'm bisecting between v0.14.0 and v0.15.0.
I think it's this commit: https://github.com/golang/tools/commit/75ff53bc6b14b0a09f5d4b838ea47ae679d748ba Almost done bisecting, I'll let this run a while to be sure (it may take a while for the bug to appear).
Here is the upstream bug report: https://github.com/golang/go/issues/67079
It might be useful to try out combinations of flags using Godbolt: https://godbolt.org/z/9cGfzhG6x
I believe TinyGo already uses softfloat with `GOARM=6` because not all ARMv6 chips have an FPU. Is this not the case for you? (Can you explain what system you'd like...
> and ARMv7 with softfloat support Right, I wasn't aware these cores existed. Thanks for clearing that up! (You'd still be able to compile with `GOARM=6` for compatibility but it...
> [...] but otherwise the linked PR should already handle what I'm trying to achieve. Probably not, you need the correct LLVM feature flags. Those define the available instructions (and...
This is related to #4176 and #4169.
> ``` > ❯ tinygo build -target=wasm-unknown main.go > wasm-ld-16: error: lto.tmp: undefined symbol: memset > wasm-ld-16: error: lto.tmp: undefined symbol: memcpy > error: failed to link /tmp/tinygo826502402/main: exit status...