SerenityOS build: Sunday, December 22
Images 💾⌗
- serenity-x86_64-20241222-25365e2.img.gz (Raw image, 240.76 MiB)
Last commit ⭐⌗
commit 25365e28904badea5a8564330eb0b5cf494b2cb3
Author: Nico Weber <thakis@chromium.org>
AuthorDate: Sat Dec 21 20:01:02 2024 -0500
Commit: Nico Weber <thakis@chromium.org>
CommitDate: Sat Dec 21 20:50:35 2024 -0500
Meta: Use response file for linking shared libraries in GN build
Linking liblagom-web.so produces a ~132K long command line. Ninja
passes the whole command line as a single arg to `sh -c <arg>`,
and the limit for single arguments (`MAX_ARG_STRLEN`) on Linux
is `PAGE_SIZE * 32` == 128K.
A response file passes the list of files in a file on disk, which
lets us sidestep this problem. Ninja writes response files before
invoking commands, and deletes them after (unless `-d keeprsp` is
passed to ninja, then it keeps them on disk).
Other builds