From da7e649e799e4d3cce360678d1784923f2f11906 Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 6 Aug 2020 13:52:33 +0200 Subject: [PATCH] Disable LTO, which appear to cause issues with SIGSEV handler. --- ruby.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruby.spec b/ruby.spec index 2b24ef6..e2502e5 100644 --- a/ruby.spec +++ b/ruby.spec @@ -75,6 +75,10 @@ %bcond_without hardening_test %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 Name: ruby Version: %{ruby_version} @@ -1189,6 +1193,7 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS" %changelog * Thu Aug 06 2020 Jun Aruga - 2.6.6-126 - Fix FTBFS due to libyaml 0.2.5. +- Disable LTO, which appear to cause issues with SIGSEV handler. * Thu May 07 2020 Pavel Valena - 2.6.6-125 - Upgrade to Ruby 2.6.6.