Change to almalinux bugtracker

Set --with-arch_64=x86-64-v2 on v2 arch

Use glibc32 instead of /usr/lib/libc.so as BuildRequires
This commit is contained in:
Eduard Abdullin 2025-06-12 14:53:49 +00:00 committed by root
parent 28229bfc7d
commit 807bd5fbb6

View File

@ -171,7 +171,7 @@ BuildRequires: gcc-toolset-%{gts_ver}-devel
Summary: GCC version %{gcc_major}
Name: %{?scl_prefix}gcc
Version: %{gcc_version}
Release: %{gcc_release}%{?dist}
Release: %{gcc_release}%{?dist}.alma.1
# License notes for some of the less obvious ones:
# gcc/doc/cppinternals.texi: Linux-man-pages-copyleft-2-para
# isl: MIT, BSD-2-Clause
@ -252,7 +252,7 @@ BuildRequires: glibc >= 2.3.90-35
%endif
%ifarch %{multilib_64_archs}
# Ensure glibc{,-devel} is installed for both multilib arches
BuildRequires: /usr/lib/libc.so /usr/lib64/libc.so
BuildRequires: glibc32 /usr/lib64/libc.so
%endif
%ifarch ia64
BuildRequires: libunwind >= 0.98
@ -877,7 +877,7 @@ CC="$CC" CXX="$CXX" CFLAGS="$OPT_FLAGS" \
--target nvptx-none --enable-as-accelerator-for=%{gcc_target_platform} \
--enable-languages=c,c++,fortran,lto \
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
--with-bugurl=http://bugs.almalinux.org/ \
--enable-checking=release --with-system-zlib \
--with-gcc-major-version-only --without-isl
make %{?_smp_mflags}
@ -937,7 +937,7 @@ offloadtgts=${offloadtgts:+${offloadtgts},}amdgcn-amdhsa
# explicitly.
CONFIGURE_OPTS="\
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
--with-bugurl=http://bugzilla.redhat.com/bugzilla \
--with-bugurl=http://bugs.almalinux.org/ \
--enable-shared --enable-threads=posix --enable-checking=release \
%ifarch ppc64le
--enable-targets=powerpcle-linux \
@ -1018,7 +1018,11 @@ CONFIGURE_OPTS="\
%ifarch x86_64
%if 0%{?rhel} > 8
%if 0%{?rhel} > 9
--with-arch_64=x86-64-v3 \
%ifarch x86_64_v2
--with-arch_64=x86-64-v2 \
%else
--with-arch_64=x86-64-v3 \
%endif
%else
--with-arch_64=x86-64-v2 \
%endif
@ -2883,6 +2887,11 @@ fi
%endif
%changelog
* Thu Jun 12 2025 Eduard Abdullin <eabdullin@almalinux.org> - 15.1.1-2.alma.1
- Change to almalinux bugtracker
- Set --with-arch_64=x86-64-v2 on v2 arch
- Use glibc32 instead of /usr/lib/libc.so as BuildRequires
* Wed May 21 2025 Marek Polacek <polacek@redhat.com> 15.1.1-2
- update from releases/gcc-15 branch
- PRs ada/112958, ada/120104, c/120057, c++/119863, c++/119864, c++/119938,