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

On including 64-bit libs in 32-bit packages (see #344104)



Question is - does Debian i386 currently support running on 64-bit binaries 
if hardware supports it?

Just checked:

$ apt-get install libc6-dev-amd64
...
$ gcc -m64 -o hello hello.c
$ ./hello
bash: ./hello: cannot execute binary file
$ cat /proc/cpuinfo
...
model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
...
$ uname -a
Linux blacky 2.6.18-1-k7 #1 SMP Fri Sep 29 17:06:47 UTC 2006 i686 GNU/Linux
$ apt-cache policy  linux-image-2.6.18-1-k7
linux-image-2.6.18-1-k7:
  Installed: 2.6.18-2
  Candidate: 2.6.18-2
  Version table:
 *** 2.6.18-2 0
        600 http://blacky unstable/main Packages
        100 /var/lib/dpkg/status

So current debian i386 setup does not support running 64-bit libraries.
If so, probably 64-bit libraries should not included in 32-bit packages.

Btw, if that technically possible, I'll prefer setup where 64-bit libraries 
will work (although the most of system will still be 32-bit)

Attachment: pgpHRuo8RLcHB.pgp
Description: PGP signature


Reply to: