This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix sparc build due missing __WORDSIZE_TIME64_COMPAT32 definition (committed)
On 04/11/2016 19:25, Joseph Myers wrote:
> On Fri, 4 Nov 2016, Adhemerval Zanella wrote:
>
>> 1. Remove 32 bits definition form 64 bits headers and vice versa.
>> For instance, powerpc32 and sparc32 linux wordsize contains
>> checks for 64 bits definition and ideally 32 bit build should
>> not include such header.
>>
>> 2. Linux definition could include-next default definition instead
>> of replicate its value.
>
> Installed headers have to be suitable for all multilibs in multiarch cases
> and cannot #include_next other variants of that header. The files
> sysdeps/sparc/sparc32/bits/wordsize.h and
> sysdeps/sparc/sparc64/bits/wordsize.h and
> sysdeps/powerpc/powerpc32/bits/wordsize.h and
> sysdeps/powerpc/powerpc64/bits/wordsize.h are unused.
Right, I forgot about these are installed headers.