[cfe-dev] Llvm/clang build issues

Halfdan Ingvarsson via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 20 07:09:42 PDT 2017


This doesn't really look to have anything to do with Clang/LLVM in
particular.

Instead, this looks more like one of several things:
1) Out of disk space. Did you check the size of the files that it's
complaining about? Are they zero-sized?
2) Your build is partly broken -- Start again with a clean build. MSVC has
a tendency of not cleaning up partially written output files when a build
fails with a compiler/linker crash.
3) Your MSVC installation is broken -- Re-installation time :-(
4) Your hardware is kaput.



- ½

On 20 September 2017 at 05:29, Kim Gadecki via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Problems continuing
>
>
> [ 63%] Building RC object tools/lto/CMakeFiles/LTO.dir/_
> _/__/resources/windows_version_resource.rc.res
> [ 63%] Linking CXX shared library ..\..\bin\LTO.dll
> ..\..\lib\LLVMAMDGPUCodeGen.lib : fatal error LNK1136: invalid or corrupt
> file
> LINK Pass 1 failed. with 1136
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\CMake\bin\cmake.exe"'
> : return code '0xffffffff'
> Stop.
> NMAKE : fatal error U1077: '"E:\Microsoft Visual Studio
> 14.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"E:\Microsoft Visual Studio
> 14.0\VC\BIN\nmake.exe"' : return code '0x2'
> Stop.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170920/bc64e492/attachment.html>


More information about the cfe-dev mailing list