[cfe-dev] ExceptionDemo build failed

Garrison Venn gvenn.cfe.dev at gmail.com
Thu Apr 14 07:37:05 PDT 2011


Looks like all is fine though I'm still not sure why your build originally failed as my
builds are not failing on any of the systems I tested on when the #include <cstdio>
is NOT added.

Regardless anything after -r129360, has the #include <cstdio> addition.

Thanks for the pointer

Garrison


On Apr 12, 2011, at 8:55, Garrison Venn wrote:

> In debugging this issue, I ran across a Linux configuration where the demo
> associated to your previous build failure, fails to run. As this configuration uses
> a small amazon's ec2 instance, and takes a very long time to build, I'm going to
> have to build another system. In meantime would you be willing to the run the
> test and see if there is a failure on your system? If you don't have time, no worries,
> as it looks like I have to build another test platform anyway. However if you do
> have time you would run this with:
> 
> <release type>/examples/ExceptionDemo 2 3 7 -1
> 
> at the top of the llvm object root where <release type> == 	Release+Asserts, or Debug for example.
> 
> I'm just looking to see if it crashes with:
> 
> Stack dump:
> 0.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@outerCatchFunct'
> Segmentation fault
> 
> Garrison
> 
> PS: I have a feeling this is some sort of default bit width issue, but I have not had a chance
> to look into it yet.
> 
> On Apr 11, 2011, at 11:53, Dawie Joubert wrote:
> 
>> Garrison,
>> 
>> I did as you instructed and the Exception Example (and the whole of
>> Clang and LLVM for that matter) was able to build successfully in Linux
>> 64-bit using Cmake and GCC (Ubuntu 4.4.3-4ubuntu5). I previously saw a
>> similar behavior that GCC "changed/removed" its default includes ...
>> possibly to allow for different "std libs" to be used in the future?
>> 
>> Anyway, thanks a mil for a kind response towards an "easy" problem, it
>> makes one want to assist your project even more!
>> 
>> Best regards,
>> 
>> Dawie Joubert
>> Senior Researcher: Information Security, Modelling and Digital Science,
>> CSIR
>> 
>> Tel: +27 12 841 3379
>> Fax: +27 12 841 2456
>> Mobile: +27 84 589 2078
>> E-Mail: djjoubert at csir.co.za
>> 
>> 
>> 
>> -----Original Message-----
>> From: Garrison Venn <gvenn.cfe.dev at gmail.com>
>> To: djjoubert at csir.co.za
>> Cc: Chris Lattner <clattner at apple.com>, cfe-dev <cfe-dev at cs.uiuc.edu>
>> Subject: Re: [cfe-dev] ExceptionDemo build failed
>> Date: Mon, 11 Apr 2011 10:45:25 -0400
>> 
>> #include <cstdio>
> 





More information about the cfe-dev mailing list