LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

clang crash in CVI2012


@LuisG wrote:

I don't mind investigating the reason for the crash


Hi Luis,

 

that's nice to hear Smiley Happy and I hope that you will be successful in reproducing the problem - I have uploaded a file called clang_issues.zip which hopefully contains all necessary files for compilation, including the ecc - if I missed one, PM me. To reproduce the issue, load the project, select release configuration with the ecc file provided, and start compilation, it should crash the first time at file CSI Delta...

 

Concerning documentation... I'll add a few thoughts:

 

  1. From a user perspective one nice feature of CVI is that it is an integrated solution, i.e. that a user doesn't have to install an editor, a compiler, and various libraries. And, as important to me, I want to have one integrated help: I want to be able to press F1 and search for build options, or serial commands, or how to export editor settings. (You know that, for this reason, I wish to have the release changes, bug fix information etc. included). It is very welcome (and I would say: necessary) for CVI to provide an optimizing compiler; so compiler options should be found in the same CVI help, too. (Since clang is sort of integrated I am addressing clang only, I am not talking about Borland, Intel, Microsoft compilers here)
  2. clang as provided with CVI may be very much different from the official, current clang version - and hence documentation may not be applicable. If I would not have upgraded to CVI2012 I still would have to live with clang 1.0, while the official documentation is for clang 3.1...
  3. Actually I did browse the clang web site and indeed found a few of the command line options listed in the ecc file - but not all...
Message 11 of 13
(830 Views)

Unfortunately, I haven't been able to reproduce the crash. All CSI Delta*.c files compiled successfully.

 

However, the project as a whole did not build, because of a missing file. So, I can hold out hope that once I have that file, something might change that causes the crash to occur.

 

I'll continue this via PM. Once we have some conclusion I can post a summary here.

 

Luis

0 Kudos
Message 12 of 13
(817 Views)

Just for (my own) reference: the compiler crash has also been observed at NI and been awarded a CAR: 371554

0 Kudos
Message 13 of 13
(795 Views)