Skip to content

Commit

Permalink
[gecko] Configuration option. JB#49613
Browse files Browse the repository at this point in the history
All js and core configuration options should be
defined in this patch.

- With 32bit arm (Linaro GCC 8.2-2018.08) startup of of the context
failed similarly as https://bugzilla.mozilla.org/show_bug.cgi?id=1337263
Also MacOS builds were reporting similar failures but those were fixed
differently.
  • Loading branch information
rainemak committed Apr 22, 2020
1 parent 3271ceb commit a32f8a7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions rpm/0026-gecko-Configuration-option.-JB-49613.patch
@@ -0,0 +1,34 @@
From 9e7510ddfa6954a7480a6d6153b3a1a3aea75ce7 Mon Sep 17 00:00:00 2001
From: Raine Makelainen <raine.makelainen@jolla.com>
Date: Tue, 21 Apr 2020 23:14:14 +0300
Subject: [PATCH 1/2] [gecko] Configuration option. JB#49613

All js and core configuration options should be
defined in this patch.

- With 32bit arm (Linaro GCC 8.2-2018.08) startup of of the context
failed similarly as https://bugzilla.mozilla.org/show_bug.cgi?id=1337263
Also MacOS builds were reporting similar failures but those were fixed
differently.

Signed-off-by: Raine Makelainen <raine.makelainen@jolla.com>
---
js/src/old-configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/src/old-configure.in b/js/src/old-configure.in
index 1c5c9e2145f6..3105458994a9 100644
--- a/js/src/old-configure.in
+++ b/js/src/old-configure.in
@@ -660,7 +660,7 @@ case "$target" in
*-*linux*)
if test "$GNU_CC" -o "$GNU_CXX"; then
MOZ_PGO_OPTIMIZE_FLAGS="-O3"
- MOZ_OPTIMIZE_FLAGS="-O3"
+ MOZ_OPTIMIZE_FLAGS="-O3 -fno-schedule-insns"
if test -z "$CLANG_CC"; then
MOZ_OPTIMIZE_FLAGS="-freorder-blocks $MOZ_OPTIMIZE_FLAGS"
fi
--
2.25.2

1 change: 1 addition & 0 deletions rpm/xulrunner-qt5.spec
Expand Up @@ -68,6 +68,7 @@ Patch22: 0022-Enable-gstreamer-pipeline-debug-graph-generati.patch
Patch23: 0023-media-Require-interleaved-audio-layout-Fixes-JB49532.patch
Patch24: 0024-gecko-Use-MOZ_EMBEDLITE-for-embedlite-integration.patch
Patch25: 0025-gecko-Create-EmbedLiteCompositorBridgeParent-in-Comp.patch
Patch26: 0026-gecko-Configuration-option.-JB-49613.patch

BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Network)
Expand Down

0 comments on commit a32f8a7

Please sign in to comment.