From 8bee69a11f8c8246292765a3370e811b985e0ab7 Mon Sep 17 00:00:00 2001 From: Tobias Faller Date: Thu, 1 Jul 2021 19:30:55 +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 b7b7ca71..f6224b7b 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,13 @@ and then set up the necessary environment variables with source env/pulpissimo.sh ``` +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 to build the SDK: + +``` +VP_WORKAROUND_NONNULL_BUG=yes make build-pulp-sdk +``` + ### Building the RTL simulation platform Note you need Questasim or Xcelium to do an RTL simulation of PULPissimo (verilator support planned, but not finished). Intel Modelsim for Intel FPGAs