[PATCH] macros: Use conservative default for malloc(0) when cross-compiling #24460

Mikhail Gusarov dottedmag at dottedmag.net
Wed Dec 9 02:02:29 PST 2009


Twas brillig at 21:36:41 08.12.2009 UTC-05 when
gaetan.nadon at videotron.ca did gyre and gimble:

 GN> libX11 fails to cross-compile unless --enable-malloc0returnsnull is
 GN> given during configuration, since configure can't run test programs
 GN> in this situation.

Why not give it?

 GN> This is a sensible conservative default that should be used by
 GN> default when cross-compiling rather than requiring it to be forced
 GN> explicitly.

I'd prefer configure to explicitly fail instead of silently making
choices behind my back.

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091209/11853123/attachment-0001.pgp 


More information about the xorg-devel mailing list