From 87d2b23d7a24a2a898f06fd0a032f40ace716900 Mon Sep 17 00:00:00 2001 From: Ben Woodard Date: Tue, 7 Mar 2023 12:34:18 -0800 Subject: [PATCH] disable building with libunwind to fix C++ exceptions when a C applicaion loads a module written in C++ #2175966 --- zeromq.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/zeromq.spec b/zeromq.spec index f785ea8..44b64aa 100644 --- a/zeromq.spec +++ b/zeromq.spec @@ -1,17 +1,15 @@ %bcond_without pgm +%bcond_without unwind Name: zeromq Version: 4.3.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ URL: https://zeromq.org Source0: https://github.com/%{name}/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz -# For some reason, a test is failing on aarch64 -#ExcludeArch: aarch64 - BuildRequires: make BuildRequires: autoconf BuildRequires: automake @@ -20,9 +18,11 @@ BuildRequires: libtool BuildRequires: asciidoc BuildRequires: xmlto BuildRequires: libsodium-devel +%if %{with unwind} %ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 BuildRequires: libunwind-devel %endif +%endif %if %{with pgm} BuildRequires: openpgm-devel @@ -68,8 +68,10 @@ autoreconf -fi --with-libgssapi_krb5 \ %endif --with-libsodium \ +%if %{with unwind} %ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 --enable-libunwind \ +%endif %endif --disable-Werror \ --disable-static @@ -107,6 +109,10 @@ make check V=1 || ( cat test-suite.log && exit 1 ) %changelog +* Tue Mar 07 2023 Ben Woodard - 4.3.4-3 +- disable building with libunwind to fix C++ exceptions when a C applicaion loads + a module written in C++ #2175966 + * Tue Feb 02 2021 Denis Arnaud - 4.3.4-2 - Re-added aarch64