[packages/mysql] Using llvm ld causes 'LLVM ERROR: out of memory' errors on 32bit, so use standard linker

arekm arekm at pld-linux.org
Tue Mar 5 13:54:59 CET 2024


commit 077aa3006674b2ea3f5657b491a9b025f714c5c5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 5 13:00:20 2024 +0100

    Using llvm ld causes 'LLVM ERROR: out of memory' errors on 32bit, so use standard linker

 mysql.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/mysql.spec b/mysql.spec
index 9b19edb..2d0d665 100644
--- a/mysql.spec
+++ b/mysql.spec
@@ -508,6 +508,9 @@ cd build
 
 CPPFLAGS="%{rpmcppflags}" \
 %cmake .. \
+%if "%{_lib}" != "lib64"
+	-DUSE_LD_LLD=off \
+%endif
         -DCMAKE_EXECUTABLE_SUFFIX=string:%{majorver} \
 	-DCMAKE_BUILD_TYPE=%{!?debug:RelWithDebInfo}%{?debug:Debug} \
 	-DCMAKE_C_FLAGS_RELWITHDEBINFO="%{rpmcflags} -DNDEBUG -fno-omit-frame-pointer -fno-strict-aliasing" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mysql.git/commitdiff/077aa3006674b2ea3f5657b491a9b025f714c5c5



More information about the pld-cvs-commit mailing list