[cfe-dev] How to report bug when compiler hangs

Csaba Raduly via cfe-dev cfe-dev at lists.llvm.org
Fri Sep 29 00:57:00 PDT 2017


Hi Steven,

If the compiler hangs, try to attach the debugger (gdb --pid). You
should be able to get a stack trace, which would carry more
information.

On Thu, Sep 28, 2017 at 10:03 PM, Steven Peters via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> Hello,
>
> I've been digging into a compilation problem using the version of clang
> distrubuted with XCode 9 on macOS High Sierra. I narrowed the problem down
> to the transition from `-O1` to `-O2` for a target cpu of core2, and then I
> further narrowed it down to the `-vectorize-loops` option for clang. The
> challenge is that this problem manifests with clang failing to terminate. I
> don't know if it's a deadlock or getting stuck in an infinite loop, but I
> didn't see any guidance in the support documents about how to submit a bug
> report in a case like this.
>
> Current discussion of the compilation failure:
> https://github.com/bulletphysics/bullet3/issues/1347
>
> ~~~
> $ cc --version
> Apple LLVM version 9.0.0 (clang-900.0.37)
> Target: x86_64-apple-darwin17.0.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> ~~~
>
> Thanks for your time.
>
> Regards,
> Steve Peters
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>



-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the cfe-dev mailing list