[cfe-dev] compilation regression, "fatal error: error in backend: Cannot select..."
Sean McBride
sean at rogue-research.com
Mon Jun 6 08:55:16 PDT 2011
On Thu, 2 Jun 2011 09:01:58 -0700, Devang Patel said:
>On Jun 2, 2011, at 8:41 AM, Sean McBride wrote:
>
>> On Thu, 2 Jun 2011 08:33:35 -0700, Stuart Hastings said:
>>
>>> Yes, this is almost certainly my fault.
>>>
>>> Sean, could you advise me how to extract a test case to reproduce this?
>>
>> I'm afraid I neither know much about the vxl project nor C++. (I build
>> it nightly
>
>It'd make investigators life easier if it is possible for you to get the
>bitcode file. If you build it then probably you can find the clang
>command line that is crashing with this fatal error then you can easily
>extract bitcode file. If the command line is
>
>$ clang <various compiler options> -c foo.c -o foo.o
>
>then do
>
>$ clang <various compiler options> -c foo.c -emit-llvm -o foo.bc
>
>foo.bc is a bitcode file that can immensely help someone track this
>crash without setting up vxl project.
OK, I created a bug with this .bc file:
<http://llvm.org/bugs/show_bug.cgi?id=10088>
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the cfe-dev
mailing list