On 07/06/2023 22:09, Vincent Bernat wrote:

On 2023-06-07 12:07, Danilo Egea Gondolfo wrote:

* What led up to the situation?

The build is failing on armhf because cmake is not detecting the architecture correctly as we cross compile on arm64.

Also, after fixing the cmake part, the build will fail in src/triggers.h due to the attribute used when it build on arm 32-bit. It might be a bug on gcc but I'm not sure (clang++ doesn't throw the same error).

Shouldn't all this be fixed upstream?

Hi,

I've started a discussion here https://github.com/iovisor/bpftrace/pull/2360

It appears to be a bug in GCC. One of the developers replied with a nice explanation on why this code is required and suggested that building the entire package using the ARM ISA could be a good solution.

Reply via email to