[OmniOS-discuss] OmniOS and OpenMP

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Thu Dec 24 23:36:46 UTC 2015


GCC compiled programs making use of OpenMP require libgomp in order to run. 
Currently this library is provided as part of the GCC packages. It is necessary 
to install all of GCC in order for dependent programs to be able to run, and 
linker run-path (e.g. -R/opt/gcc-5.1.0/lib) also needs to be specified when 
linking the program.  There was a similar problem for libgcc_s.so but this was 
provided via a runtime package:

% pkg contents system/library/gcc-5-runtime
PATH
usr/lib/amd64
usr/lib/amd64/libgcc_s.so
usr/lib/amd64/libgcc_s.so.1
usr/lib/libgcc_s.so
usr/lib/libgcc_s.so.1

Can a similar runtime package be provided for libgomp (e.g. 
gcc-5-gomp-runtime)?  It would make sense for gomp to be included in 
gcc-5-runtime except that since it was not included from the start, adding it 
now might cause problems.

Thanks,

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


More information about the OmniOS-discuss mailing list