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

Bug#635685: general: gcc -m32 has no access to system-specific includes in multiarch world



Package: general
Severity: normal

It looks like "gcc -m32" has been partially broken by the recent
hiving off of various headers to /usr/include/x86_64-linux-gnu.

In particular a program consisting of the single line "#include
<features.h>" fails with the error:

In file included from tmp.c:1:0:
/usr/include/features.h:356:25: fatal error: sys/cdefs.h: No such file
or directory
compilation terminated.

I suspect multiple packages are involved: "cpp -m32 -v" reports not
searching /usr/include/i386-linux-gnu (or equivalent) so gcc packages
are probably iffy; but even if it did there's nothing there to find so
either the gcc-*-multilib or libc6-dev (or possibly even an entirely
new gcc-*-multiheader one) will need updating.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: