Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e182611ae | ||
|
|
56ed9e6e80 |
@ -1 +0,0 @@
|
||||
1
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@ -0,0 +1,4 @@
|
||||
gcc-15.2.1-20260123.tar.xz
|
||||
isl-0.24.tar.bz2
|
||||
newlib-cygwin-d35cc82b5ec15bb8a5fe0fe11e183d1887992e99.tar.xz
|
||||
nvptx-tools-87ce9dc5999e5fca2e1d3478a30888d9864c9804.tar.xz
|
||||
@ -1,72 +0,0 @@
|
||||
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
|
||||
index fa740b42b88..5d808ee51ee 100644
|
||||
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
|
||||
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/12791.cc
|
||||
@@ -39,14 +39,14 @@ void test01()
|
||||
const ios_base::iostate good = ios_base::goodbit;
|
||||
ios_base::iostate errorstate = good;
|
||||
|
||||
- iss.str("62/04/71");
|
||||
+ iss.str("60/04/71");
|
||||
iterator_type is_it01(iss);
|
||||
tm time01;
|
||||
errorstate = good;
|
||||
iterator_type ret01 = tim_get.get_date(is_it01, end, iss, errorstate,
|
||||
&time01);
|
||||
VERIFY( errorstate == ios_base::failbit );
|
||||
- VERIFY( *ret01 == '2' );
|
||||
+ VERIFY( *ret01 == '6' );
|
||||
|
||||
iss.str("04/38/71");
|
||||
iterator_type is_it02(iss);
|
||||
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
|
||||
index 07f4c369e58..c975c8523d8 100644
|
||||
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
|
||||
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/12791.cc
|
||||
@@ -40,14 +40,14 @@ void test01()
|
||||
const ios_base::iostate good = ios_base::goodbit;
|
||||
ios_base::iostate errorstate = good;
|
||||
|
||||
- iss.str(L"62/04/71");
|
||||
+ iss.str(L"60/04/71");
|
||||
iterator_type is_it01(iss);
|
||||
tm time01;
|
||||
errorstate = good;
|
||||
iterator_type ret01 = tim_get.get_date(is_it01, end, iss, errorstate,
|
||||
&time01);
|
||||
VERIFY( errorstate == ios_base::failbit );
|
||||
- VERIFY( *ret01 == L'2' );
|
||||
+ VERIFY( *ret01 == L'6' );
|
||||
|
||||
iss.str(L"04/38/71");
|
||||
iterator_type is_it02(iss);
|
||||
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
|
||||
index e6f53de4a55..c9d9896a6c0 100644
|
||||
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
|
||||
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/char/1.cc
|
||||
@@ -76,8 +76,8 @@ void test01()
|
||||
errorstate = good;
|
||||
iterator_type ret03 = tim_get.get_year(is_it03, end, iss, errorstate,
|
||||
&time03);
|
||||
- VERIFY( time03.tm_year == 197 - 1900 );
|
||||
- VERIFY( errorstate == good );
|
||||
+ VERIFY( time03.tm_year == 3 );
|
||||
+ VERIFY( errorstate == ios_base::failbit );
|
||||
VERIFY( *ret03 == 'd' );
|
||||
|
||||
iss.str("71d71");
|
||||
diff --git a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
|
||||
index ba95fb91520..e17712098f4 100644
|
||||
--- a/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
|
||||
+++ b/libstdc++-v3/testsuite/22_locale/time_get/get_year/wchar_t/1.cc
|
||||
@@ -76,8 +76,8 @@ void test01()
|
||||
errorstate = good;
|
||||
iterator_type ret03 = tim_get.get_year(is_it03, end, iss, errorstate,
|
||||
&time03);
|
||||
- VERIFY( time03.tm_year == 197 - 1900 );
|
||||
- VERIFY( errorstate == good );
|
||||
+ VERIFY( time03.tm_year == 3 );
|
||||
+ VERIFY( errorstate == ios_base::failbit );
|
||||
VERIFY( *ret03 == L'd' );
|
||||
|
||||
iss.str(L"71d71");
|
||||
@ -1,7 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-fast-lane.functional}
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-slow-lane.functional}
|
||||
@ -172,7 +172,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
|
||||
@ -387,6 +387,9 @@ Patch3015: 0018-Use-CXX11-ABI.patch
|
||||
Patch3017: 0020-more-fixes.patch
|
||||
Patch3018: 0021-libstdc++-disable-tests.patch
|
||||
|
||||
# AlmaLinux Patch
|
||||
Patch9001: gcc15-riscv64-extfloat.patch
|
||||
|
||||
%if 0%{?rhel} == 10
|
||||
%global nonsharedver 140
|
||||
%endif
|
||||
@ -767,6 +770,9 @@ touch -r isl-0.24/m4/ax_prog_cxx_for_build.m4 isl-0.24/m4/ax_prog_cc_for_build.m
|
||||
%patch -P3017 -p1 -b .dts-test-17~
|
||||
%patch -P3018 -p1 -b .dts-test-18~
|
||||
|
||||
# Applying AlmaLinux Patch
|
||||
%patch -P9001 -p1 -b .gcc15-riscv64-extfloat
|
||||
|
||||
find gcc/testsuite -name \*.pr96939~ | xargs rm -f
|
||||
|
||||
echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE
|
||||
@ -882,7 +888,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}
|
||||
@ -942,7 +948,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 \
|
||||
@ -1027,7 +1033,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
|
||||
@ -2908,6 +2918,11 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed May 20 2026 Eduard Abdullin <eabdullin@almalinux.org> - 15.2.1-7.alma.1
|
||||
- Change to almalinux bugtracker
|
||||
- Set --with-arch_64=x86-64-v2 on v2 arch
|
||||
- Fix compilation on RISC-V
|
||||
|
||||
* Mon Jan 26 2026 Siddhesh Poyarekar <siddhesh@redhat.com> 15.2.1-7
|
||||
- update from releases/gcc-15 branch (RHEL-116507)
|
||||
- PRs ada/68179, ada/123060, ada/123088, ada/123096, ada/123138, ada/123185,
|
||||
|
||||
29
gcc15-riscv64-extfloat.patch
Normal file
29
gcc15-riscv64-extfloat.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From 8afa08292030c4da33ebf80ce39353678d9d9955 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Lukoshko <alukoshko@almalinux.org>
|
||||
Date: Wed, 18 Feb 2026 14:37:39 +0000
|
||||
Subject: [PATCH] libstdc++-v3: add __riscv constants to extfloat.S
|
||||
|
||||
---
|
||||
libstdc++-v3/src/nonshared98/extfloat.S | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libstdc++-v3/src/nonshared98/extfloat.S b/libstdc++-v3/src/nonshared98/extfloat.S
|
||||
index c72980884..9fad014c4 100644
|
||||
--- a/libstdc++-v3/src/nonshared98/extfloat.S
|
||||
+++ b/libstdc++-v3/src/nonshared98/extfloat.S
|
||||
@@ -53,8 +53,11 @@
|
||||
#elif defined __s390__
|
||||
#define ALIGN1 .align 4
|
||||
#define ALIGN3 .align 2
|
||||
+#elif defined __riscv
|
||||
+#define ALIGN1 .align 3
|
||||
+#define ALIGN3 .align 3
|
||||
#endif
|
||||
-#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ || defined __aarch64__
|
||||
+#if defined __x86_64__ || defined __powerpc64__ || defined __s390x__ || defined __ia64__ || defined __aarch64__ || defined __riscv
|
||||
#define SIZE1 32
|
||||
#define SIZE2 16
|
||||
#define OFF 16
|
||||
--
|
||||
2.43.7
|
||||
|
||||
@ -1,38 +0,0 @@
|
||||
# Tier 0 test plan. It's actually Tier 1
|
||||
# - limited to its public part
|
||||
# - executed on the architecture at hand
|
||||
# When run by osci.tier0 on CentOS Stream or RHEL, it receives the following
|
||||
# context:
|
||||
# arch=x86_64 (the architecture at hand, currently OSCI uses just x86_64)
|
||||
# distro=rhel<M>.<m> (even for CentOS Stream builds)
|
||||
# trigger=build
|
||||
---
|
||||
summary: Tier 0 test plan
|
||||
context:
|
||||
component: gcc-toolset-15-gcc
|
||||
environment+:
|
||||
WITH_SCL: gcc-toolset-15-env
|
||||
discover:
|
||||
- name: collect_info
|
||||
how: shell
|
||||
tests:
|
||||
- name: /info/rpms
|
||||
test: rpm -qa --last
|
||||
- name: public_tests
|
||||
how: fmf
|
||||
url: https://gitlab.com/redhat/centos-stream/tests/gcc.git
|
||||
filter: 'tag: CI-Tier-1'
|
||||
provision+:
|
||||
hardware:
|
||||
disk:
|
||||
- size: ">= 60 GiB"
|
||||
memory: ">= 8 GiB"
|
||||
prepare+:
|
||||
- how: shell
|
||||
script:
|
||||
- dnf config-manager --set-enabled '*CRB*' || true
|
||||
- dnf config-manager --set-enabled crb || true
|
||||
- dnf config-manager --set-enabled rhel-buildroot || true
|
||||
- dnf config-manager --set-enabled epel || true
|
||||
execute:
|
||||
how: tmt
|
||||
@ -1,23 +0,0 @@
|
||||
badfuncs:
|
||||
# GCC doesn't use the "forbidden" functions as such. Just some of its
|
||||
# sanitizers can instrument those functions which leads to false
|
||||
# positives in the badfuncs test.
|
||||
ignore:
|
||||
- /usr/lib*/libasan.so.*.*.*
|
||||
- /usr/lib*/libtsan.so.*.*.*
|
||||
|
||||
specname:
|
||||
# In GCC toolsets builds, the spec file name and the package may not
|
||||
# be exactly the same, the package is prefixed with gcc-toolset-NN-.
|
||||
# Let's ignore the prefix.
|
||||
match: suffix
|
||||
primary: filename
|
||||
|
||||
runpath:
|
||||
# Although gcc-toolset sanitizers link gcc-toolset libraries from
|
||||
# /opt/..., they themselves are placed in /usr. The runpath test
|
||||
# doesn't like this difference. Explicitly allow it.
|
||||
allowed_paths:
|
||||
- /opt/rh/gcc-toolset-15/root/usr/lib
|
||||
- /opt/rh/gcc-toolset-15/root/usr/lib/../lib64
|
||||
- /opt/rh/gcc-toolset-15/root/usr/lib64
|
||||
Loading…
Reference in New Issue
Block a user