Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1228631

Bug#1092576: linux-libc-dev: Multilib GCC bootstrap on Debian 12 fails due to missing asm/errno.h

From Ilya Leoshkevich <iii@linux.ibm.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1092576: linux-libc-dev: Multilib GCC bootstrap on Debian 12 fails due to missing asm/errno.h
Date 2025-01-16 00:20 +0100
Message-ID <K5kQ1-9e95-9@gated-at.bofh.it> (permalink)
References <K2WI9-6Qru-1@gated-at.bofh.it> <K2WI9-6Qru-1@gated-at.bofh.it> <K5i1P-9cj6-1@gated-at.bofh.it> <K2WI9-6Qru-1@gated-at.bofh.it> <K5i1P-9cj6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Wed, 2025-01-15 at 21:12 +0100, Bastian Blank wrote:
> On Thu, Jan 09, 2025 at 08:58:38AM +0000, Ilya Leoshkevich wrote:
> > I'm trying to bootstrap gcc from git master with multilib on debian
> > 12.
> > As far as I can see all the necessary cross packages are installed.
> 
> How do you configure GCC to support the Debian multi-arch include
> layout?  Also direct support requires Debian 13, due to linux-libc-
> dev
> only supporting a single arch before.
> 
> For everything else, please refer to gcc packages on how to build it.
> 
> Bastian

Hi Bastian,

thanks for having a look!

In the upstream ticket Matthias has figured out that the root cause is
the lack of the gcc-multilib package, which conflicts with the
cross-compilers, which are installed on the affected systems.
I believe that this, in turn, is a very old issue, which is not going
to go away anytime soon.

I tried to upgrade to debian 13, and with it I get better diagnostics
from the gcc's configure:

configure: error: I suspect your system does not have 32-bit
development libraries (libc and headers). If you have them, rerun
configure with --enable-multilib. If you do not have them, and want to
build a 64-bit-only compiler, rerun configure with --disable-multilib.

So we can close this bug.

Best regards,
Ilya

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1092576: linux-libc-dev: Multilib GCC bootstrap on Debian 12 fails due to missing asm/errno.h Ilya Leoshkevich <iii@linux.ibm.com> - 2025-01-09 10:10 +0100
  Bug#1092576: linux-libc-dev: Multilib GCC bootstrap on Debian 12 fails due to missing asm/errno.h Bastian Blank <waldi@debian.org> - 2025-01-15 21:20 +0100
    Bug#1092576: linux-libc-dev: Multilib GCC bootstrap on Debian 12 fails due to missing asm/errno.h Ilya Leoshkevich <iii@linux.ibm.com> - 2025-01-16 00:20 +0100

csiph-web