Bug#1144189: c-t-b-ports fails to building glibc for arc-linux-gnu

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <[email protected]>
Hi,

On 2026-08-13 20:09, Bastian Blank wrote:
> On Thu, Aug 13, 2026 at 11:58:40AM +0200, Aurelien Jarno wrote:
> > The glibc scripts is unable to do the symlinking process for the arc 
> > architecture as the linux-libc-dev package doesn't provide headers for 
> > the arc architectures, contrary to all other architectures:
> 
> I'm unsure what you want to say.  

I am giving the explanation why all cross build architectures work, 
except arc.

> Yes, headers for arc are not provided
> in the multiarch form.  But as I already mentioned: this does not
> matter at all at this time, as cross-toolchain-base uses sysroot and not
> multiarch.

It does matter. Your solution works at build time, but it doesn't work 
at runtime. Something has to provide the kernel headers for the cross 
glibc and cross compiler to work. In the past it was 
linux-libc-dev-arc-cross and libc6-dev-arc-cross depends on it for that 
purpose.

Therefore I see two options:
- linux-libc-dev provides the arc kernel headers
- cross-toolchaine-base-ports continues to build 
  linux-libc-dev-arc-cross 

Regards
Aurelien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.