Robert Millan wrote:
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.

Just install linux32, and use this wrapper to run your code.

I think uname() should have hardcoded (#ifdef __x86_64__) machine name instead
of asking Linux which doesn't always know.

Using this solution would mean that you can't detect if a 32-bit or a 64-bit kernel is running, which is sometimes necessary. This is not acceptable.


--
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to