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

x/build: set up builders simulating old processors #17478

Open
bradfitz opened this issue Oct 17, 2016 · 2 comments
Open

x/build: set up builders simulating old processors #17478

bradfitz opened this issue Oct 17, 2016 · 2 comments
Labels
Builders x/build issues (builders, bots, dashboards) help wanted new-builder
Milestone

Comments

@bradfitz
Copy link
Contributor

We occasionally get a bug report from users that some assembly code (often in runtime or crypto or compression) causes a SIGILL.

We should run builders (perhaps in qemu?) simulating older processors so we can exercise all the assembly fallback paths and CPU detection code.

@bradfitz bradfitz added the Builders x/build issues (builders, bots, dashboards) label Oct 17, 2016
@bradfitz bradfitz added this to the Unreleased milestone Oct 17, 2016
@bradfitz bradfitz self-assigned this Oct 17, 2016
@bradfitz
Copy link
Contributor Author

As a starting build, @saljam made a qemu builder in the past:

https://github.com/golang/build/tree/master/env/linux-arm-qemu

Using it as a model, an x86-on-x86 builder would be interesting, masking away certain CPU features.

@bradfitz bradfitz removed their assignment Apr 24, 2017
@josharian
Copy link
Contributor

This would also be helpful for a theoretical future RISC-V builder.

@bradfitz bradfitz changed the title x/build: setup builders simulating old processors x/build: set up builders simulating old processors Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) help wanted new-builder
Projects
None yet
Development

No branches or pull requests

3 participants