[OmniOS-discuss] OmniOS and OpenMP

Dan McDonald danmcd at omniti.com
Mon Dec 28 21:45:25 UTC 2015


> On Dec 24, 2015, at 6:36 PM, Bob Friesenhahn <bfriesen at simple.dallas.tx.us> wrote:
> 
> 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.

It's possible, but I'd have to think about how best to package it up (including dependencies, etc. etc.).  I don't have any objections to including gomp in gcc-5-runtime, and modulo the must-have-the-latest-version problem, it might not be so bad.  It's something to consider for bloody & r151018.

Dan



More information about the OmniOS-discuss mailing list