[llvm-dev] r260758 broke windows build

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Sat Feb 13 05:56:16 PST 2016


On 2/12/2016 9:47 PM, Vince Harron wrote:
> Are you building LLDB?  Im guessing that is where the failure is

I'm building LLVM. The failure in the buildbot happens when compiling 
HexagonFrameLowering.cpp:

----------
FAILED: C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe   /nologo /TP /DWIN32 
/D_WINDOWS   /W4 -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 
-wd4345 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 
-wd4722 -wd4800 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 
-wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 
-wd4577 -wd4091 -wd4592 -wd4319 -wd4324 -w14062 -we4238 /Zc:inline /Oi 
/Zc:rvalueCast /MD /O2 /Ob2 /D NDEBUG -Ilib\Target\Hexagon 
-Ic:\lldbSlave\lldb-win7-android\llvm\lib\Target\Hexagon -Iinclude 
-Ic:\lldbSlave\lldb-win7-android\llvm\include     /EHs-c- /GR- 
/showIncludes -DGTEST_HAS_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE 
-D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE 
-D_CRT_SECURE_NO_WARNINGS -D_DEBUG_POINTER_IMPL="" -D_HAS_EXCEPTIONS=0 
-D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
/Folib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\HexagonFrameLowering.cpp.obj 
/Fdlib\Target\Hexagon\CMakeFiles\LLVMHexagonCodeGen.dir\ /FS -c 
c:\lldbSlave\lldb-win7-android\llvm\lib\Target\Hexagon\HexagonFrameLowering.cpp
C:\Program Files (x86)\Microsoft Visual Studio 
12.0\VC\INCLUDE\xmemory0(577) : fatal error C1001: An internal error has 
occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)
  To work around this problem, try simplifying or changing the program 
near the locations listed above.
Please choose the Technical Support command on the Visual C++
  Help menu, or open the Technical Support help file for more information
         This diagnostic occurred in the compiler generated function 
'llvm::HexagonFrameLowering::optimizeSpillSlots::SlotInfo::optimizeSpillSlots::SlotInfo(void)'
Internal Compiler Error in C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe.  You 
will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe'
     Please choose the Technical Support command on the Visual C++
     Help menu, or open the Technical Support help file for more information
----------

-Krzysztof


>
> On Feb 12, 2016 7:42 PM, "Krzysztof Parzyszek via llvm-dev"
> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
>     It works for me:
>
>     ------ Build started: Project: LLVMHexagonCodeGen, Configuration:
>     RelWithDebInfo Win32 ------
>     cl : Command line warning D9002: ignoring unknown option '/Zc:inline'
>        HexagonFrameLowering.cpp
>     ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped
>     ==========
>
>
>     Here's the info from the "about" window:
>
>        Microsoft Visual Studio Professional 2013
>        Version 12.0.21005.1 REL
>        Microsoft .NET Framework
>        Version 4.6.01055
>
>        Installed Version: Professional
>
>
>     Here's what it showed during cmake:
>
>     c:\"Program Files (x86)"\CMake\bin\cmake -G "Visual Studio 12" /m
>     -DLLVM_TARGETS_TO_BUILD:STRING=All" "-DLLVM_BUILD_RUNTIME:BOOL=OFF"
>     "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY:BOOL=ON"
>     "-DLIBCLANG_BUILD_STATIC=ON" "-DLLVM_USE_MC_TOOLS:STRING=yes"
>     "-DLLVM_ENABLE_PIC:BOOL=ON" "-DLLVM_ENABLE_ASSERTIONS:BOOL=ON"
>     "-DWITH_POLLY:BOOL=OFF" "-DLLVM_BUILD_RUNTIME:BOOL=OFF"
>     "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "..\llvm\llvm.org <http://llvm.org>"
>     -- Building for: Visual Studio 12 2013
>     -- The C compiler identification is MSVC 18.0.21005.1
>     -- The CXX compiler identification is MSVC 18.0.21005.1
>
>
>     -Krzysztof
>
>
>
>     On 2/12/2016 9:16 PM, Krzysztof Parzyszek via llvm-dev wrote:
>
>         I'll try it locally, but in the meantime, could you send me the
>         preprocessed file from your build?
>
>         -Krzysztof
>
>         On 2/12/2016 8:40 PM, Siva Chandra wrote:
>
>             Hello,
>
>             I suspect that r260758 by kparzysz at codeaurora.org
>             <mailto:kparzysz at codeaurora.org> broke build the
>             windows bots which are using Visual Studio 2013 or lower.
>             This doc
>             here specifies that the minimum version required is VS-2013:
>
>             http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library
>
>
>             I do see that the bots running VS-2014 or higher are green.
>
>             Can we either revert the said commit or fix it?
>
>             I work on LLDB and our windows bot is red with build step
>             failing:
>             http://lab.llvm.org:8011/builders/lldb-windows7-android
>
>             Thank you,
>             Siva Chandra
>
>
>
>
>
>     --
>     Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
>     hosted by The Linux Foundation
>     _______________________________________________
>     LLVM Developers mailing list
>     llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>     http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list