<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unrecognized value "pwr4" and "pwr7" on a Power8 machine"
href="https://bugs.llvm.org/show_bug.cgi?id=38379">38379</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unrecognized value "pwr4" and "pwr7" on a Power8 machine
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>4.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>noloader@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>I'm working on GCC112 on the compile farm. GCC1128 is Power8/ISA 2.07, but
Power4 and Power7 probes are failing:
gcc2-power8]$ xlC -qarch=pwr4 -qaltivec -c adhoc.cpp
warning: 1540-5203 Unrecognized value "pwr4" specified with option "arch".
1 warning generated.
gcc2-power8]$ xlC -qarch=pwr7 -qaltivec -c adhoc.cpp
warning: 1540-5203 Unrecognized value "pwr7" specified with option "arch".
1 warning generated.
gcc2-power8]$ xlC -qarch=pwr8 -qaltivec -c adhoc.cpp
gcc2-power8]$
And from GCC119 which is the AIX machine on the compile farm:
-bash-4.4$ xlC -qarch=pwr4 -c adhoc.cpp
-bash-4.4$ xlC -qarch=pwr7 -qaltivec -c adhoc.cpp
-bash-4.4$ xlC -qarch=pwr8 -qaltivec -c adhoc.cpp
-bash-4.4$
The new behavior causes some configure's to produce incorrect results (like
ours):
if (Power4); then
if (Power7); then
if (Power8); then
...
fi
fi
fi
-----
GCC119/AIX machine:
-bash-4.4$ xlC -qversion
IBM XL C/C++ for AIX, V13.1.3 (5725-C72, 5765-J07)
Version: 13.01.0003.0004
GCC112/Linux machine:
$ xlC -qversion
IBM XL C/C++ for Linux, V13.1.6 (Community Edition)
Version: 13.01.0006.0001</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>