clang compiler packages require a libomp package for -fopenmp

Bug #1646850 reported by Jack Howarth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openmprtl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The Yakkety release only has a http://packages.ubuntu.com/yakkety/libiomp5 package containing no actual library...

http://packages.ubuntu.com/yakkety/amd64/libiomp5/filelist

/usr/share/doc/libiomp5/changelog.Debian.gz
/usr/share/doc/libiomp5/copyright

There should be a new libomp package added to ubuntu to provide the missing llvm OpenMP libomp.so shared library (the libiomp5 so name is deprecated and only provided as a legacy support symlink in the openmp build installation).

Note that the default behavior for -fopenmp, since at least clang 3.8, has been to treat that as -fopenmp=libomp rather than the previous -fopenmp=libgomp as in prior clang releases. Also, the -fopnemp=libgomp has always been effectively a no-op which produces only serial code. The newer clang compilers now produce fully usable parallel code when invoked with the -fopenmp, -fopenmp=libomp and -fopenmp=libiomp5 options.

Colin Watson (cjwatson)
affects: launchpad → openmprtl (Ubuntu)
Revision history for this message
Sylvestre Ledru (sylvestre) wrote :

This is now fixed.

Changed in openmprtl (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.