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

Florian Weimer fweimer@redhat.com
Wed Feb 10 16:35:00 GMT 2016


On 02/10/2016 05:33 PM, Joseph Myers wrote:
> On Wed, 10 Feb 2016, H.J. Lu wrote:
> 
>>>> I don't think we should put a GCC bug workaround in glibc. It should
>>>> be fixed or worked around it in GCC.
>>>
>>> Since GCC 4.9 vector function name is formed based on asm declaration
>>> name, to support that GCC versions we need to have such workaround.
>>>
>>
>> So it is the part of ABI, isn't it?
> 
> It is deliberately only part of the static library ABI, not part of the 
> shared library ABI, because the shared libraries should not need more than 
> one internal-namespace exported name for the same interface (and it's a 
> compiler limitation that the other name exists at all).

I'm still surprised that we ended up in this situation. :-/

Can those distributions who want to support unfixed system compilers
carry this workaround as a local fix?

Florian



More information about the Libc-alpha mailing list