All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] imagemagick: Disable OpenMP
@ 2014-08-20 16:49 Benoît Thébaudeau
  2014-08-21 13:21 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Benoît Thébaudeau @ 2014-08-20 16:49 UTC (permalink / raw)
  To: buildroot

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(+)

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 \
-- 
1.9.1

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

* [Buildroot] [PATCH] imagemagick: Disable OpenMP
  2014-08-20 16:49 [Buildroot] [PATCH] imagemagick: Disable OpenMP Benoît Thébaudeau
@ 2014-08-21 13:21 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-08-21 13:21 UTC (permalink / raw)
  To: buildroot

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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2014-08-21 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 16:49 [Buildroot] [PATCH] imagemagick: Disable OpenMP Benoît Thébaudeau
2014-08-21 13:21 ` Thomas Petazzoni

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.