**** BEGIN LOGGING AT Sun Nov 10 02:59:57 2019 Nov 10 13:52:52 New news from stackoverflow: Yocto - Use a variable in a patch Nov 10 21:55:55 <__angelo> hi, need your help on the following: after 30 minutes of building a bsp, target imx6, i get an "internal compiler error" from gcc Nov 10 21:56:03 <__angelo> i am in schroot Nov 10 21:56:17 <__angelo> looking dmesg, i see an "Out of memory" error Nov 10 21:56:32 <__angelo> and before it, a long list of processes is shown, > 100 Nov 10 21:57:04 <__angelo> all are make, gcc, cc1plus as moc and the like https://snipboard.io/khHC4d.jpg Nov 10 21:57:29 <__angelo> actually, seems the reason may be that my local conf has Nov 10 21:57:31 <__angelo> BB_NUMBER_THREADS = '8' Nov 10 21:57:31 <__angelo> PARALLEL_MAKE = '-j 8' Nov 10 21:58:14 <__angelo> So of couorse, reducing these values i should be able to complete. But my question is, i have 16GB of ram, how could i run out of memory ? Nov 10 23:27:31 __angelo: 16G may not be enough to build a bigger system. Calculate ~2G RAM per parallel make process for template-heavy C++ if you want to be on the safe side, i.e. you'd need 128G Nov 10 23:28:45 We're building on 40 cores with 96G, that seems to work fine. Nov 10 23:36:20 <__angelo> hi neverpanic , thanks for the info, so yocto is for 40 cores ? :) Nov 10 23:36:30 <__angelo> just checked, it's the ram Nov 10 23:36:50 <__angelo> when i reach qt packages, ram grows from 6G to 15G and i get the error Nov 10 23:36:52 No. It's for whatever number of cores you configure it to use. Nov 10 23:37:12 <__angelo> likely, there are much more tasks, also due to "moc" compiler Nov 10 23:37:26 Configure it to use fewer cores or fewer parallel recipes to be processed if you don't have 2G RAM per BB_NUMBER_THREADS * PARALLEL_MAKE Nov 10 23:37:42 <__angelo> ok, now i know it's a ram issue. many thanks for the support Nov 10 23:37:53 <__angelo> ok thanks ! **** ENDING LOGGING AT Mon Nov 11 02:59:57 2019