-
Notifications
You must be signed in to change notification settings - Fork 915
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
tinygo:ld.lld: error: undefined symbol: crypto/aes.encryptBlockAsm #2779
Comments
You need to read the large type at the top of that page :-) A PR is pending to update that page to show which packages actually pass tests, which ought to help clear up the confusion. The tests that pass in the dev branch (which will soon become the next version, 0.23) on darwin, linux, wasi, and windows can be found by checking out that branch and typing "make report-stdlib-tests-pass". Here's what it currently says: Note that net/http is not in the list whose tests pass. So, you can import it, but you can't use all the functions in it yet. fmt is also not in the list, probably because %v doesn't pass tests (because reflection is not fully supported), but it's useful otherwise. |
Got it. Thanks for pointing that out! I guess that the issue can be closed then. |
It's a real enough bug. Easier way to demonstrate it is:
You might tidy up this bug report by editing down the long log in your initial comment, though. |
btw, the missing symbol comes from regular go, and isn't picked up because it is in assembly and we don't quite support that yet; #2688 may eventually fix that. |
@dkegel-fastly done. does it look OK now? |
This issue would be fixed with #3103. |
Also affects go-jose and golang-jwt, unsurprisingly. |
Upstream Go now has
|
I tried to give tinygo a try by building a simple "hello world" web service. Instead, I found that crypto/aes doesn't compile:
It looks like those packages are on the list of the ones supported by TinyGo, so what's the problem?
The text was updated successfully, but these errors were encountered: