-
Notifications
You must be signed in to change notification settings - Fork 898
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
<undefined reference> problem while compiling a binary for Arm from Linux #1906
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. |
This was referenced Jan 15, 2022
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 18, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 18, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 18, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 19, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 19, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 19, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
deadprogram
pushed a commit
that referenced
this issue
Jan 20, 2022
Revert this once syscall.seek is implemented cf. #1906
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 22, 2022
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"
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 22, 2022
…go-org#1906" This reverts commit 60b483b.
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 22, 2022
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.
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 23, 2022
…go-org#1906" This reverts commit 60b483b.
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 23, 2022
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.
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 23, 2022
…go-org#1906" This reverts commit 60b483b.
dkegel-fastly
added a commit
to dkegel-fastly/tinygo
that referenced
this issue
Jan 23, 2022
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.
deadprogram
pushed a commit
that referenced
this issue
Jan 24, 2022
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.
bgould
pushed a commit
to bgould/tinygo
that referenced
this issue
Feb 7, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
bgould
pushed a commit
to bgould/tinygo
that referenced
this issue
Feb 7, 2022
…go-org#1906" This reverts commit 60b483b.
bgould
pushed a commit
to bgould/tinygo
that referenced
this issue
Feb 7, 2022
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. |
deadprogram
pushed a commit
that referenced
this issue
Apr 7, 2022
Revert this once syscall.seek is implemented cf. #1906
deadprogram
pushed a commit
that referenced
this issue
Apr 7, 2022
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.
deadprogram
pushed a commit
that referenced
this issue
Apr 11, 2022
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.
ardnew
pushed a commit
to ardnew/tinygo
that referenced
this issue
Jun 21, 2022
Revert this once syscall.seek is implemented cf. tinygo-org#1906
ardnew
pushed a commit
to ardnew/tinygo
that referenced
this issue
Jun 21, 2022
…go-org#1906" This reverts commit 60b483b.
ardnew
pushed a commit
to ardnew/tinygo
that referenced
this issue
Jun 21, 2022
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: