NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.59k stars 13.07k forks source link

webkitgtk* build requires lots of RAM #195522

Open liclac opened 1 year ago

liclac commented 1 year ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build webkitgtk_5_0 (or newsflash, which depends on it)

Build log

[1823/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o 
/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/g++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/nix/store/8a2mx8p2j7dw5icg5s3a38pj6v4bpc17-bubblewrap-0.6.2/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/nix/store/y76hw8vr7rmbji4cadmd4697v464srva-xdg-dbus-proxy-0.1.4/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-5.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"5.0\" -I/build/webkitgtk-2.38.0/build/JavaScriptCore/Headers -I/build/webkitgtk-2.38.0/build -I/build/webkitgtk-2.38.0/Source/JavaScriptCore -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/assembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3/air -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bindings -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/builtins -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecode -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecompiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/dfg -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/ARM64 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/zydis/Zydis -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/domjit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/ftl -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/heap -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/debugger -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/agents -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/augmentable -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/interpreter -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/jit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/llint -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/parser -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/profiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/runtime -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/tools -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm/js -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/yarr -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/inspector -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/runtime -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/yarr -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API/glib -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/DerivedSources/jsc -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/Headers -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote/glib -I/build/webkitgtk-2.38.0/build/WTF/Headers -I/build/webkitgtk-2.38.0/build/bmalloc/Headers -isystem /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0 -isystem /nix/store/xjsngws1xq2d2579w3l5w10ycsajzq4x-glib-2.72.3/lib/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o -c /build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp
{standard input}: Assembler messages:
{standard input}:414695: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: invalid operands (.text and *UND* sections) for `-'
{standard input}: Error: .size expression for _ZN3WTF22ScopedLambdaRefFunctorIFvRN3JSC2B33Air3ArgENS4_4RoleENS2_4BankENS2_5WidthEEZNS3_4Inst10forEachTmpIZNS3_12_GLOBAL__N_131GraphColoringRegisterAllocation15addSpillAndFillILS7_0ENSC_17ColoringAllocatorItLS7_0ENSC_3IRCENS_27UndirectedEdgesDedupAdapterINS_18InterferenceVectorINS_29LikelyDenseUnsignedIntegerSetItEEtEEEEEEEEvRKT0_RNS_9BitVectorEEUlRNS3_3TmpES6_S7_S8_E0_EEvRKT_EUlS5_S6_S7_S8_E_E12implFunctionEPvS5_S6_S7_S8_ does not evaluate to a constant
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[1824/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-7.cpp.o
[1825/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o
FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o 
/nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/g++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/nix/store/8a2mx8p2j7dw5icg5s3a38pj6v4bpc17-bubblewrap-0.6.2/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/nix/store/y76hw8vr7rmbji4cadmd4697v464srva-xdg-dbus-proxy-0.1.4/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-5.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"5.0\" -I/build/webkitgtk-2.38.0/build/JavaScriptCore/Headers -I/build/webkitgtk-2.38.0/build -I/build/webkitgtk-2.38.0/Source/JavaScriptCore -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/assembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3/air -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bindings -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/builtins -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecode -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecompiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/dfg -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/ARM64 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/zydis/Zydis -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/domjit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/ftl -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/heap -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/debugger -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/agents -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/augmentable -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/interpreter -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/jit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/llint -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/parser -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/profiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/runtime -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/tools -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm/js -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/yarr -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/inspector -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/runtime -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/yarr -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API/glib -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/DerivedSources/jsc -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/Headers -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote/glib -I/build/webkitgtk-2.38.0/build/WTF/Headers -I/build/webkitgtk-2.38.0/build/bmalloc/Headers -isystem /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0 -isystem /nix/store/xjsngws1xq2d2579w3l5w10ycsajzq4x-glib-2.72.3/lib/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o -c /build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp
{standard input}: Assembler messages:
{standard input}:129761: 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
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

Full log: https://gist.github.com/liclac/b8743e16f762310292fe2b76073c0cb8

Additional context

Added in https://github.com/NixOS/nixpkgs/issues/160219

Notify maintainers

I'm not sure if I should ping the entire GNOME team, but 5.0 was added by @jtojnar.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.14, NixOS, 22.11 (Raccoon), 22.11.git.c5924154f00`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - nixpkgs: `/home/embr/src/nixpkgs`
jtojnar commented 1 year ago

Possibly a transient failure. It builds fine here.

On Tue, Oct 11 2022 at 05:41:22 -07:00:00, embr @.***> wrote:

Steps To Reproduce Steps to reproduce the behavior:

build webkitgtk_5_0 (or newsflash, which depends on it) Build log [1823/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o /nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/g++ -DBUILDING_GTK=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/nix/store/8a2mx8p2j7dw5icg5s3a38pj6v4bpc17-bubblewrap-0.6.2/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/nix/store/y76hw8vr7rmbji4cadmd4697v464srva-xdg-dbus-proxy-0.1.4/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-5.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"5.0\" -I/build/webkitgtk-2.38.0/build/JavaScriptCore/Headers -I/build/webkitgtk-2.38.0/build -I/build/webkitgtk-2.38.0/Source/JavaScriptCore -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/assembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3/air -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bindings -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/builtins -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecode -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecompiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/dfg -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/ARM64 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/zydis/Zydis -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/domjit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/ftl -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/heap -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/debugger -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/agents -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/augmentable -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/interpreter -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/jit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/llint -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/parser -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/profiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/runtime -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/tools -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm/js -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/yarr -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/inspector -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/runtime -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/yarr -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API/glib -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/DerivedSources/jsc -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/Headers -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote/glib -I/build/webkitgtk-2.38.0/build/WTF/Headers -I/build/webkitgtk-2.38.0/build/bmalloc/Headers -isystem /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0 -isystem /nix/store/xjsngws1xq2d2579w3l5w10ycsajzq4x-glib-2.72.3/lib/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare
-fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/
//JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp.o -c /build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-23a5fd0e-10.cpp {standard input}: Assembler messages: {standard input}:414695: Warning: end of file not at end of a line; newline inserted {standard input}: Error: invalid operands (.text and UND sections) for `-' {standard input}: Error: .size expression for _ZN3WTF22ScopedLambdaRefFunctorIFvRN3JSC2B33Air3ArgENS4_4RoleENS2_4BankENS2_5WidthEEZNS3_4Inst10forEachTmpIZNS3_12_GLOBAL__N_131GraphColoringRegisterAllocation15addSpillAndFillILS7_0ENSC_17ColoringAllocatorItLS7_0ENSC_3IRCENS_27UndirectedEdgesDedupAdapterINS_18InterferenceVectorINS_29LikelyDenseUnsignedIntegerSetItEEtEEEEEEEEvRKT0_RNS_9BitVectorEEUlRNS3_3TmpES6_S7_S8_E0_EEvRKT_EUlS5_S6_S7_S8_E_E12implFunctionEPvS5_S6_S7S8 does not evaluate to a constant g++: fatal error: Killed signal terminated program cc1plus compilation terminated. [1824/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-7.cpp.o [1825/6271] Building CXX object Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir//__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o /nix/store/j061mvdxw70xz20r2r0lr5lk0rcsjf9i-gcc-wrapper-11.3.0/bin/g++ -DBUILDING_GTK=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\"/nix/store/8a2mx8p2j7dw5icg5s3a38pj6v4bpc17-bubblewrap-0.6.2/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/nix/store/y76hw8vr7rmbji4cadmd4697v464srva-xdg-dbus-proxy-0.1.4/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WebKit2GTK-5.0\" -DHAVE_CONFIG_H=1 -DJSC_COMPILATION -DJSC_GLIB_API_ENABLED -DJavaScriptCore_EXPORTS -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DWEBKITGTK_API_VERSION_STRING=\"5.0\" -I/build/webkitgtk-2.38.0/build/JavaScriptCore/Headers -I/build/webkitgtk-2.38.0/build -I/build/webkitgtk-2.38.0/Source/JavaScriptCore -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/assembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/b3/air -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bindings -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/builtins -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecode -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/bytecompiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/dfg -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/ARM64 -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/disassembler/zydis/Zydis -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/domjit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/ftl -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/heap -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/debugger -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/agents -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/augmentable -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/interpreter -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/jit -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/llint -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/parser -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/profiler -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/runtime -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/tools -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/wasm/js -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/yarr -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/inspector -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/runtime -I/build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/yarr -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/API/glib -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/DerivedSources/jsc -I/build/webkitgtk-2.38.0/build/JavaScriptCoreGLib/Headers -I/build/webkitgtk-2.38.0/Source/JavaScriptCore/inspector/remote/glib -I/build/webkitgtk-2.38.0/build/WTF/Headers -I/build/webkitgtk-2.38.0/build/bmalloc/Headers -isystem /nix/store/8lyiwvdwlg83fdylnk9dc4yyvg523s3d-glib-2.72.3-dev/include/glib-2.0 -isystem /nix/store/xjsngws1xq2d2579w3l5w10ycsajzq4x-glib-2.72.3/lib/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare
-fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -fvisibility=hidden -ffp-contract=off -std=c++20 -MD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/
//JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir///JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir//__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp.o -c /build/webkitgtk-2.38.0/build/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-f0a787a9-1.cpp {standard input}: Assembler messages: {standard input}:129761: 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 g++: fatal error: Killed signal terminated program cc1plus compilation terminated. Full log: https://gist.github.com/liclac/b8743e16f762310292fe2b76073c0cb8

Additional context Added in #160219

Notify maintainers I'm not sure if I should ping the entire GNOME team, but 5.0 was added by @jtojnar.

Metadata Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"

  • system: "x86_64-linux"
  • host os: Linux 5.19.14, NixOS, 22.11 (Raccoon), 22.11.git.c5924154f00
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.11.0
  • nixpkgs: /home/embr/src/nixpkgs — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
liclac commented 1 year ago

Hm, I wonder if my laptop just isn't strong enough to build it or something. It seems to chew a lot of RAM, enough that I need to shut down wayland just to be able to get this far. But that makes me wonder why it's not being built by Hydra either - there are successful aarch64 builds, but the x86_64 ones just show as "scheduled" o.O

https://hydra.nixos.org/build/195091622 https://hydra.nixos.org/build/195085745

Artturin commented 1 year ago

Hm, I wonder if my laptop just isn't strong enough to build it or something.

not enough ram, use zram

But that makes me wonder why it's not being built by Hydra either - there are successful aarch64 builds, but the x86_64 ones just show as "scheduled" o.O

x86_64 builders are backed up so switch to a older revision of the unstable channel https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-status

vcunat commented 1 year ago

Actually, the webkitgtk* builds often get out of RAM even on Hydra recently, so it's certainly something that's worth improving.

EDIT: recent example failures:

Artturin commented 1 year ago

https://github.com/NixOS/nixpkgs/pull/216363

bsima commented 3 months ago

Using zram worked for me here