[PATCH 05/29] Allow fd_mask type not be an array of long.
Will Newton
will.newton@linaro.org
Tue Nov 18 11:24:00 GMT 2014
On 27 October 2014 16:32, Chris Metcalf <cmetcalf@tilera.com> wrote:
> On 10/27/2014 3:59 AM, Andrew Pinski wrote:
>>
>> +/* The fd_set member is required to be an array of longs by XPG4.2. */
>
>
> So on aarch64 compat it's now an array of long longs. Is this a problem?
> Would it be better to make it an array of longs but twice as many longs on
> ILP32 as on LP64? I suppose this becomes problematic when supporting
> big-endian, though. But it would be good to address the XPG4.2 issue
> somewhere in the headers.
Yes, this seems strange to me. Maybe it might be best handled by a
wrapper in the kernel?
--
Will Newton
Toolchain Working Group, Linaro
More information about the Libc-alpha
mailing list