This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #19058] Better workaround for aliases of *_finite symbols in vector math library
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 26 Nov 2015 17:25:08 +0000
- Subject: Re: [PATCH] [BZ #19058] Better workaround for aliases of *_finite symbols in vector math library
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3uVghLzryBppyfCny2vxkhW4tORyFU=PM-O4=4+qp5yEw at mail dot gmail dot com>
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