This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] build-many-glibcs: Remove no_isolate from SH config
On 14/03/2017 19:04, Joseph Myers wrote:
> On Tue, 14 Mar 2017, Adhemerval Zanella wrote:
>
>>> This code is present in glibc purely for compat symbols, which are only
>>> exported on a limited number of architectures, which do not include SH.
>>> Thus, I'd favour arranging for the code only to be built at all for those
>>> architectures (i386 m68k powerpc32 s390-32; ia64 also exports these
>>> symbols, but from a separate implementation), and not for any other 32-bit
>>> architecture (and if such architectures need these functions in glibc,
>>> they will get them from libgcc.a). That would of course need
>>> build-many-glibcs tests to make sure it doesn't break anything.
>>>
>>
>> Right, I will follow this idea then.
>
> Note that this code goes along with the symbol-hacks.h code that redirects
> __divdi3 to __divdi3_internal etc. - that code will also need to be
> disabled except for the four architectures that actually export code from
> divdi3.c.
>
Yes, this very issue showed itself on a architecture that is not suppose
to export these symbols.