Alignment fixups for gethostbyname_r

Michael Deutschmann michael at
Sun Jan 6 09:35:11 UTC 2008

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.  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.

---- Michael Deutschmann <michael at>

More information about the uClibc mailing list