Accepting request 1245121 from devel:gcc

- 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 gcc13-pr118780.patch to make the SLFO config work.

OBS-URL: https://build.opensuse.org/request/show/1245121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc13?expand=0&rev=31
This commit is contained in:
Ana Guerrero 2025-02-11 20:31:27 +00:00 committed by Git OBS Bridge
commit 43ff13a9f9
35 changed files with 209 additions and 38 deletions

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -140,6 +140,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -371,6 +372,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -140,6 +140,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -371,6 +372,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -140,6 +140,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -371,6 +372,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -140,6 +140,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -371,6 +372,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -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
@ -139,6 +139,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -370,6 +371,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -115,11 +115,16 @@
%endif
# Enable plugins just for Tumbleweed, not for SLES
%if 0%{!?sle_version:1}
%if 0%{?is_opensuse}
%define enable_plugins 1
%define build_jit 1
%else
%define enable_plugins 0
%endif
# Do not enable JIT support on SLE15
%if %{suse_version} >= 1600
%define build_jit 1
%else
%define build_jit 0
%endif
@ -391,6 +396,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1368,6 +1374,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

82
gcc13-pr118780.patch Normal file
View File

@ -0,0 +1,82 @@
From 0e0157bd29f5d3d8d9a8041b19a0311d5c6fe636 Mon Sep 17 00:00:00 2001
From: Richard Biener <rguenther@suse.de>
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.
(cherry picked from commit e22962538f64bb6e5ac87977ec8a5d86f4ef21cb)
---
gcc/jit/jit-playback.cc | 2 ++
gcc/jit/jit-result.cc | 1 +
gcc/plugin.cc | 1 +
gcc/system.h | 2 +-
4 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gcc/jit/jit-playback.cc b/gcc/jit/jit-playback.cc
index e06f161aad9..74903186622 100644
--- a/gcc/jit/jit-playback.cc
+++ b/gcc/jit/jit-playback.cc
@@ -20,6 +20,8 @@ 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"
#include "target.h"
diff --git a/gcc/jit/jit-result.cc b/gcc/jit/jit-result.cc
index e00f4d861d8..579c4cb0eb8 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
<http://www.gnu.org/licenses/>. */
#include "config.h"
+#define INCLUDE_DLFCN_H
#include "system.h"
#include "coretypes.h"
diff --git a/gcc/plugin.cc b/gcc/plugin.cc
index 142f3fa4131..045c18f1a68 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 03ab33ac960..0354883ed3f 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -690,7 +690,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 <dlfcn.h>
#endif
--
2.43.0

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc13-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
@ -135,11 +135,16 @@
%endif
# Enable plugins just for Tumbleweed, not for SLES
%if 0%{!?sle_version:1}
%if 0%{?is_opensuse}
%define enable_plugins 1
%define build_jit 1
%else
%define enable_plugins 0
%endif
# Do not enable JIT support on SLE15
%if %{suse_version} >= 1600
%define build_jit 1
%else
%define build_jit 0
%endif
@ -407,6 +412,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -554,6 +560,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 6 10:25:01 UTC 2025 - Richard Biener <rguenther@suse.com>
- 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 gcc13-pr118780.patch to make the SLFO config work.
-------------------------------------------------------------------
Tue Oct 22 08:06:21 UTC 2024 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc13
#
# 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
@ -114,11 +114,16 @@
%endif
# Enable plugins just for Tumbleweed, not for SLES
%if 0%{!?sle_version:1}
%if 0%{?is_opensuse}
%define enable_plugins 1
%define build_jit 1
%else
%define enable_plugins 0
%endif
# Do not enable JIT support on SLE15
%if %{suse_version} >= 1600
%define build_jit 1
%else
%define build_jit 0
%endif
@ -386,6 +391,7 @@ Patch24: gcc13-sanitizer-remove-crypt-interception.patch
Patch26: gcc13-pr101523.patch
Patch27: gcc13-amdgcn-remove-fiji.patch
Patch28: gcc13-pr116657.patch
Patch29: gcc13-pr118780.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -2378,6 +2384,7 @@ ln -s newlib-4.3.0.20230120/newlib .
%patch -P 26 -p1
%patch -P 27 -p1
%patch -P 28 -p1
%patch -P 29 -p1
%patch -P 51
%patch -P 60 -p1
%patch -P 61 -p1