[bug-notifications] [imagemagick 0003664]: using -xopenmp precludes gcc usage

Mantis Bug Tracker noreply at opencsw.org
Fri May 22 00:59:22 CEST 2009


The following issue has been CLOSED 
====================================================================== 
http://opencsw.org/mantis/view.php?id=3664 
====================================================================== 
Reported By:                pfelecan
Assigned To:                
====================================================================== 
Project:                    imagemagick
Issue ID:                   3664
Category:                   regular use
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-11 10:22 CEST
Last Modified:              2009-05-22 00:59 CEST
====================================================================== 
Summary:                    using -xopenmp precludes gcc usage
Description: 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0006099) hson (manager) - 2009-05-11 13:26
 http://opencsw.org/mantis/view.php?id=3664#c6099 
---------------------------------------------------------------------- 
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 (reporter) - 2009-05-11 14:33
 http://opencsw.org/mantis/view.php?id=3664#c6100 
---------------------------------------------------------------------- 
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 (manager) - 2009-05-22 00:59
 http://opencsw.org/mantis/view.php?id=3664#c6167 
---------------------------------------------------------------------- 
6.5.2 released with openmp disabled 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
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       
======================================================================




More information about the bug-notifications mailing list