Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 09:15:01 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: clang 3.2 RC2 miscompiles libgcc?
Message-ID:  <50DC65F5.6060004@freebsd.org>
In-Reply-To: <20121227150724.GA1431@mole.fafoe.narf.at>
References:  <20121227150724.GA1431@mole.fafoe.narf.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/12 09:07, Stefan Farfeleder wrote:
> Hi,
>
> I noticed that most of my C++ applications in recent versions of FreeBSD
> head suddenly crash without me recompiling them. I tracked it down to
> r243830 which imported a new clang version. The new clang seems to
> compile libgcc in a wrong or at least incompatible way with what gcc
> expects. In fact, the breakage only occurs with libgcc compiled by a
> post-r243830 clang and an application compiled with g++ -O2. For me, the
> crash happens with boost::program_options, but I'm not sure if that is
> necessary for the crash.

I've seen what I think is the same thing due to a miscompilation of
unwind-dw2.c that caused crashes related to cross-shared-object
exception handling. It seems to have been fixed with the 3.2 release but
I haven't tested it too thoroughly yet.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50DC65F5.6060004>