Inconsistent results for checking whether the OS is 32 or 64 bit

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Inconsistent results for checking whether the OS is 32 or 64 bit
De : nospam.Christian.Vanguers (at) *nospam* f2226.n292.z2.fidonet.org (Christian Vanguers)
Groupes : comp.sys.raspberry-pi
Date : 17. Jul 2024, 23:11:18
Autres entêtes
Organisation : Agency HUB, Dunedin - New Zealand
Message-ID : <1721294290@f2226.n292.z2.fidonet.org>
References : 1
User-Agent : VSoup v1.2.9.47Beta [95/NT]

   Hello Adam!

17 Jul 24 15:03, you wrote to all:

 AF> $ uname -m
 AF> aarch64

This shows your kernel is 64-bit

 AF> $ getconf LONG_BIT
 AF> 32

This indicates that the user applications are compiled for a 32-bit
architecture.

 AF> $ dpkg --print-architecture
 AF> armhf

This shows the distribution you have installed is for the 32-bit ARM
architecture

 AF> Which one is right?

The mix you have is because Raspbian (Raspberry Pi OS) can be installed with a
64-bit kernel while using 32-bit user space applications.
It is a common configuration to maximize compatibility while allowing the
benefits of a 64-bit kernel.

If you want to run a fully 64-bit system on your RPi 4B, I'm afraid you got to
reinstall.

Otherwise it's not a problem at all to run a 32-bit user space on a 64-bit
kernel.  But be aware that some packages or apps may have copatibility issues.


Christian
LPIC-1/LPIC-2/LPIC-3 Security certified


Date Sujet#  Auteur
17 Jul 24 * Inconsistent results for checking whether the OS is 32 or 64 bit11Adam Funk
17 Jul 24 +* Re: Inconsistent results for checking whether the OS is 32 or 64 bit2Theo
21 Jul 24 i`- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1Adam Funk
17 Jul 24 +- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1Dan Clough
18 Jul 24 +- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1Lawrence D'Oliveiro
18 Jul 24 `* Inconsistent results for checking whether the OS is 32 or 64 bit6Christian Vanguers
18 Jul 24  +- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1druck
21 Jul 24  `* Re: Inconsistent results for checking whether the OS is 32 or 64 bit4Adam Funk
22 Jul 24   `* Re: Inconsistent results for checking whether the OS is 32 or 64 bit3Theo
22 Jul 24    +- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1Adam Funk
22 Jul 24    `- Re: Inconsistent results for checking whether the OS is 32 or 64 bit1druck

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal