Bug 11211

Summary: Internal compiler error: Killed (program cc1plus) on WebCoreDerivedSources.dir
Product: buildroot Reporter: Kevin D <kdevries>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: critical CC: buildroot
Priority: P5    
Version: 2018.02.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Kevin D 2018-08-09 21:30:51 UTC
Attached configuration file.

Buildroot Version is actually 2018.02.04 - no selection under Version to allow for this particular version.

Performed a 'make clean' before 'make'. Failure occurred about 2 hours into the build process.

Last breath of build:

_/__/DerivedSources/WebCore/JSSVGFEDropShadowElement.cpp.o
i586-buildroot-linux-gnu-g++.br_real: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.buildroot.net/> for instructions.
make[4]: *** [Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/build.make:14493: Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/JSSVGFEColorMatrixElement.cpp.o] Error 4
make[4]: *** Deleting file 'Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/JSSVGFEColorMatrixElement.cpp.o'
make[4]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:2563: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
i586-buildroot-linux-gnu-g++.br_real: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.buildroot.net/> for instructions.
make[4]: *** [Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/build.make:14469: Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/__/__/DerivedSources/WebCore/JSSVGFEBlendElement.cpp.o] Error 4
make[4]: Leaving directory '/share/home/kdevries/esc/8864/buildroot/buildroot-2018.02.4/output/build/webkitgtk-2.18.6'
make[3]: *** [CMakeFiles/Makefile2:1017: Source/WebCore/CMakeFiles/WebCoreDerivedSources.dir/all] Error 2
make[3]: Leaving directory '/share/home/kdevries/esc/8864/buildroot/buildroot-2018.02.4/output/build/webkitgtk-2.18.6'
make[2]: *** [Makefile:152: all] Error 2
make[2]: Leaving directory '/share/home/kdevries/esc/8864/buildroot/buildroot-2018.02.4/output/build/webkitgtk-2.18.6'
make[1]: *** [package/pkg-generic.mk:226: /share/home/kdevries/esc/8864/buildroot/buildroot-2018.02.4/output/build/webkitgtk-2.18.6/.stamp_built] Error 2
make[1]: Leaving directory '/share/home/kdevries/esc/8864/buildroot/buildroot-2018.02.4'
make: *** [Makefile:39: buildroot_common] Error 2
Comment 1 Kevin D 2018-08-10 17:34:32 UTC
Attempted re-build several times since reporting bug, making sure to 'clean' before build. Consistently failing with 'internal compiler error'.
Comment 2 Jan Kundrát 2018-08-10 21:49:43 UTC
Are you sure that the build is not being killed externally? This is WebKit which requires huge amounts of memory (and N-times that in a multi-CPU, parallel build). How much RAM does your build environment have allocated? Is there any trace of an OOM condition in dmesg?
Comment 3 Kevin D 2018-08-13 15:48:29 UTC
Yeah - there's definitely a end-of-memory problem. Dmesg reports OOM.

Only solution is to single-thread the build?
Comment 4 Jan Kundrát 2018-08-21 06:58:18 UTC
You can either throw more RAM at the build, or you can limit the number of parallel jobs, yeah. Note that once the compilation passes, you will still have to link the resulting library which once again requires "plenty" of RAM.

I don't think that there's any issue in Buildroot here, so I'm closing this bugreport. Please feel free to reopen.