From 52dcdb4f5c2bfa4c7544230a8691f503306971c5 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Thu, 11 Jul 2024 14:15:26 +0300 Subject: [PATCH] doc: expand troubleshooting section Update the troubleshooting section with regards to memory requirements and potential errors. This error specifically happened to me on an Ubuntu host with 2GB of RAM which wasn't enough and g++ error'ed during Node.js compilation step. --- BUILDING.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILDING.md b/BUILDING.md index c0fd9468b533ec..fc53639801f71f 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -594,6 +594,10 @@ rebuild may take a lot more time than previous builds. Additionally, ran `./configure` with non-default options (such as `--debug`), you will need to run it again before invoking `make -j4`. +If you received the error `nodejs g++ fatal error compilation terminated cc1plus` +during compilation, this is likely a memory issue and you should either provide +more RAM or create swap space to accommodate toolchain requirements. + ### Windows #### Tips