]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
scripts/build_utils: default to gcc-14 for ubuntu noble 2404/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 17 Jul 2025 19:07:35 +0000 (15:07 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 17 Jul 2025 19:07:37 +0000 (15:07 -0400)
noble provides both gcc-13 and 14, but its gcc 13.2.0 suffers from an
LTO bug that causes ceph daemons to crash horribly (tracked in
https://tracker.ceph.com/issues/63867)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
scripts/build_utils.sh

index 885fcd36e4724bfaf7559e5af57bad1b4c070f1c..2179f2999603ce3cec239103e91c92e6aa975067 100755 (executable)
@@ -804,7 +804,7 @@ setup_pbuilder_for_old_gcc() {
         jammy)
             old=11;;
         noble)
-            old=13;;
+            old=14;;
     esac
     setup_gcc_hook $old > $hookdir/D10update-gcc-alternatives
     chmod +x $hookdir/D10update-gcc-alternatives