<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Release 3.8 fails to configure on ppc64le"
   href="https://llvm.org/bugs/show_bug.cgi?id=26224">26224</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Release 3.8 fails to configure on ppc64le
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.8
          </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>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kbarton@ca.ibm.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When running CMake configuration on ppc64le, I'm seeing the following error:

...
-- Targeting XCore
-- Found YACC: /usr/bin/yacc
-- Found Tclsh: /usr/bin/tclsh (found version "8.6")
-- Found TCL: /usr/lib/powerpc64le-linux-gnu/libtcl8.6.so
-- Found TCLTK: /usr/lib/powerpc64le-linux-gnu/libtcl8.6.so
-- Found TK: /usr/lib/powerpc64le-linux-gnu/libtk8.6.so
-- Check target operating system - Linux
CMake Error at CMakeLists.txt:13 (add_executable):
  Cannot find source file:

    /home/kbarton/llvm/src/3.8.0rc1/cmake/modules/DetectArchitecture.c

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx


CMake Error: CMake can not determine linker language for target: cmTC_f6f9e
CMake Error: Cannot determine link language for target "cmTC_f6f9e".
CMake Error: Internal CMake error, TryCompile generation of cmake failed
-- Determine the system architecture - failed
-- Check if the system is big endian
...

The command I used to configure was:
cmake -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/kbarton/llvm/install/3.8.0rc1
/home/kbarton/llvm/src/3.8.0rc1

This command works with the latest sources from trunk (3.9), although I do not
see checks for YACC, TCL, or TK when configuring 3.9.</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>