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

            Bug ID: 377325
           Summary: CMake check_library_exists for FindLibunwind fails
                    (cross compiling)
           Product: Heaptrack
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: m...@milianw.de
          Reporter: zeno.endem...@googlemail.com
  Target Milestone: ---

Created attachment 104430
  --> https://bugs.kde.org/attachment.cgi?id=104430&action=edit
CMake cross compile file

I have a yocto cross compile setup, when trying to compile heaptrack it
apparently doesn't find the symbols in the libunwind.so.

Not entirely sure this bug is valid as there might be something unusual with my
setup. Anyway, some details:

Target hardware: i.MX6 Duo

Cmake command:
  cmake /path/to/heaptrack -G'Unix Makefiles' -DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_TOOLCHAIN_FILE:STRING=toolchain.cmake -DHEAPTRACK_BUILD_GUI:BOOL=OFF
-DQT_QMAKE_EXECUTABLE:STRING=/path/to/hosttools/usr/bin/qt5/qmake

toolchain.cmake attached

When commenting out the checks it compiles at least (though it seems to crash
on the device - need to debug this further, might be unrelated)

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

Reply via email to