Disable LTO, which appear to cause issues with SIGSEV handler.

5baaf4a99c
This commit is contained in:
Vít Ondruch 2020-07-27 17:15:32 +02:00
parent 064a0517d6
commit d461276d48

View File

@ -22,7 +22,7 @@
%endif %endif
%global release 132 %global release 133
%{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} %{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
# The RubyGems library has to stay out of Ruby directory tree, since the # The RubyGems library has to stay out of Ruby directory tree, since the
@ -81,6 +81,10 @@
%bcond_without hardening_test %bcond_without hardening_test
%endif %endif
# LTO appears to cause some issue to SEGV handler.
# https://bugs.ruby-lang.org/issues/17052
%define _lto_cflags %{nil}
Summary: An interpreter of object-oriented scripting language Summary: An interpreter of object-oriented scripting language
Name: ruby Name: ruby
Version: %{ruby_version} Version: %{ruby_version}
@ -1293,6 +1297,9 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
%changelog %changelog
* Mon Jul 27 2020 Vít Ondruch <vondruch@redhat.com> - 2.7.1-133
- Disable LTO, which appear to cause issues with SIGSEV handler.
* Wed Jun 24 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-132 * Wed Jun 24 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-132
- Add ruby-default-gems dependency on irb. - Add ruby-default-gems dependency on irb.
Resolves: rhbz#1850541 Resolves: rhbz#1850541