https://bugs.kde.org/show_bug.cgi?id=452358

Milian Wolff <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
            Summary|Cross-Compile for Aarch64.  |Cross-Compile for Aarch64 -
                   |ZSTD not found.             |Unknown executable format
             Status|REPORTED                    |RESOLVED

--- Comment #1 from Milian Wolff <[email protected]> ---
Hey there,

zstd is an optional dependency which is highly recommended as it will
significantly reduce the overhead of dealing with compressed data - both at
record and at analysis time.

But it's an optional dependency, the cmake output for zstd is all just
"warnings" which you can ignore, if you do not wish to use zstd and rather fall
back to the slower gzip compression instead.

That said, you do have an error, but it's unrelated to zstd - the real issue is
this:

```
CMake Error at 3rdparty/libbacktrace/CMakeLists.txt:119 (message):
  Unknown executable format "Unknown", currently only ELF is supported.
```

I don't know how you managed this, but somehow your cross compile setup is
majorly screwed and cmake is utterly confused. You'll have to figure this out
by getting help on cmake and cross compiling in general. Maybe try to use a
cmake toolchain file instead of trying to overwrite the cmake variables like
you are doing so far? Does it work for other non-heaptrack cmake projects? Try
to google why CMAKE_EXECUTABLE_FORMAT isn't properly deduced for your setup,
that should then fix it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to