> clang sometimes segfaults while compiling, the crash usually goes if I
try
again.

in my case it's not clang which crashes but the qlalr that clang produces.
For some reason it works :
- when building in debug
- when building statically

it's just the release / dynamic configuration that crashes, and I don't
know how to instruct Qt's configure to keep debug symbols for release
builds of the tools in order to get a proper stacktrace.


On Mon, Nov 5, 2018 at 4:38 PM Allan Sandfeld Jensen <k...@carewolf.com>
wrote:

> On Montag, 5. November 2018 12:10:15 CET Jean-Michaël Celerier wrote:
> > I tried building everything with clang 7 and libc++ last week but hit a
> > qlalr segfault during build. I've been trying to debug it ever since to
> no
> > avail.
> >
> >
> clang sometimes segfaults while compiling, the crash usually goes if I try
> again. It seems to just randomly crash once for every ~10 thousand files
> compiled for no reason. The fact the crashes are random and not stable
> doesn't
> really raise my confidence in clang code quality though, but it is easy to
> work around. Just keep calling make until it makes it.
>
> 'Allan
>
>
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to