[PATCH] [BZ #19058] Better workaround for aliases of *_finite symbols in vector math library
Joseph Myers
joseph@codesourcery.com
Thu Nov 26 17:25:00 GMT 2015
On Thu, 26 Nov 2015, Andrew Senkevich wrote:
> Hi,
>
> BZ #19058 shows that current workaround based on assembly aliases can
> lead to link fail with -fopenmp and -flto options.
> This patch makes workaround in another way to avoid such linker fails.
>
> 2015-11-26 Andrew Senkevich <andrew.senkevich@intel.com>
>
> [BZ #19058]
> * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
> AS_NEEDED.
> * sysdeps/x86/fpu/bits/math-vector.h: Removed code with old
> workaround.
> * sysdeps/x86_64/fpu/Makefile (libmvec-support,
> libmvec-static-only-routines): Added new file.
> * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
OK, but you need to take a more active lead in the gcc list discussion in
seeking consensus for an appropriate solution for controlling what
assembler name the names for vector variants are based on and then getting
that implemented.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list