From cba28b26cdf93a74b52e1ec1635bee7107cb4995 Mon Sep 17 00:00:00 2001 From: Richard Weickelt Date: Sat, 25 May 2019 17:45:41 +0200 Subject: Make the address sanitizer work in Docker - Libasan requires ptrace capabilities when running in Docker - Provide a suppressions file - Update stretch Docker image to build against libicu and match the configure options of the official Qt release. Otherwise the address sanitizer fails when Qbs loads plugins. Change-Id: Ib620187a3cdd486eaf646ee0bd022b811744a998 Reviewed-by: Ivan Komissarov Reviewed-by: Christian Kandeler --- docker/stretch/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docker') diff --git a/docker/stretch/Dockerfile b/docker/stretch/Dockerfile index 70db3dd8d..d7258f97f 100644 --- a/docker/stretch/Dockerfile +++ b/docker/stretch/Dockerfile @@ -37,6 +37,7 @@ RUN apt-get update -qq && \ libfontconfig1-dev \ libfreetype6-dev \ libgmp-dev \ + libicu-dev \ libmpc-dev \ libmpfr-dev \ libtool \ @@ -67,8 +68,11 @@ RUN mkdir -p qt/build && \ -nomake examples \ -nomake tests \ -platform linux-g++ \ + -no-use-gold-linker \ + -R . \ + -sysconfdir /etc/xdg \ -qt-freetype -qt-harfbuzz -qt-pcre -qt-sqlite -qt-xcb -qt-zlib \ - -no-cups -no-dbus -no-pch \ + -no-cups -no-dbus -no-pch -no-libudev \ -no-feature-accessibility -no-opengl \ -skip qtactiveqt \ -skip qt3d \ @@ -145,6 +149,7 @@ RUN apt-get update -qq && \ ca-certificates \ git \ libclang-3.9 \ + libicu57 \ pkg-config \ make \ help2man \ -- cgit v1.2.3