This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix sparc build due missing __WORDSIZE_TIME64_COMPAT32 definition (committed)


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.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]