--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: libc6-dev omits the bits directory
- From: Joris van der Geer <joris.geer@gmail.com>
- Date: Wed, 15 May 2024 22:10:25 +1000
- Message-id: <0B81D491-2134-4486-B95B-BB8B9666C1DB@gmail.com>
package:libc6-dev
version: 2.36
Libc6 omits thr ‘bits’ directory, rendering glibc inoperable
after sucessfull apt-get install libc6 libc6-dev :
When compiling gcc, the process halts at :
In file included from ../.././libgcc/../gcc/tsystem.h:95,
from ../.././libgcc/libgcc2.c:27:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
27 | #include <bits/libc-header-start.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:508: _muldi3.o] Error 1
make[2]: Leaving directory '/home/joris/src/gcc-14.1.0/aarch64-unknown-linux-gnu/libgcc'
make[1]: *** [Makefile:14517: all-target-libgcc] Error 2
make[1]: Leaving directory '/home/joris/src/gcc-14.1.0'
make: *** [Makefile:1050: all] Error 2
--- End Message ---
--- Begin Message ---
- To: 1071172-done@bugs.debian.org
- Cc: Joris van der Geer <joris.geer@gmail.com>
- Subject: Re: Bug#1071172: libc6-dev omits the bits directory
- From: Aurelien Jarno <aurel32@debian.org>
- Date: Sun, 21 Jul 2024 18:50:15 +0200
- Message-id: <Zp08R5bNAIc9jWck@aurel32.net>
- In-reply-to: <ZluBKqJaSgagq-Ky@aurel32.net>
- References: <0B81D491-2134-4486-B95B-BB8B9666C1DB@gmail.com> <0B81D491-2134-4486-B95B-BB8B9666C1DB@gmail.com> <ZkTslT7MKaJTHTIM@aurel32.net> <0B81D491-2134-4486-B95B-BB8B9666C1DB@gmail.com> <ZluBKqJaSgagq-Ky@aurel32.net>
On 2024-06-01 22:14, Aurelien Jarno wrote:
> Hi,
>
> On 2024-05-15 19:10, Aurelien Jarno wrote:
> > Hi,
> >
> > On 2024-05-15 22:10, Joris van der Geer wrote:
> > > package:libc6-dev
> > > version: 2.36
> >
> > Please provide a more accurate version than this. In the rest of this
> > email i will therefore consider the latest glibc version, in sid, ie
> > 2.38-11:
> >
> > > Libc6 omits thr ‘bits’ directory, rendering glibc inoperable
> >
> > The bits directory is not omitted, it is provided in
> > /usr/include/aarch64-linux-gnu following the multiarch path convention.
> >
> > > after sucessfull apt-get install libc6 libc6-dev :
> > >
> > > When compiling gcc, the process halts at :
> > >
> > > In file included from ../.././libgcc/../gcc/tsystem.h:95,
> > > from ../.././libgcc/libgcc2.c:27:
> > > /usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
> > > 27 | #include <bits/libc-header-start.h>
> > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > > compilation terminated.
> > > make[2]: *** [Makefile:508: _muldi3.o] Error 1
> > > make[2]: Leaving directory '/home/joris/src/gcc-14.1.0/aarch64-unknown-linux-gnu/libgcc'
> > > make[1]: *** [Makefile:14517: all-target-libgcc] Error 2
> > > make[1]: Leaving directory '/home/joris/src/gcc-14.1.0'
> > > make: *** [Makefile:1050: all] Error 2
> >
> > I guess you are building gcc from source. For using the multiarch path
> > convention, you should configure it with --enable-multiarch.
>
> Any news on that, can we close the bug?
>
Closing it now, feel free to reopen it if you wan to provide more
details.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
--- End Message ---