Bug#360491: "uname -m" broken in ia32 chroot
Package: libc6
Version: 2.3.6-3
Severity: important
When running an i386-linux-gnu chroot on an x86_64-linux-gnu host:
$ uname -m
x86_64
This seriously breaks lots of native autoconf checks. A massive number of
packages will FTBFS or work improperly when built inside the chroot.
I think uname() should have hardcoded (#ifdef __x86_64__) machine name instead
of asking Linux which doesn't always know.
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
-- no debconf information
Reply to: