Advertisement
TELunus

libc++ build attempt

Mar 18th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Microsoft Windows [Version 10.0.16299.309]
  2. (c) 2017 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Staging\build>echo "trying to build libc++ acording to https://releases.llvm.org/6.0.0/projects/libcxx/docs/BuildingLibcxx.html"
  5. "trying to build libc++ acording to https://releases.llvm.org/6.0.0/projects/libcxx/docs/BuildingLibcxx.html"
  6.  
  7. C:\Staging>ver
  8.  
  9. Microsoft Windows [Version 10.0.16299.309]
  10.  
  11. C:\Staging>svn --version
  12. svn, version 1.9.7-SlikSvn (SlikSvn/1.9.7)
  13.    compiled Aug 13 2017, 14:10:40 on x86_64-microsoft-windows6.2.9200
  14.  
  15. Copyright (C) 2017 The Apache Software Foundation.
  16. This software consists of contributions made by many people;
  17. see the NOTICE file for more information.
  18. Subversion is open source software, see http://subversion.apache.org/
  19.  
  20. The following repository access (RA) modules are available:
  21.  
  22. * ra_svn : Module for accessing a repository using the svn network protocol.
  23.   - with Cyrus SASL authentication
  24.   - handles 'svn' scheme
  25. * ra_local : Module for accessing a repository on local disk.
  26.   - handles 'file' scheme
  27. * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  28.   - using serf 1.3.9 (compiled with 1.3.9)
  29.   - handles 'http' scheme
  30.   - handles 'https' scheme
  31.  
  32. The following authentication credential caches are available:
  33.  
  34. * Wincrypt cache in C:\Users\TELun\AppData\Roaming\Subversion
  35.  
  36.  
  37. C:\Staging>cmake --version
  38. cmake version 3.10.2
  39.  
  40. CMake suite maintained and supported by Kitware (kitware.com/cmake).
  41.  
  42. C:\Staging>ninja --version
  43. 1.8.2
  44.  
  45. C:\Staging>clang-cl --version
  46. clang version 6.0.0 (tags/RELEASE_600/final)
  47. Target: x86_64-pc-windows-msvc
  48. Thread model: posix
  49. InstalledDir: C:\Program Files\LLVM\bin
  50.  
  51. C:\Staging>cd C:\Staging
  52.  
  53. C:\Staging>svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
  54. Checked out revision 327808.
  55.  
  56. C:\Staging>cd C:\Staging
  57.  
  58. C:\Staging>cd llvm/projects
  59.  
  60. C:\Staging\llvm\projects>svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
  61. Checked out revision 327808.
  62.  
  63. C:\Staging\llvm\projects>cd C:\Staging
  64.  
  65. C:\Staging>cd llvm/projects
  66.  
  67. C:\Staging\llvm\projects>svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi
  68. Checked out revision 327808.
  69.  
  70. C:\Staging\llvm\projects>cd C:\Staging
  71.  
  72. C:\Staging>mkdir build
  73.  
  74. C:\Staging>cd build
  75.  
  76. C:\Staging\build>cmake -G Ninja                                                                    ^
  77. More?         -DCMAKE_MAKE_PROGRAM=ninja                                         ^
  78. More?         -DCMAKE_SYSTEM_NAME=Windows                                                 ^
  79. More?         -DCMAKE_C_COMPILER=clang-cl                                                 ^
  80. More?         -DCMAKE_C_FLAGS="-fms-compatibility-version=19.00 --target=i686--windows"   ^
  81. More?         -DCMAKE_CXX_COMPILER=clang-cl                                                ^
  82. More?         -DCMAKE_CXX_FLAGS="-fms-compatibility-version=19.00 --target=i686--windows" ^
  83. More?         -DLLVM_PATH=C:\Staging\llvm                                              ^
  84. More?         -DLIBCXX_ENABLE_SHARED=YES                                                  ^
  85. More?         -DLIBCXX_ENABLE_STATIC=NO                                                   ^
  86. More?         -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=NO                                     ^
  87. More?         C:\Staging\llvm
  88. -- The C compiler identification is Clang 6.0.0
  89. -- The CXX compiler identification is Clang 6.0.0
  90. -- The ASM compiler identification is Clang
  91. -- Found assembler: C:/Program Files/LLVM/bin/clang-cl.exe
  92. -- Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe
  93. -- Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe -- broken
  94. CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
  95.   The C compiler
  96.  
  97.     "C:/Program Files/LLVM/bin/clang-cl.exe"
  98.  
  99.   is not able to compile a simple test program.
  100.  
  101.   It fails with the following output:
  102.  
  103.     Change Dir: C:/Staging/build/CMakeFiles/CMakeTmp
  104.  
  105.     Run Build Command:"ninja" "cmTC_1f731"
  106.     [1/2] Building C object CMakeFiles\cmTC_1f731.dir\testCCompiler.c.obj
  107.     [2/2] Linking C executable cmTC_1f731.exe
  108.     FAILED: cmTC_1f731.exe
  109.     cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_1f731.dir --manifests  -- CMAKE_LINKER-NOTFOUND /nologo CMakeFiles\cmTC_1f731.dir\testCCompiler.c.obj  /out:cmTC_1f731.exe /implib:cmTC_1f731.lib /pdb:cmTC_1f731.pdb /version:0.0  /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  110.     RC Pass 1: command "rc /foCMakeFiles\cmTC_1f731.dir/manifest.res CMakeFiles\cmTC_1f731.dir/manifest.rc" failed (exit code 0) with the following output:
  111.     The system cannot find the file specified
  112.     ninja: build stopped: subcommand failed.
  113.  
  114.  
  115.  
  116.  
  117.   CMake will not be able to correctly generate this project.
  118. Call Stack (most recent call first):
  119.   CMakeLists.txt:50 (project)
  120.  
  121.  
  122. -- Configuring incomplete, errors occurred!
  123. See also "C:/Staging/build/CMakeFiles/CMakeOutput.log".
  124. See also "C:/Staging/build/CMakeFiles/CMakeError.log".
  125.  
  126. C:\Staging\build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement