-
Notifications
You must be signed in to change notification settings - Fork 2
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
Need to stand up MSAN / ASAN / TSAN test runs #238
Comments
This seems like a good idea and something I'm happy to look into. BTW, for generic issues like this, can you create them on the YosysHQ repo in the future so they get better visibility to other contributors? |
The issues I'm creating here are part of a simple project board for the FPGA interchange (see https://github.com/orgs/SymbiFlow/projects/22#card-55959026) so that other members of the Symbiflow team can pick up issues when they are free. I'm not sure if issues created on YosysHQ can be added to that project board. Whatever we do here will definitely end up as a PR on YosysHQ once prototyped on the fork. |
As for the specific MSAN issue here, unfortunately the first example of boost program_options is failing with MSAN in exactly the same way for me, so this is definitely a boost issue that we don't have direct control over (other than perhaps trying to report it upstream if it hasn't been reported already.)
Ah, I hadn't seen the cards. That makes more sense then. |
I vaguely recall the some sanitizers don't work right unless the whole program is built with them. As an experiment, we should try and build |
Currently nextpnr has support for building with MSAN / ASAN / TSAN, but MSAN immediately fails with the following error:
This appears to be a problem in
boost::program_options
, but it could also be a usage problem.To catch these kinds of errors, there should be a CI that builds nextpnr in its various arches, and make sure that it passes in some of the smoke tests. The current Cirrus CI is too slow to support this in a reasonable amount of time, but a GH Actions flow should be able to do this in a reasonable amount of time.
@gatecat FYI
The text was updated successfully, but these errors were encountered: