summaryrefslogtreecommitdiff
path: root/rhbz-1354671.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2017-01-24 11:35:57 +0100
committerMartin Stransky <stransky@redhat.com>2017-01-24 11:35:57 +0100
commit402aa35821464cf89dbbff9b3530a84bd54d1af6 (patch)
treedba1477cab0d5ccaf031469febcebec5ffbf4d7f /rhbz-1354671.patch
parentDon't build with system sqlite on F24 (diff)
downloadlibrewolf-fedora-ff-402aa35821464cf89dbbff9b3530a84bd54d1af6.tar.gz
librewolf-fedora-ff-402aa35821464cf89dbbff9b3530a84bd54d1af6.tar.bz2
librewolf-fedora-ff-402aa35821464cf89dbbff9b3530a84bd54d1af6.zip
Added fix for aarch64 crashes (rhbz#1354671)
Diffstat (limited to 'rhbz-1354671.patch')
-rw-r--r--rhbz-1354671.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/rhbz-1354671.patch b/rhbz-1354671.patch
new file mode 100644
index 0000000..7164e3d
--- /dev/null
+++ b/rhbz-1354671.patch
@@ -0,0 +1,16 @@
+@@ -, +, @@
+---
+ layout/base/nsIPresShell.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+--- a/layout/base/nsIPresShell.h
++++ a/layout/base/nsIPresShell.h
+@@ -224,7 +224,7 @@ public:
+ * to the same aSize value. AllocateFrame returns zero-filled memory.
+ * AllocateFrame is infallible and will abort on out-of-memory.
+ */
+- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize)
++ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize)
+ {
+ void* result = mFrameArena.AllocateByFrameID(aID, aSize);
+ RecordAlloc(result);
+--
bgstack15