[PATCH] BZ #19590: Fixed build of shared objects that use libmvec.so functions
Andrew Senkevich
andrew.n.senkevich@gmail.com
Wed Feb 17 18:25:00 GMT 2016
2016-02-17 20:30 GMT+03:00 Alexander Monakov <amonakov@ispras.ru>:
> 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)
With -fopenmp-simd GCC 4.9 don't vectorize needed calls.
--
WBR,
Andrew
More information about the Libc-alpha
mailing list