[PATCH] makekeys: Fix build/target word size mismatch when cross-compiling

Daniel Stone daniel at fooishbar.org
Mon May 30 07:42:01 PDT 2011


On Fri, May 20, 2011 at 11:05:44AM -0400, Derek Buitenhuis wrote:
> Since makekeys is built using build environment's gcc and
> run natively, we have to make sure that the size of the
> Signature type is the same on both the native build environment
> and the host, otherwise we get mismatches upon running X,
> and some LSB test failures (xts5).
> Have configure check the size of the host's unsigned long
> and typedef Signature in makekeys.c accordingly.

Why not just typedef Signature to be uint32_t everywhere?


More information about the xorg-devel mailing list