Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 11:48:01 -0400
From:      Eitan Adler <lists@eitanadler.com>
To:        Anonymous <swell.k@gmail.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: Confirming a bug in clang++ (freeBSD
Message-ID:  <AANLkTinF8N_TNwdlrmZOVk1JcyeQkj3XMsswphp84VUk@mail.gmail.com>
In-Reply-To: <86vd91b4xk.fsf@gmail.com>
References:  <AANLkTink7JcqKh4J2Q72CsQ3J-DqYagSB0izFho5GnYX@mail.gmail.com>  <4C297844.2030500@acm.poly.edu> <4C29796C.7070901@acm.poly.edu>  <AANLkTil-g_TrS_lZs75BfAotTJE4x67tloippJAz8H6V@mail.gmail.com>  <86vd91b4xk.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 29, 2010 at 11:00 PM, Anonymous <swell.k@gmail.com> wrote:
> Eitan Adler <lists@eitanadler.com> writes:
>
>>> One difference I notice between your environment and mine is that, acco=
rding
>>> to your bug report, your program links against
>>> /usr/local/lib/gcc46/libstdc++.so.6, while mine links against
>>> /usr/lib/libstdc++.so.6.
>>>
>>> -Boris
>>>
>> I forgot about that. I use gcc46 to build ports and have
>> libstdc++.so.6 =C2=A0gcc46/libstdc++.so.6
>> in /etc/libmap.conf
>
> I have clang++ (devel/llvm-devel) built by g++45 and linked against
> gcc45/libstdc++.so.6. It compiles your test case fine. But I'm running
> 9-current on amd64 so it may not be that useful.
>
> IMO, gcc46 being a development branch is prone to miscompile and have bug=
s.

I'm not that familiar with with mapping. Since g++46/* is built with
g++46 and my program is compiled by clang++ is it expected that they
be compatible?
If yes does that mean this is a bug in g++46 or clang++?

--=20
Eitan Adler



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