[MPlayer-dev-eng] [PATCH] 'configure' big-endian test not reliable

Derek E. Lewis dlewis at solnetworks.net
Sat May 13 07:58:34 CEST 2006


Linkers, assisted by a compiler, can optimize out the string that is
being used to test for endian-ness in 'configure'. At the suggestion of
dalias, this patch prevents the linker from optimizing out the string,
as it is being returned.  As of now, AIX builds break on 5200-07 or
higher, and more linkers could pick up this behaviour in the future.

Thanks,

-- 
Derek E. Lewis
dlewis at solnetworks.net
http://riemann.solnetworks.net/~dlewis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_bigendian.130506.patch
Type: text/x-patch
Size: 498 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060513/7610b724/attachment.bin>


More information about the MPlayer-dev-eng mailing list