[mlpack-svn] [MLPACK] #225: Latest SVN causing VS2010 compiler to crash

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Fri Aug 10 16:31:38 EDT 2012


#225: Latest SVN causing VS2010 compiler to crash
---------------------------+------------------------------------------------
  Reporter:  Adam          |        Owner:  rcurtin
      Type:  defect        |       Status:  closed 
  Priority:  major         |    Milestone:         
 Component:  build system  |   Resolution:  wontfix
  Keywords:                |     Blocking:         
Blocked By:                |  
---------------------------+------------------------------------------------
Changes (by rcurtin):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 I was looking more into this today and I found that I can reproduce the
 problem on an x64 Win7 VS2010 box, and in my situation it seems to
 reproduce itself in several places, some of them even making no sense
 (dtree.cpp is not quite 284 million lines long):

 {{{
 2>C:\Users\ryan\Desktop\mlpack\src\mlpack\methods\det\dtree.cpp(284128537):
 fatal error C1001: An internal error has occurred in the compiler.
 2>  (compiler file 'msc1.cpp', line 1420)
 2>   To work around this problem, try simplifying or changing the program
 near the locations listed above.
 2>  Please choose the Technical Support command on the Visual C++
 2>   Help menu, or open the Technical Support help file for more
 information
 }}}

 After some research into what causes C1001 errors, it seems as though the
 problem is in Microsoft's end, with poor internal compiler code, not
 MLPACK; all the MLPACK code is (to my belief) conformant to the C++
 standard.

 The real way to solve this issue is to file a bug with Microsoft, but
 unfortunately I suspect that will be a long and tedious process that I
 don't have time for (I also don't know very much about the internals of
 the Windows development environment).  If you want to go ahead and do
 that, keep me updated on how it goes, but for now it seems to me your
 workaround of using the Intel C++ compiler is the better route.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/225#comment:4>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list