Bug#1071172: libc6-dev omits the bits directory

2024-06-01 Thread Aurelien Jarno
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 
> >   |  ^~
> > 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?

Regards
Aurelien

-- 
Aurelien Jarno  GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://aurel32.net



Bug#1071172: libc6-dev omits the bits directory

2024-05-15 Thread Aurelien Jarno
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 
>   |  ^~
> 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
aurel...@aurel32.net http://aurel32.net



Bug#1071172: libc6-dev omits the bits directory

2024-05-15 Thread Adam D. Barratt
Control: tags -1 + moreinfo

On Wed, 2024-05-15 at 22:10 +1000, Joris van der Geer wrote:
> package:libc6-dev
> version: 2.36

There's no such version of the package. However, assuming you mean the
package in bookworm (2.36-9+deb12u5),

> Libc6 omits thr ‘bits’ directory, rendering glibc inoperable

this is incorrect:

adam@darzee:~$ dpkg -S libc-header-start.h
libc6-dev:amd64: /usr/include/x86_64-linux-gnu/bits/libc-header-start.h

Regards,

Adam



Bug#1071172: libc6-dev omits the bits directory

2024-05-15 Thread Joris van der Geer
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 
  |  ^~
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