summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/shuffle.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-27 22:40:13 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-09-01 13:09:18 +0300
commit1d003875577de4d789103f8d9ebc0f792038b963 (patch)
tree638160f9ecf6ea9a1efe8f794fe3bdaa6c4d354e /src/qcam/assets/feathericons/shuffle.svg
parentc0ca2cbdc2dfcca50d7bc71a93629ca8e02b1682 (diff)
test: v4l2_compat: Disable test when ASan is enabled
The V4L2 compat test runs v4l2-ctl and v4l2-compliance with v4l2-compat.so preloaded. If libcamera is compiled with the address sanitizer enabled, the ASan library will be loaded due to preloading v4l2-compat.so. This however doesn't occur early enough in the dynamic linking process due to the v4l2 executables not being themselves linked to the ASan runtime, which causes ASan to abort with ==2198==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. Using LD_PRELOAD to load the ASan runtime would fix this issue, but it requires knowing the absolute path to the ASan shared object. This is compiler-dependent and for clang, architecture-dependent as well. Until we figure out how to safely retrieve that information, disable the test when ASan is enabled as a quick fix. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/shuffle.svg')
0 files changed, 0 insertions, 0 deletions