From 1636f604bd61aa9ddd804ce174a51ee41db7e9d6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 15 Feb 2022 14:41:10 +0100 Subject: [PATCH] package/qt5/qt5webkit: disable sampling profiler on musl Disable sampling profiler on musl to avoid the following build falure raised since bump to version 5.212.0-alpha4 in commit df0b0fe6919c0d0f3750f439a3cfa765232bd569: /home/buildroot/autobuild/instance-0/output-1/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/heap/MachineStackMarker.cpp:686:2: error: #error Need a way to get the frame pointer for another thread on this platform 686 | #error Need a way to get the frame pointer for another thread on this platform | ^~~~~ Fixes: - http://autobuild.buildroot.org/results/87f52db7f8ebefa4c1ae3dd70d4a7a460f9aca35 Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/qt5/qt5webkit/qt5webkit.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/qt5/qt5webkit/qt5webkit.mk b/package/qt5/qt5webkit/qt5webkit.mk index 2e96acc00f..6401c39d3d 100644 --- a/package/qt5/qt5webkit/qt5webkit.mk +++ b/package/qt5/qt5webkit/qt5webkit.mk @@ -42,6 +42,10 @@ ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) QT5WEBKIT_DEPENDENCIES += libexecinfo endif +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF +endif + QT5WEBKIT_CONF_OPTS += \ -DENABLE_TOOLS=OFF \ -DPORT=Qt \