[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822189: gcc-5-multilib: asm/errno.h not found for non-default architecture



Control: tags -1 + wontfix

On 22.04.2016 00:03, Hilko Bengen wrote:
Package: gcc-5-multilib
Version: 5.3.1-14
Severity: important

Dear Maintainers,

when trying to build i386 binaries using gcc-5-multilib on an amd64
host, <errno.h> includes cannot be resolved.

,----
| $ echo '#include <errno.h>' | gcc -m32 -E - > /dev/null
| In file included from /usr/include/bits/errno.h:24:0,
|                  from /usr/include/errno.h:35,
|                  from <stdin>:1:
| /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
| $ echo '#include <errno.h>' | gcc -m64 -E - > /dev/null
| $
`----

gcc-multilib used to provide a symlink for /usr/include/asm (in my case
to x86_64-linux-gnu/asm). Restoring that symlink would fix the problem I
observed.

the /usr/include/asm symlink is shipped in the gcc-multilib package. We can't ship it in any gcc-*-multilib package without giving up coinstallability of different toolchain versions.

There maybe is an older glibc report which proposes shipping this symlink in a new binary package built from glibc, but for now it's shipped in gcc-multilib.


Reply to: