-
Notifications
You must be signed in to change notification settings - Fork 926
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
add signal stubs to runtime #4322
Conversation
d2d5d10
to
0fbac5a
Compare
0d6b074
to
abf5e88
Compare
The waspi2 test seem to fail due to
Building for non-wasm seems to work as expected (testes on x86_64 linux) |
@leongross can you please rebase this PR against the latest |
abf5e88
to
86823ea
Compare
baca864
to
09eb4c3
Compare
d5bb260
to
6acba3b
Compare
Running the a local build results in symbols not being found. Also it looks like the wrong single library is used?
Searching for the strings in the binary yields the linking symbols
The lubmusl error can be traced down to this include in muslbic that seems to miss |
Signed-off-by: leongross <[email protected]>
Signed-off-by: leongross <[email protected]>
c01d23a
to
99bc6f0
Compare
@dgryski any ideas why this might fail? I saw you worked on the runtime before. |
The |
94c5aa6
to
70fda27
Compare
@leongross I looked at how difficult it would be to support signals (instead of just stubbing them out), and got it working on Linux: #4378 (Note: if you try this, make sure to run |
This PR is superseded by #4378. |
Linux applications might ignore a certain set of received signals.
For that the
tinygo
runtime has to expose said signals.Since the
tinygo
runtime only has limited linux signal support, this PR adds stubs to theruntime
and theos
package.Package to build with this PR: https://github.com/u-root/u-root/tree/main/cmds/exp/vmboot