armhf reports armv8l architecture

Asked by Jasem Mutlaq

I had code that checks for (CMAKE_SYSTEM_PROCESSOR MATCHES "armv6l) specifically for some blobs that were compiled specially for armhf, but it seems after the recent upgrade of the Launchpad server update earlier this year, this check no longer works.

I made a small program called hostchecker and then built it in my PPA. It just checks the running CMAKE_SYSTEM_PROCESSOR and under armhf it now reports armv8l where it used to report armv6l before... is this technically still considered armhf? Can armv8l binaries work on Ubuntu for Raspberry PI3?

Here is a link the build log:

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Jasem Mutlaq
Last query:
Last reply:
Revision history for this message
Jasem Mutlaq (mutlaqja) said :

Ok so looks like armv8l works just fine on the Raspberry PI.

Revision history for this message
William Grant (wgrant) said :

This is fixed now. But packages shouldn't vary their behaviour by uname, just DEB_HOST_ARCH.