Accepting request 1145209 from devel:gcc
- Add gcc13-sanitizer-remove-crypt-interception.patch to remove crypt and crypt_r interceptors. The crypt API change in SLE15 SP3 breaks them. [bsc#1219520] - Update to gcc-13 branch head, 67ac78caf31f7cb3202177e642, git8285 - Add gcc13-pr88345-min-func-alignment.diff to add support for -fmin-function-alignment. [bsc#1214934] OBS-URL: https://build.opensuse.org/request/show/1145209 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc13?expand=0&rev=22
This commit is contained in:
commit
4abb0a3691
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -136,11 +136,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -360,9 +363,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -136,11 +136,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -360,9 +363,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -136,11 +136,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -360,9 +363,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -136,11 +136,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -360,9 +363,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -108,7 +108,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -136,11 +136,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -360,9 +363,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -107,7 +107,7 @@ Name: %{pkgname}
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -135,11 +135,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# Define the canonical target and host architecture
|
||||
# %%gcc_target_arch is supposed to be the full target triple
|
||||
@ -359,9 +362,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f18c07e7c463104259d9ac92f1d690a93c819aa67d2b076e73cd8b3fe6ed1046
|
||||
size 87256532
|
BIN
gcc-13.2.1+git8285.tar.xz
(Stored with Git LFS)
Normal file
BIN
gcc-13.2.1+git8285.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -204,7 +204,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 1
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -387,11 +387,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
# GCC-TESTSUITE-DELETE-BEGIN
|
||||
# SRC-COMMON-END
|
||||
@ -1353,9 +1356,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
158
gcc13-pr88345-min-func-alignment.diff
Normal file
158
gcc13-pr88345-min-func-alignment.diff
Normal file
@ -0,0 +1,158 @@
|
||||
From 441d0aa048a51d2e9c4f4227916d2a1a2f06b4e5 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Hubicka <jh@suse.cz>
|
||||
Date: Wed, 24 Jan 2024 18:13:17 +0100
|
||||
Subject: [PATCH] Add -fmin-function-alignmnet
|
||||
To: gcc-patches@gcc.gnu.org
|
||||
|
||||
-falign-functions is ignored in cold code, since it is an optimization intended to
|
||||
improve instruction prefetch. In some case it is necessary to force alignment for
|
||||
all functions, so this patch adds -fmin-function-alignment for this purpose.
|
||||
|
||||
gcc/ChangeLog:
|
||||
|
||||
PR middle-end/88345
|
||||
* common.opt: (flimit-function-alignment): Reorder alphabeticaly
|
||||
(fmin-function-alignment): New parameter.
|
||||
* doc/invoke.texi: (-fmin-function-alignment): Document.
|
||||
(-falign-functions,-falign-loops,-falign-labels): Mention that
|
||||
aglinments are ignored in cold code.
|
||||
* varasm.cc (assemble_start_function): Handle min-function-alignment.
|
||||
* lto-streamer.h (LTO_minor_version): Bump.
|
||||
---
|
||||
gcc/common.opt | 10 +++++++---
|
||||
gcc/doc/invoke.texi | 18 +++++++++++++++++-
|
||||
gcc/lto-streamer.h | 2 +-
|
||||
gcc/varasm.cc | 5 +++++
|
||||
4 files changed, 30 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/gcc/common.opt b/gcc/common.opt
|
||||
index 862c474d3c8..5d35391b99f 100644
|
||||
--- a/gcc/common.opt
|
||||
+++ b/gcc/common.opt
|
||||
@@ -1027,9 +1027,6 @@ Align the start of functions.
|
||||
falign-functions=
|
||||
Common RejectNegative Joined Var(str_align_functions) Optimization
|
||||
|
||||
-flimit-function-alignment
|
||||
-Common Var(flag_limit_function_alignment) Optimization Init(0)
|
||||
-
|
||||
falign-jumps
|
||||
Common Var(flag_align_jumps) Optimization
|
||||
Align labels which are only reached by jumping.
|
||||
@@ -2165,6 +2162,10 @@ fmessage-length=
|
||||
Common RejectNegative Joined UInteger
|
||||
-fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping.
|
||||
|
||||
+fmin-function-alignment=
|
||||
+Common Joined RejectNegative UInteger Var(flag_min_function_alignment) Optimization
|
||||
+Align the start of every function.
|
||||
+
|
||||
fmodulo-sched
|
||||
Common Var(flag_modulo_sched) Optimization
|
||||
Perform SMS based modulo scheduling before the first scheduling pass.
|
||||
@@ -2489,6 +2490,9 @@ starts and when the destructor finishes.
|
||||
flifetime-dse=
|
||||
Common Joined RejectNegative UInteger Var(flag_lifetime_dse) Optimization IntegerRange(0, 2)
|
||||
|
||||
+flimit-function-alignment
|
||||
+Common Var(flag_limit_function_alignment) Optimization Init(0)
|
||||
+
|
||||
flive-patching
|
||||
Common RejectNegative Alias(flive-patching=,inline-clone) Optimization
|
||||
|
||||
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
|
||||
index b777fc92755..d39cb26326c 100644
|
||||
--- a/gcc/doc/invoke.texi
|
||||
+++ b/gcc/doc/invoke.texi
|
||||
@@ -531,6 +531,7 @@ Objective-C and Objective-C++ Dialects}.
|
||||
-falign-jumps[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]]
|
||||
-falign-labels[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]]
|
||||
-falign-loops[=@var{n}[:@var{m}:[@var{n2}[:@var{m2}]]]]
|
||||
+-fmin-function-alignment=[@var{n}]
|
||||
-fno-allocation-dce -fallow-store-data-races
|
||||
-fassociative-math -fauto-profile -fauto-profile[=@var{path}]
|
||||
-fauto-inc-dec -fbranch-probabilities
|
||||
@@ -13650,6 +13651,9 @@ Align the start of functions to the next power-of-two greater than or
|
||||
equal to @var{n}, skipping up to @var{m}-1 bytes. This ensures that at
|
||||
least the first @var{m} bytes of the function can be fetched by the CPU
|
||||
without crossing an @var{n}-byte alignment boundary.
|
||||
+This is an optimization of code performance and alignment is ignored for
|
||||
+functions considered cold. If alignment is required for all functions,
|
||||
+use @option{-fmin-function-alignment}.
|
||||
|
||||
If @var{m} is not specified, it defaults to @var{n}.
|
||||
|
||||
@@ -13713,6 +13717,8 @@ Enabled at levels @option{-O2}, @option{-O3}.
|
||||
Align loops to a power-of-two boundary. If the loops are executed
|
||||
many times, this makes up for any execution of the dummy padding
|
||||
instructions.
|
||||
+This is an optimization of code performance and alignment is ignored for
|
||||
+loops considered cold.
|
||||
|
||||
If @option{-falign-labels} is greater than this value, then its value
|
||||
is used instead.
|
||||
@@ -13735,6 +13741,8 @@ Enabled at levels @option{-O2}, @option{-O3}.
|
||||
Align branch targets to a power-of-two boundary, for branch targets
|
||||
where the targets can only be reached by jumping. In this case,
|
||||
no dummy operations need be executed.
|
||||
+This is an optimization of code performance and alignment is ignored for
|
||||
+jumps considered cold.
|
||||
|
||||
If @option{-falign-labels} is greater than this value, then its value
|
||||
is used instead.
|
||||
@@ -13748,6 +13756,14 @@ The maximum allowed @var{n} option value is 65536.
|
||||
|
||||
Enabled at levels @option{-O2}, @option{-O3}.
|
||||
|
||||
+@opindex fmin-function-alignment=@var{n}
|
||||
+@item -fmin-function-alignment
|
||||
+Specify minimal alignment of functions to the next power-of-two greater than or
|
||||
+equal to @var{n}. Unlike @option{-falign-functions} this alignment is applied
|
||||
+also to all functions (even those considered cold). The alignment is also not
|
||||
+affected by @option{-flimit-function-alignment}
|
||||
+
|
||||
+
|
||||
@opindex fno-allocation-dce
|
||||
@item -fno-allocation-dce
|
||||
Do not remove unused C++ allocations in dead code elimination.
|
||||
@@ -13844,7 +13860,7 @@ To use the link-time optimizer, @option{-flto} and optimization
|
||||
options should be specified at compile time and during the final link.
|
||||
It is recommended that you compile all the files participating in the
|
||||
same link with the same options and also specify those options at
|
||||
-link time.
|
||||
+link time.
|
||||
For example:
|
||||
|
||||
@smallexample
|
||||
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
|
||||
index 75cebcd02d3..2827897cc7a 100644
|
||||
--- a/gcc/lto-streamer.h
|
||||
+++ b/gcc/lto-streamer.h
|
||||
@@ -122,7 +122,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
form followed by the data for the string. */
|
||||
|
||||
#define LTO_major_version GCC_major_version
|
||||
-#define LTO_minor_version 1
|
||||
+#define LTO_minor_version 2
|
||||
|
||||
typedef unsigned char lto_decl_flags_t;
|
||||
|
||||
diff --git a/gcc/varasm.cc b/gcc/varasm.cc
|
||||
index cd0cd88321c..5de821b63e6 100644
|
||||
--- a/gcc/varasm.cc
|
||||
+++ b/gcc/varasm.cc
|
||||
@@ -1914,6 +1914,11 @@ assemble_start_function (tree decl, const char *fnname)
|
||||
|
||||
/* Tell assembler to move to target machine's alignment for functions. */
|
||||
align = floor_log2 (align / BITS_PER_UNIT);
|
||||
+ /* Handle forced alignment. This really ought to apply to all functions,
|
||||
+ since it is used by patchable entries. */
|
||||
+ if (flag_min_function_alignment)
|
||||
+ align = MAX (align, floor_log2 (flag_min_function_alignment));
|
||||
+
|
||||
if (align > 0)
|
||||
{
|
||||
ASM_OUTPUT_ALIGN (asm_out_file, align);
|
||||
--
|
||||
2.35.3
|
||||
|
142
gcc13-sanitizer-remove-crypt-interception.patch
Normal file
142
gcc13-sanitizer-remove-crypt-interception.patch
Normal file
@ -0,0 +1,142 @@
|
||||
From b9ab7f38227b8980b09537ed1fc45632d7b4b0ea Mon Sep 17 00:00:00 2001
|
||||
From: Fangrui Song <i@maskray.me>
|
||||
Date: Fri, 28 Apr 2023 09:59:17 -0700
|
||||
Subject: [PATCH] Remove crypt and crypt_r interceptors
|
||||
To: gcc-patches@gcc.gnu.org
|
||||
|
||||
From Florian Weimer's D144073
|
||||
|
||||
> On GNU/Linux (glibc), the crypt and crypt_r functions are not part of the main shared object (libc.so.6), but libcrypt (with multiple possible sonames). The sanitizer libraries do not depend on libcrypt, so it can happen that during sanitizer library initialization, no real implementation will be found because the crypt, crypt_r functions are not present in the process image (yet). If its interceptors are called nevertheless, this results in a call through a null pointer when the sanitizer library attempts to forward the call to the real implementation.
|
||||
>
|
||||
> Many distributions have already switched to libxcrypt, a library that is separate from glibc and that can be build with sanitizers directly (avoiding the need for interceptors). This patch disables building the interceptor for glibc targets.
|
||||
|
||||
Let's remove crypt and crypt_r interceptors (D68431) to fix issues with
|
||||
newer glibc.
|
||||
|
||||
For older glibc, msan will not know that an uninstrumented crypt_r call
|
||||
initializes `data`, so there is a risk for false positives. However, with some
|
||||
codebase survey, I think crypt_r uses are very few and the call sites typically
|
||||
have a `memset(&data, 0, sizeof(data));` anyway.
|
||||
|
||||
Fix https://github.com/google/sanitizers/issues/1365
|
||||
Related: https://bugzilla.redhat.com/show_bug.cgi?id=2169432
|
||||
|
||||
Reviewed By: #sanitizers, fweimer, thesamesam, vitalybuka
|
||||
|
||||
Differential Revision: https://reviews.llvm.org/D149403
|
||||
---
|
||||
.../sanitizer_common_interceptors.inc | 37 -------------------
|
||||
.../sanitizer_platform_interceptors.h | 2 -
|
||||
.../sanitizer_platform_limits_posix.cpp | 8 ----
|
||||
.../sanitizer_platform_limits_posix.h | 1 -
|
||||
4 files changed, 48 deletions(-)
|
||||
|
||||
diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc
|
||||
index ba4b80081f0..662c4199742 100644
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc
|
||||
@@ -10187,41 +10187,6 @@ INTERCEPTOR(SSIZE_T, getrandom, void *buf, SIZE_T buflen, unsigned int flags) {
|
||||
#define INIT_GETRANDOM
|
||||
#endif
|
||||
|
||||
-#if SANITIZER_INTERCEPT_CRYPT
|
||||
-INTERCEPTOR(char *, crypt, char *key, char *salt) {
|
||||
- void *ctx;
|
||||
- COMMON_INTERCEPTOR_ENTER(ctx, crypt, key, salt);
|
||||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, key, internal_strlen(key) + 1);
|
||||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, salt, internal_strlen(salt) + 1);
|
||||
- char *res = REAL(crypt)(key, salt);
|
||||
- if (res != nullptr)
|
||||
- COMMON_INTERCEPTOR_INITIALIZE_RANGE(res, internal_strlen(res) + 1);
|
||||
- return res;
|
||||
-}
|
||||
-#define INIT_CRYPT COMMON_INTERCEPT_FUNCTION(crypt);
|
||||
-#else
|
||||
-#define INIT_CRYPT
|
||||
-#endif
|
||||
-
|
||||
-#if SANITIZER_INTERCEPT_CRYPT_R
|
||||
-INTERCEPTOR(char *, crypt_r, char *key, char *salt, void *data) {
|
||||
- void *ctx;
|
||||
- COMMON_INTERCEPTOR_ENTER(ctx, crypt_r, key, salt, data);
|
||||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, key, internal_strlen(key) + 1);
|
||||
- COMMON_INTERCEPTOR_READ_RANGE(ctx, salt, internal_strlen(salt) + 1);
|
||||
- char *res = REAL(crypt_r)(key, salt, data);
|
||||
- if (res != nullptr) {
|
||||
- COMMON_INTERCEPTOR_WRITE_RANGE(ctx, data,
|
||||
- __sanitizer::struct_crypt_data_sz);
|
||||
- COMMON_INTERCEPTOR_INITIALIZE_RANGE(res, internal_strlen(res) + 1);
|
||||
- }
|
||||
- return res;
|
||||
-}
|
||||
-#define INIT_CRYPT_R COMMON_INTERCEPT_FUNCTION(crypt_r);
|
||||
-#else
|
||||
-#define INIT_CRYPT_R
|
||||
-#endif
|
||||
-
|
||||
#if SANITIZER_INTERCEPT_GETENTROPY
|
||||
INTERCEPTOR(int, getentropy, void *buf, SIZE_T buflen) {
|
||||
void *ctx;
|
||||
@@ -10772,8 +10737,6 @@ static void InitializeCommonInterceptors() {
|
||||
INIT_GETUSERSHELL;
|
||||
INIT_SL_INIT;
|
||||
INIT_GETRANDOM;
|
||||
- INIT_CRYPT;
|
||||
- INIT_CRYPT_R;
|
||||
INIT_GETENTROPY;
|
||||
INIT_QSORT;
|
||||
INIT_QSORT_R;
|
||||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h b/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h
|
||||
index 8307b1ec28b..d50166ee6ce 100644
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_interceptors.h
|
||||
@@ -571,8 +571,6 @@
|
||||
#define SANITIZER_INTERCEPT_FDEVNAME SI_FREEBSD
|
||||
#define SANITIZER_INTERCEPT_GETUSERSHELL (SI_POSIX && !SI_ANDROID)
|
||||
#define SANITIZER_INTERCEPT_SL_INIT (SI_FREEBSD || SI_NETBSD)
|
||||
-#define SANITIZER_INTERCEPT_CRYPT (SI_POSIX && !SI_ANDROID)
|
||||
-#define SANITIZER_INTERCEPT_CRYPT_R (SI_LINUX && !SI_ANDROID)
|
||||
|
||||
#define SANITIZER_INTERCEPT_GETRANDOM \
|
||||
((SI_LINUX && __GLIBC_PREREQ(2, 25)) || SI_FREEBSD)
|
||||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
index c85cf1626a7..bcbd143d19d 100644
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
|
||||
@@ -176,10 +176,6 @@ typedef struct user_fpregs elf_fpregset_t;
|
||||
# include "sanitizer_platform_interceptors.h"
|
||||
# include "sanitizer_platform_limits_posix.h"
|
||||
|
||||
-#if SANITIZER_INTERCEPT_CRYPT_R
|
||||
-#include <crypt.h>
|
||||
-#endif
|
||||
-
|
||||
namespace __sanitizer {
|
||||
unsigned struct_utsname_sz = sizeof(struct utsname);
|
||||
unsigned struct_stat_sz = sizeof(struct stat);
|
||||
@@ -283,10 +279,6 @@ namespace __sanitizer {
|
||||
unsigned struct_statvfs64_sz = sizeof(struct statvfs64);
|
||||
#endif // SANITIZER_LINUX && !SANITIZER_ANDROID
|
||||
|
||||
-#if SANITIZER_INTERCEPT_CRYPT_R
|
||||
- unsigned struct_crypt_data_sz = sizeof(struct crypt_data);
|
||||
-#endif
|
||||
-
|
||||
#if SANITIZER_LINUX && !SANITIZER_ANDROID
|
||||
unsigned struct_timex_sz = sizeof(struct timex);
|
||||
unsigned struct_msqid_ds_sz = sizeof(struct msqid_ds);
|
||||
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||
index 44dd3d9e22d..29ebb304a9b 100644
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||
@@ -319,7 +319,6 @@ extern unsigned struct_msqid_ds_sz;
|
||||
extern unsigned struct_mq_attr_sz;
|
||||
extern unsigned struct_timex_sz;
|
||||
extern unsigned struct_statvfs_sz;
|
||||
-extern unsigned struct_crypt_data_sz;
|
||||
#endif // SANITIZER_LINUX && !SANITIZER_ANDROID
|
||||
|
||||
struct __sanitizer_iovec {
|
||||
--
|
||||
2.35.3
|
||||
|
@ -221,7 +221,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -403,11 +403,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
Summary: Testsuite results
|
||||
License: SUSE-Public-Domain
|
||||
@ -543,9 +546,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 08:17:53 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Add gcc13-sanitizer-remove-crypt-interception.patch to remove
|
||||
crypt and crypt_r interceptors. The crypt API change in SLE15 SP3
|
||||
breaks them. [bsc#1219520]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 6 08:04:04 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Update to gcc-13 branch head, 67ac78caf31f7cb3202177e642, git8285
|
||||
- Add gcc13-pr88345-min-func-alignment.diff to add support for
|
||||
-fmin-function-alignment. [bsc#1214934]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 5 14:24:16 UTC 2024 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
|
@ -200,7 +200,7 @@
|
||||
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
|
||||
|
||||
URL: https://gcc.gnu.org/
|
||||
Version: 13.2.1+git8250
|
||||
Version: 13.2.1+git8285
|
||||
Release: 0
|
||||
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
|
||||
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
|
||||
@ -382,11 +382,14 @@ Patch19: gcc11-gdwarf-4-default.patch
|
||||
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
|
||||
Patch21: gdcflags.patch
|
||||
Patch23: gcc13-bsc1216664.patch
|
||||
Patch24: gcc13-sanitizer-remove-crypt-interception.patch
|
||||
# A set of patches from the RH srpm
|
||||
Patch51: gcc41-ppc32-retaddr.patch
|
||||
# Some patches taken from Debian
|
||||
Patch60: gcc44-textdomain.patch
|
||||
Patch61: gcc44-rename-info-files.patch
|
||||
# Feature backports
|
||||
Patch100: gcc13-pr88345-min-func-alignment.diff
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
Summary: The GNU C Compiler and Support Files
|
||||
@ -2363,9 +2366,11 @@ ln -s newlib-4.3.0.20230120/newlib .
|
||||
%endif
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%patch51
|
||||
%patch60 -p1
|
||||
%patch61 -p1
|
||||
%patch100 -p1
|
||||
|
||||
#test patching end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user