From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 47A323858C39; Wed, 31 May 2023 15:12:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 47A323858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685545974; bh=PZX24tTmbm+Zw02H6X/FHiodj6bpi39i0gqkHw5J6so=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HEjUB5lv/GEORgQA2mu2F219iQkxfpR1Uvj6rmtR7VOQCPRUTPKCmS5pNpgdmE4d8 XCfpUcdjfwk6tpvArOPTaz4vcx0Uc0SepQoFAfduaXOp23De92ixPV0jXWuElAbRit clcHOdLjxAQxsvOURoLdUxlp4kx/z74e3O8DDxQQ= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106271] Bootstrap on RISC-V on Ubuntu 22.04 LTS: bits/libc-header-start.h: No such file or directory Date: Wed, 31 May 2023 15:12:53 +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: 13.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: cc 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=3D106271 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tschwinge at gcc dot gnu.o= rg --- Comment #3 from Thomas Schwinge --- Gah, I ran into the same issue on gcc92. I 'configure'd '--with-arch=3Drv64imafdc --with-abi=3Dlp64d --enable-multil= ib'. (In reply to Andrew Pinski from comment #1) > OR multi-arch support is not in the riscv backend yet. That seems to be the case indeed; at least I'm not seeing any 'if_multiarch' etc. in 'gcc/config/riscv/'. $ find /usr/include/ -name libc-header-start.h /usr/include/riscv64-linux-gnu/bits/libc-header-start.h Also, do potentially further distribution packages have to be installed, for additional multilibs? Like I have on an Ubuntu x86_64 GN/Linux system: $ find /usr/include/ -name libc-header-start.h /usr/include/i386-linux-gnu/bits/libc-header-start.h /usr/include/x86_64-linux-gnu/bits/libc-header-start.h $ dpkg -S /usr/include/i386-linux-gnu/bits/libc-header-start.h /usr/include/x86_64-linux-gnu/bits/libc-header-start.h libc6-dev:i386: /usr/include/i386-linux-gnu/bits/libc-header-start.h libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h=