-
Notifications
You must be signed in to change notification settings - Fork 74
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
Pulp-SDK fails to build under GCC 11.1.0 #102
Comments
can anyone solve it? I encountered the same error |
Hey @dogukan-bicer, have a look at pulp-platform/gvsoc#15 which contains a fix for the problematic Makefile.
Best Regards, |
I made the edits in pr. I even ran it as "VP_WORKAROUND_NONNULL_BUG=yes make build-pulp-sdk", but I still got the error |
Make sure that your sources actually include the fix for GVSOC, which disables treating this warning as an error ( |
GCC 11.1.0 fails to build pulp-sdk with the following error message:
This seems to be a bug in the null pointer detection, as the null pointer is never dereferenced in this function.
See: gvsoc/engine/include/vp/trace/trace.hpp#L102
As this is a GCC bug and not trivial to fix a workaround should be documented.
I will update the documentation with a workaround as a MR.
How to reproduce
The text was updated successfully, but these errors were encountered: