Mantis - imagemagick
Viewing Issue Advanced Details
3664 regular use block always 2009-05-11 10:22 2009-05-22 00:59
pfelecan  
 
normal  
closed  
fixed  
none    
none  
0003664: using -xopenmp precludes gcc usage
when using imagemagick's API and pkgconfig we inherit the -xopenmp flag which is not supported by gcc.

I wonder if the usage of this option is reasonable for this project.

My recommendation is to remove this option.
Issue History
2009-05-11 10:22 pfelecan New Issue
2009-05-11 13:26 hson Note Added: 0006099
2009-05-11 14:33 pfelecan Note Added: 0006100
2009-05-22 00:59 hson Note Added: 0006167
2009-05-22 00:59 hson Status new => closed
2009-05-22 00:59 hson Resolution open => fixed

Notes
(0006099)
hson   
2009-05-11 13:26   
Well, imagemagick's configure script explicitly checks for and adds xopenmp by itself so what implications it might have, trying to remove it manually, is unknown
(0006100)
pfelecan   
2009-05-11 14:33   
To remove it manually, if you use Sun Studio C compiler has the effect of not using parallelism which I don't think is an issue.

In my opinion, you have 2 solutions:

1. provide a non parallel version compiled with Sun Studio, possibly in addition to a parallel one

2. build with gcc
(0006167)
hson   
2009-05-22 00:59   
6.5.2 released with openmp disabled