From d0df0e8e3ec1ed432aa2d981bcd7cd4d4839a724 Mon Sep 17 00:00:00 2001 From: Tobias Faller Date: Thu, 1 Jul 2021 19:25:13 +0200 Subject: [PATCH] Added documentation of workaround for GCC 11.1.0 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 772b8ab1..89854e2d 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,13 @@ Compile the SDK with this command: make build ~~~~~ +There exists a bug in GCC 11.1.0 which fails the sdk build with the error `'this' pointer is null [-Werror=nonnull]`. +If you encounter this bug use the following temporary workaround instead: + +~~~~~shell +VP_WORKAROUND_NONNULL_BUG=yes make build +~~~~~ + ## Test execution Some examples are availaible at https://github.com/GreenWaves-Technologies/pmsis_tests