clang (both 3.3 and 3.4) OOM crashes on HEAD

Dmitry Marakasov amdmi3 at
Tue Nov 18 20:05:36 UTC 2014

* Dimitry Andric (dim at wrote:

> >>> This seems to be same issue as in
> >>> for which there is patch
> >>> review going
> >>> on
> >>> 
> >>> Your test case is reproducible with the trunk of llvm/clang and
> >>> the patch in review resolves it. Other workaround is to disable
> >>> generation of debug information by removing -g flag.
> >> 
> >> Hm, I had assumed this problem was fixed by importing r203311 from
> >> upstream llvm trunk, in head r263313.  But apparently it is not.
> >> 
> >> The upstream patch seems to fix your specific test case, but it is still
> >> in review, so I prefer to wait until it is actually committed, before I
> >> import it.
> > 
> > Which worries me is what we do if it's not reviewd until the release. We
> > can't just tell users to "remove -g flag", can't we?
> I don't expect the review to take very long, but this is how it goes
> with releases.  At some point, the release is cut, some bugs don't get
> fixed, and you will simply have to live with them.
> In any case, it entirely depends on how many ports it affects.  I have
> the impression it is just a few particular ports having this issue?

The bug seem to have been fixed:

This is unfortunately too late for 10.1, but can we possibly have the
fix backported into HEAD and 10-STABLE?

Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at  ..:  jabber: amdmi3 at

More information about the freebsd-stable mailing list