[cmake-developers] [PATCH] Fix broken PGI builds for liblzma.

Chuck Atkins chuck.atkins at kitware.com
Fri Aug 1 14:22:55 EDT 2014


I noticed the recent merge of liblzma broke the PGI compiler.  The attached
patch should address the issues:

PGC-S-0037-Syntax error: Recovery attempted by deleting keyword static
(/home/chuck/Code/cmake/source/Utilities/cmliblzma/liblzma/check/sha256.c:
84)

Once that's fixed, then the 32-bit build works but the 64-bit build is
still broken with:

../Utilities/cmliblzma/libcmliblzma.a(sha256.c.o): In function
`lzma_sha256_finish':
/home/chuck/Code/cmake/source/Utilities/cmliblzma/liblzma/check/sha256.c:196:
undefined reference to `__bswap_64'

The patch should address both issues with explanations as to why.


- Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140801/dd7ad8e7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-broken-PGI-builds-for-liblzma.patch
Type: text/x-patch
Size: 2971 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140801/dd7ad8e7/attachment.bin>


More information about the cmake-developers mailing list