]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph.spec.in: disable lto to work around gcc-toolset-13 linker bug
authorSamuel Just <sjust@redhat.com>
Fri, 8 Mar 2024 04:03:03 +0000 (04:03 +0000)
committerKefu Chai <tchaikov@gmail.com>
Mon, 11 Mar 2024 10:28:17 +0000 (18:28 +0800)
commita164f5f6d8f5fa287f938db5675ea0814c39380e
tree45bbe83f6f5533b3f734c2030ddb20354d4fa70c
parentf5f2e4cc10e56dcb8cf3d72e497a5e400bb324ca
ceph.spec.in: disable lto to work around gcc-toolset-13 linker bug

gcc-toolset-13 lto can trigger a linker bug resulting in a segfault in
SafeTimer (and perhaps elsewhere).  See
https://tracker.ceph.com/issues/63867 for details.  This patch disables
lto for now now so that we can switch to gcc-toolset-13.

Fixes: https://tracker.ceph.com/issues/63867
Signed-off-by: Samuel Just <sjust@redhat.com>
ceph.spec.in