[cfe-dev] Unable to build 3.7 in VS2015

Daniel Dilts via cfe-dev cfe-dev at lists.llvm.org
Tue Sep 1 15:51:17 PDT 2015


I was able to reproduce this with a preprocessed file.  I have attached the
file to the Microsoft bug report; it should show up in the next few hours.

On Tue, Sep 1, 2015 at 2:02 PM, Mukul Sabharwal <mjsabby at gmail.com> wrote:

> I've built 3.7 fine in release mode with VS 2015, so there be more
> information needed, like maybe OS version and possibly a confirmation
> if you're using the RTM bits for VS 2015.
>
> Can you isolate the crash by getting the preprocessed file (/P option
> for cl.exe), and then compile that in isolation, and see if it fails
> for you consistently?
>
> On Tue, Sep 1, 2015 at 1:48 PM, Daniel Dilts via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
> > Using the following set of commands I get a compiler crash in
> astcontext.cpp
> > from VS2015.
> >
> > svn co http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_370/final/
> llvm
> > cd llvm\tools
> > svn co http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_370/final/
> clang
> > cd clang\tools
> > svn co
> >
> http://llvm.org/svn/llvm-project/clang-tools-extra/tags/RELEASE_370/final/
> > extra
> > cd ..\..\..\..\
> > mkdir build
> > cd build
> > cmake -G "Visual Studio 14" ..\llvm
> > "C:\Program Files (x86)\Microsoft Visual Studio
> 14.0\Common7\IDE\devenv.exe"
> > LLVM.sln /build Release
> >
> >
> > It builds successfully in Debug mode, but Release mode crashes.  I have
> > filed a bug with Microsoft here:
> > https://connect.microsoft.com/VisualStudio/feedback/details/1741530
> >
> > _______________________________________________
> > 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/20150901/fcef5ea8/attachment.html>


More information about the cfe-dev mailing list