From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF4093858405; Sun, 2 Jan 2022 15:31:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF4093858405 From: "bau2wux4sh at pkv73 dot anonbox.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V due to musl not using multilib but still uses t-linux Date: Sun, 02 Jan 2022 15:31:23 +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: 11.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bau2wux4sh at pkv73 dot anonbox.net X-Bugzilla-Status: NEW 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 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 15:31:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103889 --- Comment #13 from John Doe --- (In reply to Andrew Pinski from comment #12) > Because the Linux-gnu folks will always use lib64 instead of lib here. So > there is no need to fix gcc/config/riscv/t-linux. There is a LSF on purpo= se > which I thought defined this all for *-*-linux-gnu across distros. What is LSF? Do you mean LSB (Linux Standard Base)? Because the comment in = the=20 t-linux64 i386 configuration file explicitly states: > The LSB does not enforce the use of /lib64 and /usr/lib64 I might be repeating myself but other architecture configuration files explicitly include a check to ensure that this directory exists, e.g.: > $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../li= b32,../lib) Then again I am personally not very familiar with these configuration files= , it just seems odd to me that the RISC-V one doesn't have such a check.=