Alignment fixups for gethostbyname_r
rep.dot.nop at gmail.com
Sun Jan 6 13:30:33 UTC 2008
On Sun, Jan 06, 2008 at 01:35:11AM -0800, Michael Deutschmann wrote:
>Mike Frysinger wrote:
>> the nice thing about alignment tests are they're easy to write ... the bad
>> thing is that not everyone has native alignment requirements, so it'll pass
>> fine on the common systems (x86/x86_64), warn on the semi-common (arm/hppa)
>> (and no one will notice), and only fail on the uncommon (Blackfin).
>Actually, there's an obscure flag bit that puts an IA-32 processor in a mode
>where it is fascist about alignment.
What would that be? Please give a useable example including a config
option that can be used for debugging purposes only.
> So it should be possible to derive a
>special uClibc build which operates with the flag set, and will fault if
>there are alignment issues.
More information about the uClibc