Open TobiasFaller opened 3 years ago
can anyone solve it? I encountered the same error
can anyone solve it? I encountered the same error
Hey @dogukan-bicer, have a look at https://github.com/pulp-platform/gvsoc/pull/15 which contains a fix for the problematic Makefile. Additionally, have a look at the following PRs which contain more required fixes to build the pulp platform:
Best Regards, Tobias
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 'this' pointer is null [-Werror=nonnull]
. I am using ubuntu 22.04.4 as the operating system.
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
'this' pointer is null [-Werror=nonnull]
. I am using ubuntu 22.04.4 as the operating system.
Make sure that your sources actually include the fix for GVSOC, which disables treating this warning as an error (-Wno-error=nonnull
). The environment variable VP_WORKAROUND_NONNULL_BUG=yes
has no effect as the respective Pull Request (https://github.com/pulp-platform/gvsoc/pull/15) never was merged into GVSOC.
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