armhf reports armv8l architecture

Asked by Jasem Mutlaq on 2018-04-08

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: https://launchpadlibrarian.net/363812239/buildlog_ubuntu-xenial-armhf.hostchecker_1.0-0~201804081715~ubuntu16.04.1_BUILDING.txt.gz

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Jasem Mutlaq
Solved:
2018-04-08
Last query:
2018-04-08
Last reply:
Jasem Mutlaq (mutlaqja) said : #1

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

William Grant (wgrant) said : #2

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