From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 748103857C4C; Sat, 17 Jul 2021 09:58:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 748103857C4C From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/101484] New: [12 Regression] trunk 20210717 ftbfs for amdgcn-amdhsa (gcn offload) Date: Sat, 17 Jul 2021 09:58:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2021 09:58:45 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101484 Bug ID: 101484 Summary: [12 Regression] trunk 20210717 ftbfs for amdgcn-amdhsa (gcn offload) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- trunk 20210717 ftbfs the gcn offload compiler (using a just built 20210717 trunk build): configuration complains about: checking assembler for working .subsection -1... /packages/gcc/snap/gcc-snapshot-20210717/bin-gcn/nm: error: conftest.o The = fil e was not recognized as a valid object file /packages/gcc/snap/gcc-snapshot-20210717/bin-gcn/nm: error: conftest.o The = file was not recognized as a valid object file no The linker tools point to the ones provided by LLVM 9. Later then: libtool: compile:=20 /packages/gcc/snap/gcc-snapshot-20210717/build-gcn/./gcc/gfortran -B/packages/gcc/snap/gcc-snapshot-20210717 /build-gcn/./gcc/ -nostdinc -B/packages/gcc/snap/gcc-snapshot-20210717/build-gcn/amdgcn-amdhsa/newlib/ -isystem /packages/gcc/s nap/gcc-snapshot-20210717/build-gcn/amdgcn-amdhsa/newlib/targ-include -isys= tem /packages/gcc/snap/gcc-snapshot-20210717/src-gcn /newlib/libc/include -B/usr/lib/gcc-snapshot/amdgcn-amdhsa/bin/ -B/usr/lib/gcc-snapshot/amdgcn-amdhsa/lib/ -isystem /usr/lib/gc c-snapshot/amdgcn-amdhsa/include -isystem /usr/lib/gcc-snapshot/amdgcn-amdhsa/sys-include -L. -Wall -L../libgfortran = -c ../../. ./src-gcn/libgomp/config/accel/openacc.f90 -o openacc.o In file included from ../../../src-gcn/libgomp/barrier.c:28: In function 'gcn_thrs', inlined from 'gomp_thread' at ../../../src-gcn/libgomp/libgomp.h:803:10, inlined from 'GOMP_barrier' at ../../../src-gcn/libgomp/barrier.c:34:29: ../../../src-gcn/libgomp/libgomp.h:792:10: error: array subscript 0 is outs= ide array bounds of '__lds struct gomp_thread * __lds[0]' [-Werror=3Darray-boun= ds] 792 | return *thrs; | ^~~~~=