[llvm-bugs] [Bug 26224] New: Release 3.8 fails to configure on ppc64le

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 20 11:21:14 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26224

            Bug ID: 26224
           Summary: Release 3.8 fails to configure on ppc64le
           Product: Build scripts
           Version: 3.8
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: kbarton at ca.ibm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160120/f1dd6694/attachment-0001.html>


More information about the llvm-bugs mailing list