https://bugs.kde.org/show_bug.cgi?id=452358
Bug ID: 452358
Summary: Cross-Compile for Aarch64. ZSTD not found.
Product: Heaptrack
Version: 1.3.0
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I try to cross-compile heaptrack for Aarch64 with the following parameters:
cmake \
-DCMAKE_C_FLAGS:STRING="-O3 -march=armv8-a
--sysroot=/home/user/Downloads/armtoolchain/sysroots/aarch64-poky-linux" \
-DCMAKE_CXX_COMPILER=/home/user/Downloads/armtoolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++
\
-DCMAKE_C_COMPILER=/home/user/Downloads/armtoolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc
\
-DCMAKE_AR=/home/user/Downloads/armtoolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar
\
-DCMAKE_LINKER=/home/user/Downloads/armtoolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ld
\
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CROSSCOMPILE=TRUE \
-DCMAKE_SYSROOT=/home/user/Downloads/armtoolchain/sysroots/aarch64-poky-linux \
..
<...>
CMake Warning (dev) at
/opt/cmake-3.19.3-Linux-x86_64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426
(message):
The package name passed to `find_package_handle_standard_args` (ZSTD) does
not match the name of the calling package (Zstd). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindZstd.cmake:15 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:31 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Could NOT find ZSTD (missing: ZSTD_LIBRARY)
-- Performing Test HAVE_CXX11_SUPPORT
-- Performing Test HAVE_CXX11_SUPPORT - Success
CMake Warning (dev) at
/opt/cmake-3.19.3-Linux-x86_64/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426
(message):
The package name passed to `find_package_handle_standard_args` (LibUnwind)
does not match the name of the calling package (Libunwind). This can lead
to problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindLibunwind.cmake:78 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:131 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at 3rdparty/libbacktrace/CMakeLists.txt:34
(cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at 3rdparty/libbacktrace/CMakeLists.txt:119 (message):
Unknown executable format "Unknown", currently only ELF is supported.
<...>
Do I have to provide a zstd package for arm? Is it needed for heaptrack or only
heaptrack_gui ?
Regards
--
You are receiving this mail because:
You are watching all bug changes.