Bug#1071172: libc6-dev omits the bits directory
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.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
Reply to: