summaryrefslogtreecommitdiffstats
path: root/src/launcher-lib/launchermain.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2021-11-30 14:40:23 +0100
committerRobert Griebl <robert.griebl@qt.io>2021-11-30 20:53:31 +0100
commit65ddbe72001cc9e5a49b54d821eafd352c25ee92 (patch)
treef2cf2720cfba2e8a74022bb695890740bbde5c8e /src/launcher-lib/launchermain.h
parent1901a9d4685d1e628402566adcd348a71c5739a7 (diff)
Fix glibc compatibility problem
glibc 2.32 deprecated sys_siglist: the symbol is not available to link against anymore, but it is available at runtime for apps that have been linked against an older glibc version. Our problem is now that the CI builds release version of the AM against an older glibc, which works for the appman binary itself, but if you want to compile a custom appman executable on a modern, glibc 2.32 based system, you get a "missing symbol" linker error in libQt6AppManCommon.a(unixsignalhandler.cpp.o) Detecting this at runtime would be a nightmare for little gain, so we fall back to using the non-async-signal-safe strsignal() function when initially building against a glibc < 2.32. Change-Id: I1e702c5ee00e2725fe6f76f9ce001c099ec72eea Pick-to: 6.2 5.15 Fixes: AUTOSUITE-1667 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/launcher-lib/launchermain.h')
0 files changed, 0 insertions, 0 deletions