Closed silvestrst closed 2 years ago
If you guys think BoringSSL crew would be interested, I can fire a separate issue there as well.
Disclaimer: I have briefly browsed Mundane upstream and BoringSSL issues, and didn't find the above, but it could be that I missed it (in which case apologies for the duplicate).
Hey @silvestrst , thanks for the heads up! I would definitely recommend filing an issue with BoringSSL. I can't say for sure, but I suspect they would be interested.
Hi @joshlf I think these issues probably were fixed in BoringSSL (somewhere between the BoringSSL version referenced in Mundane 0.4.4 and the BoringSSL master HEAD). I have tried building BoringSSL @9ae40ce (Mundane 0.4.3) with GCC v11 (observed failures), no failures when building BoringSSL on master @HEAD with GCC v11.
So in case you think this is an issue, then it could be just a matter of bumping the Mundane referenced BoringSSL version.
As more rolling distributions start picking up GCC 11, we're seeing more mentions of this breaking. It sounds like bumping a dependency is a simple fix, but maybe that's not what you guys want to do. What's the plan for fixing things?
(Also, I see that there haven't been any commits to this repository since March. Is it still actively maintained? If not, we'll need to move to something else for OpenTitan).
I've released version 0.5.0, which includes the latest BoringSSL version. Please take a look and let me know if this fixes things for you, thanks!
Version 0.5.0 seems to fix the issue. Thank you! I think this issue can be closed now.
Introduction
In later GCC versions some warning semantics have changed, causing build to fail (due to
-Werror
).One example:
This could be unpleasant for people with rolling distros like archlinux that usually have significantly newer compiler versions.
How to reproduce
I have experienced the problem with GCC 11:
However, judging by the GCC change log - it is likely that GCC 10 would trigger same errors.
Some additional thoughts
There several easy short term solutions of course: