[packages/postgresql] Disable llvm on x32 (crashes)
arekm
arekm at pld-linux.org
Wed Aug 12 22:00:43 CEST 2026
commit 547ab39bd9eb8c3135a84328d3c3cc728cad10fe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Wed Aug 12 22:00:25 2026 +0200
Disable llvm on x32 (crashes)
postgresql.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/postgresql.spec b/postgresql.spec
index c1dd166..da092fa 100644
--- a/postgresql.spec
+++ b/postgresql.spec
@@ -21,6 +21,12 @@
%bcond_with systemtap # systemtap/dtrace probes
#
+# LLVM cannot select i32-pointer calls for the x32 ABI, so every JIT-ed
+# query kills the backend with "fatal llvm error: Cannot select"
+%ifarch x32
+%undefine with_llvm
+%endif
+
%define mver 18
Summary: PostgreSQL Data Base Management System
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/postgresql.git/commitdiff/547ab39bd9eb8c3135a84328d3c3cc728cad10fe
More information about the pld-cvs-commit
mailing list