From f1561c5b48764789c6d031b5d086a2d521e23ee3 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde Date: Fri, 14 Nov 2025 10:57:11 +0000 Subject: [PATCH] use lld Signed-off-by: Pratik Mankawde --- .github/scripts/strategy-matrix/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/strategy-matrix/generate.py b/.github/scripts/strategy-matrix/generate.py index 8c8bcd24f3..58aa0f676a 100755 --- a/.github/scripts/strategy-matrix/generate.py +++ b/.github/scripts/strategy-matrix/generate.py @@ -179,8 +179,8 @@ def generate_strategy_matrix(all: bool, config: Config) -> list: # Disable mold linker - it's too strict about relocations with GCC runtime libs # Use default linker (bfd/ld) which is more lenient with mixed code models cmake_args += ' -Duse_mold=OFF' - exe_linker_flags += ' -fuse-ld=gold'# -static-libubsan -static-libasan -static-libtsan' - shared_linker_flags += ' -fuse-ld=gold'# -static-libubsan -static-libasan -static-libtsan' + exe_linker_flags += ' -fuse-ld=lld'# -static-libubsan -static-libasan -static-libtsan' + shared_linker_flags += ' -fuse-ld=lld'# -static-libubsan -static-libasan -static-libtsan' if architecture['platform'] == 'linux/amd64' and os['compiler_name'] == 'gcc': # Add -mcmodel=large and -fPIC to both compiler AND linker flags