clang (both 3.3 and 3.4) OOM crashes on HEAD

Dimitry Andric dim at
Tue Nov 18 23:23:13 UTC 2014

On 18 Nov 2014, at 21:05, Dmitry Marakasov <amdmi3 at> wrote:
> * 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?

Yes, I have already imported the fix in r274442; I will probably get
the MFC reminder tomorrow.

I'm sorry the fix could not make it into 10.1, but apparently the first
version of it was not the proper way of solving the problem.  The final
version took quite a while, unfortunately.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the freebsd-stable mailing list