From 1c8ac692e9c39caa039b5f81cc4e58310b335283 Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:24:08 +0100 Subject: [PATCH 1/5] CI FreeBSD linker-devel [864/1032] Linking CXX static library rpcs3/Emu/librpcs3_emu.a warning: 'cache_utils.cpp.o': Unknown attribute kind (102) (Producer: 'LLVM22.0.0git' Reader: 'LLVM 19.1.7') --- .ci/build-freebsd.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 7e10691203..74f56ec621 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -6,7 +6,7 @@ git config --global --add safe.directory . git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ && !/opencv/ && !/libpng/ && !/libsdl-org/ && !/curl/ && !/zlib/ && !/libusb/ && !/feralinteractive/ { print $3 }' .gitmodules) -CONFIGURE_ARGS=" +=( -DWITH_LLVM=ON -DUSE_SDL=OFF -DUSE_PRECOMPILED_HEADERS=OFF @@ -16,13 +16,13 @@ CONFIGURE_ARGS=" -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_LIBUSB=ON -DUSE_SYSTEM_OPENCV=ON -" - # base Clang workaround (missing clang-scan-deps) -CONFIGURE_ARGS="$CONFIGURE_ARGS -DCMAKE_CXX_SCAN_FOR_MODULES=OFF" + -DCMAKE_CXX_SCAN_FOR_MODULES=OFF + -DCMAKE_LINKER_TYPE=lld-devel +) # shellcheck disable=SC2086 -cmake -B build -G Ninja $CONFIGURE_ARGS +cmake -B build -G Ninja ${CONFIGURE_ARGS[@]} cmake --build build ccache --show-stats From e159dbdea9a1c69f6ec9004183ef6baea2b86c02 Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:31:45 +0100 Subject: [PATCH 2/5] typo --- .ci/build-freebsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 74f56ec621..83bdae2cb3 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -6,7 +6,7 @@ git config --global --add safe.directory . git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ && !/opencv/ && !/libpng/ && !/libsdl-org/ && !/curl/ && !/zlib/ && !/libusb/ && !/feralinteractive/ { print $3 }' .gitmodules) -=( +CONFIGURE_ARGS=( -DWITH_LLVM=ON -DUSE_SDL=OFF -DUSE_PRECOMPILED_HEADERS=OFF From 149304e6518d9cec2c718a871bfd50d060527c9e Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:42:16 +0100 Subject: [PATCH 3/5] CI uses sh not bash... --- .ci/build-freebsd.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 83bdae2cb3..12a1351718 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -6,7 +6,7 @@ git config --global --add safe.directory . git submodule -q update --init --depth 1 $(awk '/path/ && !/llvm/ && !/opencv/ && !/libpng/ && !/libsdl-org/ && !/curl/ && !/zlib/ && !/libusb/ && !/feralinteractive/ { print $3 }' .gitmodules) -CONFIGURE_ARGS=( +CONFIGURE_ARGS=" -DWITH_LLVM=ON -DUSE_SDL=OFF -DUSE_PRECOMPILED_HEADERS=OFF @@ -16,13 +16,14 @@ CONFIGURE_ARGS=( -DUSE_SYSTEM_LIBPNG=ON -DUSE_SYSTEM_LIBUSB=ON -DUSE_SYSTEM_OPENCV=ON -# base Clang workaround (missing clang-scan-deps) - -DCMAKE_CXX_SCAN_FOR_MODULES=OFF -DCMAKE_LINKER_TYPE=lld-devel -) +" + +# base Clang workaround (missing clang-scan-deps) +CONFIGURE_ARGS="$CONFIGURE_ARGS -DCMAKE_CXX_SCAN_FOR_MODULES=OFF" # shellcheck disable=SC2086 -cmake -B build -G Ninja ${CONFIGURE_ARGS[@]} +cmake -B build -G Ninja $CONFIGURE_ARGS cmake --build build ccache --show-stats From ce9f542dd80c929f57830926583a8865b1fe818f Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:55:42 +0100 Subject: [PATCH 4/5] CI FreeBSD using linker lld-devel --- .ci/build-freebsd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index 12a1351718..f121d1f373 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -17,6 +17,7 @@ CONFIGURE_ARGS=" -DUSE_SYSTEM_LIBUSB=ON -DUSE_SYSTEM_OPENCV=ON -DCMAKE_LINKER_TYPE=lld-devel + -DCMAKE_C_USING_LINKER_lld-devel=-fuse-ld=lld-devel " # base Clang workaround (missing clang-scan-deps) From 762b6a8b0a695faed03de94322a9240e755089ab Mon Sep 17 00:00:00 2001 From: Niram7777 Date: Thu, 19 Feb 2026 13:56:36 +0100 Subject: [PATCH 5/5] CXX --- .ci/build-freebsd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/build-freebsd.sh b/.ci/build-freebsd.sh index f121d1f373..243116a35d 100755 --- a/.ci/build-freebsd.sh +++ b/.ci/build-freebsd.sh @@ -18,6 +18,7 @@ CONFIGURE_ARGS=" -DUSE_SYSTEM_OPENCV=ON -DCMAKE_LINKER_TYPE=lld-devel -DCMAKE_C_USING_LINKER_lld-devel=-fuse-ld=lld-devel + -DCMAKE_CXX_USING_LINKER_lld-devel=-fuse-ld=lld-devel " # base Clang workaround (missing clang-scan-deps)