Bug 298381

Summary: [GTK] [2.49.90] 32-bit builds fail with gcc: virtual memory exhausted: Cannot allocate memory
Product: WebKit Reporter: Alberto Garcia <berto>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   

Alberto Garcia
Reported 2025-09-04 02:31:12 PDT
This is probably low priority / importance but WebKitGTK 2.49.90 fails to build with gcc on 32-bit platforms. The reason is this 3.3 MB generated file: -rw-r--r-- 1 root root 3402745 Sep 3 12:49 DerivedSources/WebKit/GeneratedSerializers.cpp /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebKit [...] -c /build/reproducible-path/webkit2gtk-2.49.90/build-soup3/DerivedSources/WebKit/GeneratedSerializers.cpp virtual memory exhausted: Cannot allocate memory I tested this with gcc 14.3.0 The good news is that clang (19.1.7) can build this successfully.
Attachments
Alberto Garcia
Comment 1 2025-09-04 04:45:09 PDT
Never mind, Debian just updated gcc to 15.2.0 and the problem is gone, so I'm closing this.
Note You need to log in before you can comment on or make changes to this bug.