public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tschwinge at gcc dot gnu.org" <gcc-bugzilla@gcc.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:17:59 +0000	[thread overview]
Message-ID: <bug-106271-4-lqyMQfG1d8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-106271-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106271

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doko at gcc dot gnu.org

--- Comment #4 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
..., and then I wondered: but how, then, are Debian/Ubuntu building GCC?

Per <https://packages.debian.org/experimental/gcc-13>,
<http://deb.debian.org/debian/pool/main/g/gcc-13/gcc-13_13.1.0-3.debian.tar.xz>,
there is a 'debian/patches/gcc-multiarch.diff' file, which contains "Remaining
multiarch patches, not yet submitted upstream", which (amongst others)
includes:

    --- a/src/gcc/config/riscv/t-linux
    +++ b/src/gcc/config/riscv/t-linux
    @@ -1,3 +1,5 @@
     # Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/
     MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst
rv64%,lib64,$(MULTILIB_DIRNAMES)))
     MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES))
    +
    +MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -,
,$(target)))-linux-gnu)

  parent reply	other threads:[~2023-05-31 15:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-12 17:53 [Bug target/106271] New: " tkoenig at gcc dot gnu.org
2022-07-12 18:02 ` [Bug target/106271] " pinskia at gcc dot gnu.org
2022-07-12 20:55 ` tkoenig at gcc dot gnu.org
2023-05-31 15:12 ` tschwinge at gcc dot gnu.org
2023-05-31 15:17 ` tschwinge at gcc dot gnu.org [this message]
2023-05-31 15:42 ` tschwinge at gcc dot gnu.org
2023-08-30  8:16 ` tschwinge at gcc dot gnu.org
2023-08-30 11:15 ` tkoenig at gcc dot gnu.org
2023-10-07 20:10 ` law at gcc dot gnu.org
2023-10-12  6:12 ` doko at gcc dot gnu.org
2023-10-13 20:41 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-106271-4-lqyMQfG1d8@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).