Control: reassign -1 src:cross-toolchain-base-ports

On Wed, Aug 12, 2026 at 04:18:25AM +0200, Matthias Klose wrote:
> In file included from ../sysdeps/unix/sysv/linux/bits/errno.h:26,
>                  from ../stdlib/errno.h:28,
>                  from ../include/errno.h:2,
>                  from ../sysdeps/unix/sysdep.h:28,
>                  from ../sysdeps/unix/sysv/linux/arc/sysdep.h:24,
>                  from ../sysdeps/arc/nptl/tls.h:33,
>                  from ../include/link.h:51,
>                  from <stdin>:1:
> /usr/include/linux/errno.h:1:10: fatal error: asm/errno.h: No such file or

This is the wrong include path.  This needs to use use sysroot, aka
/usr/arc-linux-gnu.  The failing gcc call uses -nostdinc, so why does
gcc fall back to /usr/include?

To be exact, it uses:
| -nostdinc
| -isystem 
/build/reproducible-path/cross-toolchain-base-ports-77/debian/tmp.arc/usr/bin/../lib/gcc-cross/arc-linux-gnu/15/include
 
| -isystem 
/build/reproducible-path/cross-toolchain-base-ports-77/debian/tmp.arc/usr/bin/../lib/gcc-cross/arc-linux-gnu/15/include-fixed
 
| -isystem 
/build/reproducible-path/cross-toolchain-base-ports-77/glibc-2.43/debian/include
 

Aka it is configured to use the gcc fixed up headers, not even the ones
from the package.

Bastian

-- 
Pain is a thing of the mind.  The mind can be controlled.
                -- Spock, "Operation -- Annihilate!" stardate 3287.2

Reply via email to