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

Unable to build marble-game #2

Open
deadprogram opened this issue Jun 20, 2023 · 1 comment
Open

Unable to build marble-game #2

deadprogram opened this issue Jun 20, 2023 · 1 comment

Comments

@deadprogram
Copy link
Contributor

$ tinygo version
tinygo version 0.28.1 linux/amd64 (using go version go1.20 and LLVM version 15.0.0)

$ tinygo flash -target gopher-badge ./examples/marble-game/
tinygo:ld.lld: error: undefined hidden symbol: __math_invalidf
>>> referenced by sf_sqrt.c:0 (/home/ron/Development/tinygo/tinygo/lib/picolibc/newlib/libm/math/sf_sqrt.c:0)
>>>               sf_sqrt.c.o:(sqrtf) in archive /home/ron/.cache/tinygo/picolibc-thumbv6m-unknown-unknown-eabi-cortex-m0plus/lib.a
failed to run tool: ld.lld
error: failed to link /tmp/tinygo1717101476/main: exit status 1
@conejoninja
Copy link
Owner

conejoninja commented Jun 21, 2023

It worked fine with 0.28.0-dev ... need to investigate more, but looks like an issue with tinygo itself¿?

➜  gopherbadge git:(main) ✗ tinygo version
tinygo version 0.28.0-dev linux/amd64 (using go version go1.20 and LLVM version 15.0.7)
➜  gopherbadge git:(main) ✗ tinygo flash -target gopher-badge ./examples/marble-game/
➜  gopherbadge git:(main) ✗ 

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

2 participants