Description of problem: Attempting to build Node.js 12.5.0 or 12.6.0 on armv7hl fails with "ld: final link failed: Memory exhausted" Version-Release number of selected component (if applicable): nodejs-12.6.0-1.fc30 How reproducible: Every time Steps to Reproduce: 1. Log into a 32-bit ARM system 2. Clone the Node.js sources (or use the ones from the master branch on src.fedoraproject.org) 3. Build the sources Actual results: Build fails with "ld: final link failed: Memory exhausted" Expected results: Successful build Additional info: It looks like memory really is being exhausted; monitoring memory usage on the system shows all of the physical memory being consumed. My working theory is that the linker is exceeding the 32-bit memory space.
Out of interest did this rebase to a new version of v8, or what ever JS engine they currently use? And if so what was the old/new versions?
(In reply to Peter Robinson from comment #1) > Out of interest did this rebase to a new version of v8, or what ever JS > engine they currently use? And if so what was the old/new versions? Yes, 12.5.0 upgraded from 7.4.288.13 to 7.5.288.22
Stephen, have you tried the common tricks already? - adding "-Wl,--no-keep-memory -Wl,--reduce-memory-overheads" to linker flags - reducing debuginfo content - sed -e 's/-g/-g1/' (-g0 as last resort)
FEDORA-MODULAR-2019-6ce6940ba7 has been submitted as an update to Fedora 30 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-6ce6940ba7
nodejs-12-3020190723174914.a5b0195c has been pushed to the Fedora 30 Modular testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-6ce6940ba7
nodejs-12-2920190723174914.6c81f848 has been pushed to the Fedora 29 Modular testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2019-c4a4e382fd
nodejs-12-2920190723174914.6c81f848 has been pushed to the Fedora 29 Modular stable repository. If problems still persist, please make note of it in this bug report.
nodejs-12-3020190723174914.a5b0195c has been pushed to the Fedora 30 Modular stable repository. If problems still persist, please make note of it in this bug report.