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

Joseph Myers joseph@codesourcery.com
Wed Feb 10 16:40:00 GMT 2016


On Wed, 10 Feb 2016, Florian Weimer wrote:

> > 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. :-/

My original request to work on a GCC-based solution rather than exporting 
the extra names from libmvec.so was *not* meant to mean "post one message 
to the gcc list and expect a solution to emerge and be implemented".  It 
was meant to mean leading the full process from discussion through 
consensus building and implementation.  (And originally we envisaged that 
the asm-based workaround in the header would suffice, before it turned out 
that didn't work with LTO.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list