[packages/uim] - found some magic gcc switch to avoid sigscheme SIGSEGV on x32

qboosh qboosh at pld-linux.org
Fri Feb 17 21:38:12 CET 2023


commit 365f7659e17304e3625d21f1c0a7e6c257069a30
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 17 21:39:46 2023 +0100

    - found some magic gcc switch to avoid sigscheme SIGSEGV on x32

 uim.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/uim.spec b/uim.spec
index 7291de7..66f13c0 100644
--- a/uim.spec
+++ b/uim.spec
@@ -86,6 +86,10 @@ Requires:	curl-libs >= 7.16.4
 Obsoletes:	uim-scim < 1.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# avoids sigscheme SIGSEGV during install (when using gcc 12.2)
+# (hard to track if it's sigscheme or gcc bug; sigscheme gc seems incompatible with asan)
+%define		specflags_x32	-fno-optimize-sibling-calls
+
 %ifarch %{ix86}
 %if "%{_ver_ge '%{cc_version}' '6.3'}" == "1"
 # "-O2 -march=i686 -mtune=pentium4" combination causes sigscheme to segfault when built with gcc 6.3-7.5
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/uim.git/commitdiff/365f7659e17304e3625d21f1c0a7e6c257069a30



More information about the pld-cvs-commit mailing list