lttng-ust: fix musl crashes (#534603)

This commit is contained in:
Alyssa Ross 2026-06-23 14:40:02 +00:00 committed by GitHub
commit 3344f9159e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,15 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs .
'';
configureFlags = [ "--disable-examples" ];
configureFlags = [
"--disable-examples"
]
++ lib.optionals stdenv.hostPlatform.isMusl [
# lttng-ust puts a single array on the stack that's the size of
# musl's whole default stack.
# https://review.lttng.org/c/lttng-ust/+/18160
"CFLAGS=-Wl,-z,stack-size=2097152"
];
doCheck = true;