Why __WORDSIZE_COMPAT32 is off for x86_64?
Denys Vlasenko
vda.linux at googlemail.com
Thu Nov 26 12:49:51 UTC 2009
libc/sysdeps/linux/x86_64/bits/wordsize.h:
/* Determine the wordsize from the preprocessor defines. */
#if defined __x86_64__
# define __WORDSIZE 64
/*# define __WORDSIZE_COMPAT32 1*/
#else
# define __WORDSIZE 32
#endif
This breaks /var/run/utmp format.
This makes any tool which uses /var/run/utmp to misbehave
on a system where some other parts are based on glibc:
https://bugzilla.redhat.com/show_bug.cgi?id=541587
Whoever commented it out forgot to explain *why*
he commented it out. I propose uncommenting it.
Please ACK or apply attached patch.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6.patch
Type: application/octet-stream
Size: 538 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20091126/eaac9f27/attachment.obj>
More information about the uClibc
mailing list