disable building with libunwind to fix C++ exceptions when a C applicaion loads

a module written in C++ #2175966
epel8 imports/epel8/zeromq-4.3.4-3.el8
Ben Woodard 2 years ago committed by Denis Arnaud
parent cc57315b80
commit 87d2b23d7a

@ -1,17 +1,15 @@
%bcond_without pgm %bcond_without pgm
%bcond_without unwind
Name: zeromq Name: zeromq
Version: 4.3.4 Version: 4.3.4
Release: 2%{?dist} Release: 3%{?dist}
Summary: Software library for fast, message-based applications Summary: Software library for fast, message-based applications
License: LGPLv3+ License: LGPLv3+
URL: https://zeromq.org URL: https://zeromq.org
Source0: https://github.com/%{name}/libzmq/archive/v%{version}/libzmq-%{version}.tar.gz 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: make
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
@ -20,9 +18,11 @@ BuildRequires: libtool
BuildRequires: asciidoc BuildRequires: asciidoc
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: libsodium-devel BuildRequires: libsodium-devel
%if %{with unwind}
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 %ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
%endif %endif
%endif
%if %{with pgm} %if %{with pgm}
BuildRequires: openpgm-devel BuildRequires: openpgm-devel
@ -68,8 +68,10 @@ autoreconf -fi
--with-libgssapi_krb5 \ --with-libgssapi_krb5 \
%endif %endif
--with-libsodium \ --with-libsodium \
%if %{with unwind}
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 %ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
--enable-libunwind \ --enable-libunwind \
%endif
%endif %endif
--disable-Werror \ --disable-Werror \
--disable-static --disable-static
@ -107,6 +109,10 @@ make check V=1 || ( cat test-suite.log && exit 1 )
%changelog %changelog
* Tue Mar 07 2023 Ben Woodard <woodard@redhat.com> - 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 <denis.arnaud_fedora@m4x.org> - 4.3.4-2 * Tue Feb 02 2021 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 4.3.4-2
- Re-added aarch64 - Re-added aarch64

Loading…
Cancel
Save