-
Notifications
You must be signed in to change notification settings - Fork 954
<undefined reference> problem while compiling a binary for Arm from Linux #1906
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
Comments
Also seems to affect i386. See log |
I have a local branch to implement Go assembly. It's not complete (only works on amd64 and arm64 now) but once finished that branch should fix this issue. |
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. tinygo-org#1906
Revert this once syscall.seek is implemented cf. #1906
Lets 'GOARCH=386 tinygo test os' compile. Also skip tests that depend on seek so "GOARCH=386 tinygo test os" passes. This should have been part of "Kludge: work around lack of syscall.seek on 386 and arm, tinygo-org#1906"
…go-org#1906" This reverts commit 60b483b.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
…go-org#1906" This reverts commit 60b483b.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
…go-org#1906" This reverts commit 60b483b.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
Revert this once syscall.seek is implemented cf. tinygo-org#1906
…go-org#1906" This reverts commit 60b483b.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
May be fixed already by #2571 in 0.22? Please try 0.22 or dev and see if that works better. |
Revert this once syscall.seek is implemented cf. #1906
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
Revert this once syscall.seek is implemented cf. tinygo-org#1906
…go-org#1906" This reverts commit 60b483b.
This replaces an earlier kludge which was at the wrong level and caused "GOARCH=386 tinygo test os" to fail to compile on linux. Stubbing just the one missing function, syscall.seek, lets os tests compile on linux 386, and skipping tests of seek and Fstat (which has a cryptic dependency on syscall.Seek via time) lets os tests pass on linux 386. The stub can be removed once tinygo implements go assembly and picks up the real definition.
This is fixed now, see #2571. |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am trying to compile a program of ARM with tinygo from Linux, when I enter the following command :
I got :
The relevant codes indicated here above are :
I have just use
to install this package.
However,
works without any problem.
Using CGO_ENABLED="0" flag doesn't change anything.
I have searched on the Internet and found no similar issues. Thank you for any possible information.
Environment :
The text was updated successfully, but these errors were encountered: