From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 647663858D33; Wed, 7 Feb 2024 03:03:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 647663858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707275032; bh=OACXdOhhezpKR7AgkOG6RuRw/YhIDh4BAqryIdUAYc8=; h=From:To:Subject:Date:From; b=RkSNX3Y4QC6ysODMXXB1HRRraO3hHjBxsiZS+6EIjl4LPpAkzjf+6/xJbKUQ23Zby PFhLH+Q6Esvg6vZNYhAZZQK1cSWjtcv3K/QF+3edkpdm+LejCzCy8RC3n4cUEvgc4p 6OS1RFE64+nGSXgne/AK3G1RBPoISun9OheBEuOw= From: "doko at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/113794] New: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib Date: Wed, 07 Feb 2024 03:03:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at gcc dot gnu.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113794 Bug ID: 113794 Summary: [14 Regression] building the amdgcn-amdhsa offload compiler fails building newlib Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20240207, worked with 20240201 at least, building the amdgcn-amdhsa offload compiler. newlib fails to build with=20 during GIMPLE pass: vect In file included from ../../../../src-gcn/newlib/libc/string/memset.c:29: /home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string= .h: In function 'memset': /home/packages/gcc/14/gcc-14-14-20240207/src-gcn/newlib/libc/include/string= .h:33:10: internal compiler error: Segmentation fault 33 | void * memset (void *, int, size_t); | ^~~~~~ 0xcfa112 crash_signal ../../src-gcn/gcc/toplev.cc:317 0x7b63de9f050f ??? ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 0xf61fab gsi_prev(gimple_stmt_iterator*) ../../src-gcn/gcc/gimple-iterator.h:236 0xf61fab move_early_exit_stmts ../../src-gcn/gcc/tree-vect-loop.cc:11804 0xf61fab vect_transform_loop(_loop_vec_info*, gimple*) ../../src-gcn/gcc/tree-vect-loop.cc:11969 0xf9d8cb vect_transform_loops ../../src-gcn/gcc/tree-vectorizer.cc:1006 0xf9defd try_vectorize_loop_1 ../../src-gcn/gcc/tree-vectorizer.cc:1152 0xf9defd try_vectorize_loop ../../src-gcn/gcc/tree-vectorizer.cc:1182 0xf9e374 execute ../../src-gcn/gcc/tree-vectorizer.cc:1298 Please submit a full bug report, with preprocessed source (by using -freport-bug). The bug is not reproducible, so it is likely a hardware or OS problem. make[8]: *** [Makefile:26337: libc/string/libc_a-memset.o] Error 1 make[8]: *** Waiting for unfinished jobs.... however, retrying the newlib build always fails with this issue=