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: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Alberto Garcia
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alberto Garcia
Never mind, Debian just updated gcc to 15.2.0 and the problem is gone, so I'm closing this.