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

Bug#640672: moving files to arch specific include breaks compilations with -m32



Package: linux-libc-dev
Version: 3.0.0-3
Severity: normal
File: /usr/include/x86_64-linux-gnu/asm/errno.h

Hi,

since asm/errno.h was moved to the arch specific sub directory it is
no longer possible to create 32 Bit Binaries on amd64:

| $ echo '#include <errno.h>' | gcc -E -o -  -m32 -                                                                       
| [...]
| # 1 "/usr/include/bits/errno.h" 1 3 4
| # 25 "/usr/include/bits/errno.h" 3 4
| # 1 "/usr/include/linux/errno.h" 1 3 4
| In file included from /usr/include/bits/errno.h:25:0,
|                  from /usr/include/errno.h:36,
|                  from <stdin>:1:
| /usr/include/linux/errno.h:4:23: fatal error: asm/errno.h: No such file or directory
| compilation terminated.

I guess with multiarch I should install the i386 deb, too. But this is
not yet supported by dpkg in unstable, is it?


Daniel

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

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

-- no debconf information

Attachment: pgp0tlSdk1QLT.pgp
Description: PGP signature


Reply to: