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: setup builders simulating old processors #17478

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

Comments

Projects
None yet
2 participants
@bradfitz
Member

bradfitz commented Oct 17, 2016

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 label Oct 17, 2016

@bradfitz bradfitz added this to the Unreleased milestone Oct 17, 2016

@bradfitz bradfitz self-assigned this Oct 17, 2016

@bradfitz

This comment has been minimized.

Member

bradfitz commented Apr 24, 2017

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

This comment has been minimized.

Contributor

josharian commented Apr 24, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment