From 85b8dec02ce52c1c4c0793869624875e48b4ee53ac78e568f5b610d3981f8c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 25 Feb 2025 19:21:22 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main gcc14 revision 6fd75d66fc88d71153a75791ecc849d5 --- cross-aarch64-gcc14-bootstrap.spec | 5 +- cross-aarch64-gcc14.spec | 5 +- cross-amdgcn-gcc14.spec | 5 +- cross-arm-gcc14.spec | 5 +- cross-arm-none-gcc14-bootstrap.spec | 5 +- cross-arm-none-gcc14.spec | 5 +- cross-avr-gcc14-bootstrap.spec | 5 +- cross-avr-gcc14.spec | 5 +- cross-bpf-gcc14.spec | 5 +- cross-hppa-gcc14-bootstrap.spec | 5 +- cross-hppa-gcc14.spec | 5 +- cross-m68k-gcc14.spec | 5 +- cross-mips-gcc14.spec | 5 +- cross-nvptx-gcc14.spec | 5 +- cross-ppc64-gcc14.spec | 5 +- cross-ppc64le-gcc14-bootstrap.spec | 5 +- cross-ppc64le-gcc14.spec | 5 +- cross-pru-gcc14-bootstrap.spec | 5 +- cross-pru-gcc14.spec | 5 +- cross-riscv64-elf-gcc14-bootstrap.spec | 5 +- cross-riscv64-elf-gcc14.spec | 5 +- cross-riscv64-gcc14-bootstrap.spec | 5 +- cross-riscv64-gcc14.spec | 5 +- cross-rx-gcc14-bootstrap.spec | 5 +- cross-rx-gcc14.spec | 5 +- cross-s390x-gcc14-bootstrap.spec | 5 +- cross-s390x-gcc14.spec | 5 +- cross-sparc-gcc14.spec | 5 +- cross-sparc64-gcc14.spec | 5 +- cross-x86_64-gcc14.spec | 5 +- gcc.spec.in | 12 +++- gcc14-pr118780.patch | 79 ++++++++++++++++++++++++++ gcc14-testresults.spec | 14 +++-- gcc14.changes | 8 +++ gcc14.spec | 14 +++-- 35 files changed, 206 insertions(+), 71 deletions(-) create mode 100644 gcc14-pr118780.patch diff --git a/cross-aarch64-gcc14-bootstrap.spec b/cross-aarch64-gcc14-bootstrap.spec index eab1224..ebe2122 100644 --- a/cross-aarch64-gcc14-bootstrap.spec +++ b/cross-aarch64-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-aarch64-gcc14.spec b/cross-aarch64-gcc14.spec index 907c11c..16c2c74 100644 --- a/cross-aarch64-gcc14.spec +++ b/cross-aarch64-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-amdgcn-gcc14.spec b/cross-amdgcn-gcc14.spec index 291389c..08388aa 100644 --- a/cross-amdgcn-gcc14.spec +++ b/cross-amdgcn-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-arm-gcc14.spec b/cross-arm-gcc14.spec index 865db41..a8cab9e 100644 --- a/cross-arm-gcc14.spec +++ b/cross-arm-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-arm-none-gcc14-bootstrap.spec b/cross-arm-none-gcc14-bootstrap.spec index 93d2792..d5cf36c 100644 --- a/cross-arm-none-gcc14-bootstrap.spec +++ b/cross-arm-none-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -125,6 +125,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -322,7 +323,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-arm-none-gcc14.spec b/cross-arm-none-gcc14.spec index e4f6997..40cc8ec 100644 --- a/cross-arm-none-gcc14.spec +++ b/cross-arm-none-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-avr-gcc14-bootstrap.spec b/cross-avr-gcc14-bootstrap.spec index 8b44738..d295927 100644 --- a/cross-avr-gcc14-bootstrap.spec +++ b/cross-avr-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-avr-gcc14.spec b/cross-avr-gcc14.spec index 3b03cdb..279f435 100644 --- a/cross-avr-gcc14.spec +++ b/cross-avr-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-bpf-gcc14.spec b/cross-bpf-gcc14.spec index 7a61936..f3ec424 100644 --- a/cross-bpf-gcc14.spec +++ b/cross-bpf-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-hppa-gcc14-bootstrap.spec b/cross-hppa-gcc14-bootstrap.spec index 2a78933..3302bff 100644 --- a/cross-hppa-gcc14-bootstrap.spec +++ b/cross-hppa-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-hppa-gcc14.spec b/cross-hppa-gcc14.spec index 2d26e96..8800f05 100644 --- a/cross-hppa-gcc14.spec +++ b/cross-hppa-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-m68k-gcc14.spec b/cross-m68k-gcc14.spec index fcc5dfe..9d051a7 100644 --- a/cross-m68k-gcc14.spec +++ b/cross-m68k-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-mips-gcc14.spec b/cross-mips-gcc14.spec index f1feffc..f349284 100644 --- a/cross-mips-gcc14.spec +++ b/cross-mips-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-nvptx-gcc14.spec b/cross-nvptx-gcc14.spec index 67bb5e3..0390501 100644 --- a/cross-nvptx-gcc14.spec +++ b/cross-nvptx-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-ppc64-gcc14.spec b/cross-ppc64-gcc14.spec index df2bcf9..8bb2e3d 100644 --- a/cross-ppc64-gcc14.spec +++ b/cross-ppc64-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-ppc64le-gcc14-bootstrap.spec b/cross-ppc64le-gcc14-bootstrap.spec index 3fc1a31..0a944f1 100644 --- a/cross-ppc64le-gcc14-bootstrap.spec +++ b/cross-ppc64le-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-ppc64le-gcc14.spec b/cross-ppc64le-gcc14.spec index e3c4c50..e200c95 100644 --- a/cross-ppc64le-gcc14.spec +++ b/cross-ppc64le-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-pru-gcc14-bootstrap.spec b/cross-pru-gcc14-bootstrap.spec index a608248..54e5b17 100644 --- a/cross-pru-gcc14-bootstrap.spec +++ b/cross-pru-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -125,6 +125,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -322,7 +323,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-pru-gcc14.spec b/cross-pru-gcc14.spec index 3ab55cb..2297927 100644 --- a/cross-pru-gcc14.spec +++ b/cross-pru-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-riscv64-elf-gcc14-bootstrap.spec b/cross-riscv64-elf-gcc14-bootstrap.spec index 1061d85..2b56571 100644 --- a/cross-riscv64-elf-gcc14-bootstrap.spec +++ b/cross-riscv64-elf-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -125,6 +125,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -322,7 +323,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-riscv64-elf-gcc14.spec b/cross-riscv64-elf-gcc14.spec index 8a84c59..3de02f3 100644 --- a/cross-riscv64-elf-gcc14.spec +++ b/cross-riscv64-elf-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-riscv64-gcc14-bootstrap.spec b/cross-riscv64-gcc14-bootstrap.spec index b858271..a3f069a 100644 --- a/cross-riscv64-gcc14-bootstrap.spec +++ b/cross-riscv64-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-riscv64-gcc14.spec b/cross-riscv64-gcc14.spec index 4e7c8a6..7cb7525 100644 --- a/cross-riscv64-gcc14.spec +++ b/cross-riscv64-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-rx-gcc14-bootstrap.spec b/cross-rx-gcc14-bootstrap.spec index 8377a53..95e8670 100644 --- a/cross-rx-gcc14-bootstrap.spec +++ b/cross-rx-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -125,6 +125,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -322,7 +323,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-rx-gcc14.spec b/cross-rx-gcc14.spec index f795823..cfc5020 100644 --- a/cross-rx-gcc14.spec +++ b/cross-rx-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-s390x-gcc14-bootstrap.spec b/cross-s390x-gcc14-bootstrap.spec index cfef0e6..0a1ce49 100644 --- a/cross-s390x-gcc14-bootstrap.spec +++ b/cross-s390x-gcc14-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-s390x-gcc14.spec b/cross-s390x-gcc14.spec index 6403e1e..0f3fd81 100644 --- a/cross-s390x-gcc14.spec +++ b/cross-s390x-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-sparc-gcc14.spec b/cross-sparc-gcc14.spec index 62789b7..ba7270e 100644 --- a/cross-sparc-gcc14.spec +++ b/cross-sparc-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-sparc64-gcc14.spec b/cross-sparc64-gcc14.spec index 48a069a..a4de1bf 100644 --- a/cross-sparc64-gcc14.spec +++ b/cross-sparc64-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/cross-x86_64-gcc14.spec b/cross-x86_64-gcc14.spec index 29df5d2..029df21 100644 --- a/cross-x86_64-gcc14.spec +++ b/cross-x86_64-gcc14.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -124,6 +124,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -321,7 +322,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/gcc.spec.in b/gcc.spec.in index 84f4aa4..53194fe 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -117,11 +117,16 @@ %endif # Enable plugins just for Tumbleweed, not for SLES -%if 0%{!?sle_version:1} +%if 0%{?is_opensuse:%is_opensuse} %define enable_plugins 1 -%define build_jit 1 %else %define enable_plugins 0 +%endif + +# Do enable JIT support on SLE15 +%if %{suse_version} >= 1600 +%define build_jit 1 +%else %define build_jit 0 %endif @@ -367,6 +372,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1337,7 +1343,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/gcc14-pr118780.patch b/gcc14-pr118780.patch new file mode 100644 index 0000000..1541ae8 --- /dev/null +++ b/gcc14-pr118780.patch @@ -0,0 +1,79 @@ +From e22962538f64bb6e5ac87977ec8a5d86f4ef21cb Mon Sep 17 00:00:00 2001 +From: Richard Biener +Date: Fri, 7 Feb 2025 14:42:23 +0100 +Subject: [PATCH] jit/118780 - make sure to include dlfcn.h when plugin support + is disabled +To: gcc-patches@gcc.gnu.org + +The following makes the dlfcn.h explicitly requested which avoids +build failure when JIT is enabled but plugin support disabled as +currently the include is conditional on plugin support. + + PR jit/118780 +gcc/ + * system.h: Check INCLUDE_DLFCN_H for including dlfcn.h instead + of ENABLE_PLUGIN. + * plugin.cc: Define INCLUDE_DLFCN_H. + +gcc/jit/ + * jit-playback.cc: Define INCLUDE_DLFCN_H. + * jit-result.cc: Likewise. +--- + gcc/jit/jit-playback.cc | 1 + + gcc/jit/jit-result.cc | 1 + + gcc/plugin.cc | 1 + + gcc/system.h | 2 +- + 4 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc +index c9fcebc4730..6946f100d5c 100644 +--- a/gcc/jit/jit-playback.cc ++++ b/gcc/jit/jit-playback.cc +@@ -20,6 +20,7 @@ along with GCC; see the file COPYING3. If not see + + #include "config.h" + #define INCLUDE_MUTEX ++#define INCLUDE_DLFCN_H + #include "libgccjit.h" + #include "system.h" + #include "coretypes.h" +diff --git a/gcc/jit/jit-result.cc b/gcc/jit/jit-result.cc +index 1c793aef062..2ad6deb1da8 100644 +--- a/gcc/jit/jit-result.cc ++++ b/gcc/jit/jit-result.cc +@@ -19,6 +19,7 @@ along with GCC; see the file COPYING3. If not see + . */ + + #include "config.h" ++#define INCLUDE_DLFCN_H + #include "system.h" + #include "coretypes.h" + +diff --git a/gcc/plugin.cc b/gcc/plugin.cc +index 6d3394908fc..0de2cc2dd2c 100644 +--- a/gcc/plugin.cc ++++ b/gcc/plugin.cc +@@ -21,6 +21,7 @@ along with GCC; see the file COPYING3. If not see + APIs described in doc/plugin.texi. */ + + #include "config.h" ++#define INCLUDE_DLFCN_H + #include "system.h" + #include "coretypes.h" + #include "options.h" +diff --git a/gcc/system.h b/gcc/system.h +index 39d28ba0bb4..e516b49d04a 100644 +--- a/gcc/system.h ++++ b/gcc/system.h +@@ -694,7 +694,7 @@ extern int vsnprintf (char *, size_t, const char *, va_list); + # endif + #endif + +-#if defined (ENABLE_PLUGIN) && defined (HAVE_DLFCN_H) ++#if defined (INCLUDE_DLFCN_H) && defined (HAVE_DLFCN_H) + /* If plugin support is enabled, we could use libdl. */ + #include + #endif +-- +2.43.0 + diff --git a/gcc14-testresults.spec b/gcc14-testresults.spec index d41d8df..15ea8b3 100644 --- a/gcc14-testresults.spec +++ b/gcc14-testresults.spec @@ -1,7 +1,7 @@ # # spec file for package gcc14-testresults # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -137,11 +137,16 @@ %endif # Enable plugins just for Tumbleweed, not for SLES -%if 0%{!?sle_version:1} +%if 0%{?is_opensuse:%is_opensuse} %define enable_plugins 1 -%define build_jit 1 %else %define enable_plugins 0 +%endif + +# Do enable JIT support on SLE15 +%if %{suse_version} >= 1600 +%define build_jit 1 +%else %define build_jit 0 %endif @@ -383,6 +388,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -514,7 +520,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61 diff --git a/gcc14.changes b/gcc14.changes index 5c42c10..f62693c 100644 --- a/gcc14.changes +++ b/gcc14.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 6 10:28:59 UTC 2025 - Richard Biener + +- Fix condition on whether to enable plugins or JIT support to + not check sle_version which is not defined in SLFO but to check + is_opensuse and suse_version instead. +- Add gcc14-pr118780.patch to make the SLFO config work. + ------------------------------------------------------------------- Thu Oct 17 08:08:45 UTC 2024 - Richard Biener diff --git a/gcc14.spec b/gcc14.spec index 8f93191..5f90e1a 100644 --- a/gcc14.spec +++ b/gcc14.spec @@ -1,7 +1,7 @@ # # spec file for package gcc14 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -116,11 +116,16 @@ %endif # Enable plugins just for Tumbleweed, not for SLES -%if 0%{!?sle_version:1} +%if 0%{?is_opensuse:%is_opensuse} %define enable_plugins 1 -%define build_jit 1 %else %define enable_plugins 0 +%endif + +# Do enable JIT support on SLE15 +%if %{suse_version} >= 1600 +%define build_jit 1 +%else %define build_jit 0 %endif @@ -362,6 +367,7 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch Patch19: gcc11-gdwarf-4-default.patch Patch20: gcc13-pr101523.patch Patch21: gcc14-pr116657.patch +Patch22: gcc14-pr118780.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -2363,7 +2369,7 @@ ln -s newlib-4.4.0.20231231/newlib . %if %{suse_version} < 1550 %patch -p1 -P 19 %endif -%patch -p1 -P 20 -P 21 +%patch -p1 -P 20 -P 21 -P 22 %patch -P 51 %patch -p1 -P 60 -P 61