<div dir="ltr">XL for little-endian is essentially a difference beast than prior compilers with the XL name.<div>So, IBM changed the identification macros.<br><div>See the following two docs for more info:</div><div><br></div><div><a href="https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_13.1.6/com.ibm.xlcpp1316.lelinux.doc/compiler_ref/opt_qxlcompatmacros.html">https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_13.1.6/com.ibm.xlcpp1316.lelinux.doc/compiler_ref/opt_qxlcompatmacros.html<br></a></div><div><a href="https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_13.1.6/com.ibm.xlcpp1316.lelinux.doc/compiler_ref/xlmacros.html">https://www.ibm.com/support/knowledgecenter/en/SSXVZZ_13.1.6/com.ibm.xlcpp1316.lelinux.doc/compiler_ref/xlmacros.html<br></a></div><div><br></div><div>TL;DR: You can "bring them back" with <span style="color:rgb(0,0,0);font-family:monospace;font-size:medium;white-space:pre-wrap">-qxlcompatmacros</span></div><div><span style="color:rgb(0,0,0);font-family:monospace;font-size:medium;white-space:pre-wrap"><br></span></div>-Paul<br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 30, 2018 at 6:09 PM, Jeffrey Walton via cfarm-users <span dir="ltr"><<a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've got a compile failure on GCC112 with IBM XL C/C++. It is a Linux<br>
ppc64-le machine.<br>
<br>
This is a relatively new failure (or I have not tested in a while).<br>
The compiler avoids an XLC code guarded by defined(__xlc__) ||<br>
defined(__xlC__), and drops into a GCC code path. XLC then fails to<br>
compile __builtin_vec_vcipher (and friends).<br>
<br>
   $ xlC -qshowmacros -qarch=pwr8 -qaltivec -E rijndael-simd.cpp | grep -i xlc<br>
   #define __XLC_BUILTIN_VAARG__ 1<br>
<br>
There's only a single macro, which is very unusual.<br>
<br>
   $ xlC -qversion<br>
   IBM XL C/C++ for Linux, V13.1.6 (Community Edition)<br>
   Version: 13.01.0006.0001<br>
   /opt/ibm/xlC/13.1.6/bin/.orig/<wbr>xlC ...<br>
<br>
Where did XL C/C++  predefined macros go on GCC112? How do I get them back?<br>
______________________________<wbr>_________________<br>
cfarm-users mailing list<br>
<a href="mailto:cfarm-users@lists.tetaneutral.net">cfarm-users@lists.tetaneutral.<wbr>net</a><br>
<a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/<wbr>listinfo/cfarm-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><font face="courier new, monospace"><div>Paul H. Hargrove <<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a>></div><div>Computer Languages & Systems Software (CLaSS) Group</div><div>Computer Science Department</div><div>Lawrence Berkeley National Laboratory</div></font></div></div></div></div></div>
</div>