diff mbox

imagemagick: Disable OpenMP

Message ID 1408553365-26770-1-git-send-email-benoit.thebaudeau.dev@gmail.com
State Accepted
Headers show

Commit Message

Benoît Thébaudeau Aug. 20, 2014, 4:49 p.m. UTC
By default (i.e. without adding libgomp.so* to
BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS), if an external toolchain with libgomp
support is used, then libgomp is installed to staging/ , but not to target/ .
Consequently, with such a toolchain, imagemagick's configure detected libgomp as
supported and enabled its usage for the build stage, but then it failed to run
on the target because libgomp was missing. This is the bug #7322.

Disable OpenMP for imagemagick as a temporary workaround, until a better long
term solution is agreed on and implemented.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>

---

For 2014.08.
---
 package/imagemagick/imagemagick.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Aug. 21, 2014, 1:21 p.m. UTC | #1
Dear Benoît Thébaudeau,

On Wed, 20 Aug 2014 18:49:25 +0200, Benoît Thébaudeau wrote:
> By default (i.e. without adding libgomp.so* to
> BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS), if an external toolchain with libgomp
> support is used, then libgomp is installed to staging/ , but not to target/ .
> Consequently, with such a toolchain, imagemagick's configure detected libgomp as
> supported and enabled its usage for the build stage, but then it failed to run
> on the target because libgomp was missing. This is the bug #7322.
> 
> Disable OpenMP for imagemagick as a temporary workaround, until a better long
> term solution is agreed on and implemented.
> 
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>

Applied, thanks.

Thomas
diff mbox

Patch

diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 386da4f..aac0b5d 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -29,6 +29,7 @@  IMAGEMAGICK_CONF_ENV = ac_cv_sys_file_offset_bits=32
 endif
 
 IMAGEMAGICK_CONF_OPT = --program-transform-name='s,,,' \
+		--disable-openmp \
 		--without-perl \
 		--without-wmf \
 		--without-openexr \