From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E52F03858D1E; Wed, 9 Nov 2022 16:12:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E52F03858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668010342; bh=b3Iw6LuL8NQGXYwT7vHLGxgWfWA6+zY9hON7V782j7A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oy3jk/f+9Ijy7Bk38FkVkCq8PpuLcqIphvOWT/fhM8Zo/g38/NTc+7iUctIaPDKq/ Mk6MoZmlMElaUUWchQZL2DtrZ47Akrzzyk9Qb/MznKc4IzYtYKYT28nW05fzFxP90j V4Mb1tF9JGaUBr1F8OTulzniHzeSQrR8YmZL0aPg= From: "dkm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107581] ICE on sparc-leon-uclibc during go build Date: Wed, 09 Nov 2022 16:12:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dkm 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: Message-ID: In-Reply-To: References: 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=3D107581 --- Comment #6 from Marc Poulhi=C3=A8s --- IIUC, the builtin for ADD_FETCH_4 is correctly defined (there's an entry wi= th a corresponding decl), but there's no builtin for FETCH_ADD_4. When looking in go-gcc.cc, I see that only the ADD_FETCH is defined, and not the FETCH_ADD. I'm testing a simple patch. It fixes the segfault but the li= bgo still won't build because of missing symbols (probably an issue in uclibc? = Not sure it's worth the effort...). I'm now regtesting the patch on x86_64.=