[x86-64] Opteron box coming --- what to install?

Arnd Bergmann arnd@arndb.de
Sat, 17 May 2003 02:05:10 +0200


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 17 May 2003 01:15, Alexander Shumakovitch wrote:
> I have another question then ;-) I've got an impression from a long
> thread on debian-devel that in order to run both 32- and 64-bit programs
> simultaneously one needs to have two versions of every library they use
That's right.

> (thus creation of .../lib64 etc.). On the other hand, your "biarch"
> packages include one copy of every library only, which replace the
> original one and don't look much bigger. Why does it work then? Should
> both kinds of binaries link with the same libraries?

A 64 bit binary should only link against libraries in .../lib64 and a
32 bit binary uses libraries from .../lib.  No ELF library can use both=20
ABIs and you can link application only to libraries of the same ABI.

The packaging scheme for the packages is not obvious. The libc6 package=20
currently contains only 32 bit files, while the 64 bit glibc files are in t=
he=20
lib64c6 package. Unlike this, the libstdc++5 package contains both 32 and
64 bit libraries (this will probably change in the future).

	Arnd <><
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+xXy55t5GS2LDRf4RAlG7AJ4lHnFm7PjbLJlR6yh3GsxwelchDACfRKEo
SWatUbpZtrq/ayJpzdviLlA=3D
=3D0OPI
=2D----END PGP SIGNATURE-----