clang 3.2 RC2 miscompiles libgcc?

Dimitry Andric dim at FreeBSD.org
Thu Jan 10 23:39:48 UTC 2013


On 2013-01-08 09:58, Stefan Farfeleder wrote:
> On Tue, Jan 08, 2013 at 12:21:12AM +0100, Dimitry Andric wrote:
...
>> After a lot of splitting up of unwind-dw2.c, I arrived at _Unwind_Resume
>> which when compiled by clang caused the crashes, but when compiled by
>> gcc ran OK.
> your patch seems to work just fine. No crashes whatsoever so far. Thank
> you.

I have committed a slighly cleaned-up version of this hack in r245272,
so until this is fixed by upstream, everybody will at least have a
correctly functioning libgcc on amd64.

Since this issue can potentially also occur on stable/9, I will MFC the
fix too, after a few days timeout.


More information about the freebsd-current mailing list