All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable sampling profiler on musl
@ 2022-02-15 13:41 Fabrice Fontaine
  2022-02-23 20:09 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-02-15 13:41 UTC (permalink / raw)
  To: buildroot
  Cc: Peter Seiderer, Fabrice Fontaine, Gaël Portay, Julien Corjon

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 <fontaine.fabrice@gmail.com>
---
 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 2084f3af52..024184e267 100644
--- a/package/qt5/qt5webkit/qt5webkit.mk
+++ b/package/qt5/qt5webkit/qt5webkit.mk
@@ -39,6 +39,10 @@ ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
 QT5WEBKIT_DEPENDENCIES += qt5declarative
 endif
 
+ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
+QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF
+endif
+
 QT5WEBKIT_CONF_OPTS += \
 	-DENABLE_TOOLS=OFF \
 	-DPORT=Qt \
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable sampling profiler on musl
  2022-02-15 13:41 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable sampling profiler on musl Fabrice Fontaine
@ 2022-02-23 20:09 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-02-23 20:09 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot
  Cc: Peter Seiderer, Gaël Portay, Julien Corjon



On 15/02/2022 14:41, Fabrice Fontaine wrote:
> 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 <fontaine.fabrice@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   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 2084f3af52..024184e267 100644
> --- a/package/qt5/qt5webkit/qt5webkit.mk
> +++ b/package/qt5/qt5webkit/qt5webkit.mk
> @@ -39,6 +39,10 @@ ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y)
>   QT5WEBKIT_DEPENDENCIES += qt5declarative
>   endif
>   
> +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
> +QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF
> +endif
> +
>   QT5WEBKIT_CONF_OPTS += \
>   	-DENABLE_TOOLS=OFF \
>   	-DPORT=Qt \
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-23 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-15 13:41 [Buildroot] [PATCH 1/1] package/qt5/qt5webkit: disable sampling profiler on musl Fabrice Fontaine
2022-02-23 20:09 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.