[llvm-bugs] [Bug 30255] New: Build clang for ARM target in Visual Studio 2015 failed

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 2 06:41:55 PDT 2016


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

            Bug ID: 30255
           Summary: Build clang for ARM target in Visual Studio 2015
                    failed
           Product: Build scripts
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: alfedotov at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17207
  --> https://llvm.org/bugs/attachment.cgi?id=17207&action=edit
log from VStudio build console

Hi guys

I'm trying to build clang for ARM target using Cmake and Visual Studio 2015.

Cmake generates solution well with LLVM_TARGETS_TO_BUILD=ARM.
But during build process I've git following error:

222>  Kaleidoscope-Ch8.vcxproj -> D:\llvm_arm\Debug\bin\Kaleidoscope-Ch8.exe
233>------ Skipped Build: Project: Kaleidoscope, Configuration: Debug Win32
------
233>Project not selected to build for this solution configuration 
224>LINK : fatal error LNK1104: cannot open file 'LLVMX86CodeGen.lib'
232>LINK : fatal error LNK1104: cannot open file 'LLVMX86CodeGen.lib'
228>  Building Custom Rule D:/llvm-nxp/CMakeLists.txt
228>  CMake does not need to re-run because
D:\llvm_arm\CMakeFiles\generate.stamp is up-to-date.
234>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
234>Project not selected to build for this solution configuration 
235>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32 ------
235>Project not selected to build for this solution configuration 
========== Build: 224 succeeded, 3 failed, 0 up-to-date, 8 skipped ==========


Why it is trying to find LLVMX86CodeGen.lib while target is ARM ?

When I setup LLVM_TARGETS_TO_BUILD=X86;ARM - build process finishes without
error.

-- 
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/20160902/e39d2500/attachment-0001.html>


More information about the llvm-bugs mailing list