From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0531A3883035; Tue, 27 Apr 2021 17:52:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0531A3883035 From: "brechtsanders at users dot sourceforge.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/100293] New: MinGW-w64 of nvptx offload engine fails Date: Tue, 27 Apr 2021 17:52:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: brechtsanders at users dot sourceforge.net 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 attachments.created 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: Tue, 27 Apr 2021 17:52:36 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100293 Bug ID: 100293 Summary: MinGW-w64 of nvptx offload engine fails Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: brechtsanders at users dot sourceforge.net Target Milestone: --- Created attachment 50691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50691&action=3Dedit libatomic/config.log When doing a Windows native build of the GCC 11.1.0 nvptx offload engine on Windows using MinGW-w64 and binutils 2.36.1 with: --target=3Dnvptx-none --enable-as-accelerator-for=3Dx86_64-w64-mingw32 or: --target=3Dnvptx-none --enable-as-accelerator-for=3Di686-w64-mingw32 the following error is shown: configure: error: in `/R/winlibs64_stage/gcc-offload-nvptx-11.1.0/gcc-11.1.0/build_win_offload-n= vptx/nvptx-none/libatomic': configure: error: C compiler cannot create executables See `config.log' for more details Note that binutils is version 2.36.1 but had patches applied as advises in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98860 as these were needed to build the earlier GCC 11 snapshots.=