From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 080F53858405; Sun, 2 Jan 2022 13:00:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 080F53858405 From: "bau2wux4sh at pkv73 dot anonbox.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V Date: Sun, 02 Jan 2022 13:00:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bau2wux4sh at pkv73 dot anonbox.net X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com 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 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: Sun, 02 Jan 2022 13:00:29 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103889 --- Comment #7 from John Doe --- (In reply to Andrew Pinski from comment #5) > I should note that libgo is not able to compile for musl on the FSF GCC > until just recently, after r12-5979. This patch is included with the Alpine version of GCC, see https://git.alpinelinux.org/aports/tree/main/gcc/0040-stddef.h-add-support-= for-musl-typedef-macro-guards.patch there are also additional patches which need to be merged upstream before o= ne can use gcc-go on musl (see the Alpine Git for the complete list). As I sa= id: Alpine is currently working on upstreaming these patches. For example, https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587142.html The problem described in this bug report should not be specific to any of t= hose gccgo/libgo patches, it rather seems to be a problem with the default LIBRARY_PATH (see my previous comment). > Is there a way you can test GCC 12? I need to rebase the Alpine patchset for that GCC 12 then I assume, I could that do that if all else fails.=