- BuildRequire procps from gcc11-testresults if we test go.
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=339
This commit is contained in:
parent
f4c087481a
commit
7e0264975b
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -259,6 +259,9 @@ BuildRequires: libunwind-devel
|
||||
BuildRequires: dejagnu
|
||||
BuildRequires: expect
|
||||
BuildRequires: gdb
|
||||
%if %{build_go}
|
||||
BuildRequires: procps
|
||||
%endif
|
||||
%if %{build_nvptx}
|
||||
BuildRequires: cross-nvptx-gcc@base_ver@
|
||||
BuildRequires: cross-nvptx-newlib@base_ver@-devel
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
@ -35,3 +35,55 @@ index e60fe3664ed..0eea73b144b 100644
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
From c12b6eca31928a54f8d8040815750dd9c7ea3913 Mon Sep 17 00:00:00 2001
|
||||
From: Richard Biener <rguenther@suse.de>
|
||||
Date: Thu, 22 Apr 2021 10:53:00 +0200
|
||||
Subject: [PATCH] Avoid gfortran.dg/pr68078.f90 FAILs with rlimit in place
|
||||
To: gcc-patches@gcc.gnu.org
|
||||
|
||||
gfortran.dg/pr68078.f90 tries to lower the VM limit to provoke
|
||||
allocation fails. If there's already a low VM limit in place
|
||||
this limit adjustment can fail, causing a supurious execution
|
||||
FAIL of the testcase. The following avoid this by not altering
|
||||
the hard limit and returning successfully if the soft limit is
|
||||
already good.
|
||||
|
||||
2021-04-22 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* gfortran.dg/set_vm_limit.c: Honor limits already in place.
|
||||
---
|
||||
gcc/testsuite/gfortran.dg/set_vm_limit.c | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gcc/testsuite/gfortran.dg/set_vm_limit.c b/gcc/testsuite/gfortran.dg/set_vm_limit.c
|
||||
index 30c4b43e0ed..b6a01bb3a98 100644
|
||||
--- a/gcc/testsuite/gfortran.dg/set_vm_limit.c
|
||||
+++ b/gcc/testsuite/gfortran.dg/set_vm_limit.c
|
||||
@@ -8,13 +8,22 @@
|
||||
void
|
||||
set_vm_limit (int vm_limit)
|
||||
{
|
||||
- struct rlimit rl = { vm_limit, RLIM_INFINITY };
|
||||
+ struct rlimit rl;
|
||||
int r;
|
||||
|
||||
+ r = getrlimit (RLIMIT_AS, &rl);
|
||||
+ if (r)
|
||||
+ {
|
||||
+ perror ("set_vm_limit: getrlimit");
|
||||
+ exit (1);
|
||||
+ }
|
||||
+ if (rl.rlim_cur <= vm_limit)
|
||||
+ return;
|
||||
+ rl.rlim_cur = vm_limit;
|
||||
r = setrlimit (RLIMIT_AS, &rl);
|
||||
if (r)
|
||||
{
|
||||
- perror ("set_vm_limit");
|
||||
+ perror ("set_vm_limit: setrlimit");
|
||||
exit (1);
|
||||
}
|
||||
|
||||
--
|
||||
2.26.2
|
||||
|
||||
|
@ -4,6 +4,7 @@ Wed Apr 21 12:31:23 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
- Add gcc11-testsuite-fixes.patch, gcc11-no-offload.patch and
|
||||
gcc11-amdgcn-disable-hot-cold-partitioning.patch.
|
||||
- Enable gfortran for offload compilers.
|
||||
- BuildRequire procps from gcc11-testresults if we test go.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 14:57:07 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
Loading…
x
Reference in New Issue
Block a user