[PATCH] BZ #19590: Fixed build of shared objects that use libmvec.so functions

Alexander Monakov amonakov@ispras.ru
Wed Feb 17 17:30:00 GMT 2016


On Wed, 17 Feb 2016, Joseph Myers wrote:
> (In this case, would it introduce any libgomp dependencies?  ...)

Using -fopenmp-simd instead of plain -fopenmp may be better: it ignores
non-simd OpenMP pragmas and does not attempt to link libgomp.

(otherwise if -fopenmp is present at link time, it implicitely adds -lgomp to
the linker command line)

Alexander



More information about the Libc-alpha mailing list