[LLVMbugs] [Bug 18287] New: GetHostTriple.cmake incorrectly identifies arch under MSYS with MinGW-w64

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Dec 19 15:30:31 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18287

            Bug ID: 18287
           Summary: GetHostTriple.cmake incorrectly identifies arch under
                    MSYS with MinGW-w64
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: chris at chris-kay.co.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11755
  --> http://llvm.org/bugs/attachment.cgi?id=11755&action=edit
Proposed "fix"

Using CMake started under an MSYS environment and using MSYS makefiles with
MinGW-w64 incorrectly identifies the host and default target as
"i686-pc-mingw32" instead of "x86_64-w64-mingw32".

This behaviour is down to line 11 in cmake/modules/GetHostTriple.cmake, which
checks for MSYS when I believe the correct behaviour would be to ignore it. I,
at least, have had no problems compiling and building after removing the check.
I may have not considered the original reason for adding the check in the first
place, but either way I don't believe it is correct as it currently is.

-- 
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/20131219/7fd2e66c/attachment.html>


More information about the llvm-bugs mailing list