From 4d29857028b22986aad6c0b8f9d5fec6060d308da5c2c09a560b3147715a849f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 22 Sep 2020 11:24:06 +0000 Subject: [PATCH] Accepting request 836056 from home:Guillaume_G:branches:graphics - Fix build on aarch64 by pre-loading libgomp.so.1 to avoid: "load error: /usr/lib64/libgomp.so.1: cannot allocate memory in static TLS block" OBS-URL: https://build.opensuse.org/request/show/836056 OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=103 --- gegl.changes | 7 +++++++ gegl.spec | 3 +++ 2 files changed, 10 insertions(+) diff --git a/gegl.changes b/gegl.changes index 5661a52..7403bd4 100644 --- a/gegl.changes +++ b/gegl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 22 10:01:30 UTC 2020 - Guillaume GARDET + +- Fix build on aarch64 by pre-loading libgomp.so.1 to avoid: + "load error: /usr/lib64/libgomp.so.1: cannot allocate memory + in static TLS block" + ------------------------------------------------------------------- Mon Aug 10 08:09:09 UTC 2020 - Bjørn Lie diff --git a/gegl.spec b/gegl.spec index a08bfe4..26903ed 100644 --- a/gegl.spec +++ b/gegl.spec @@ -155,6 +155,9 @@ input and output. %autosetup -p1 %build +%ifarch aarch64 +export LD_PRELOAD="/usr/lib64/libgomp.so.1" +%endif %meson \ -Dmrg=disabled \ %if ! %{with luajit}