Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2010 07:00:23 +0400
From:      Anonymous <swell.k@gmail.com>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        Boris Kochergin <spawk@acm.poly.edu>, freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: Confirming a bug in clang++ (freeBSD
Message-ID:  <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>

next in thread | previous in thread | raw e-mail | index | archive | help
Eitan Adler <lists@eitanadler.com> writes:

>> One difference I notice between your environment and mine is that, according
>> 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  gcc46/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 bugs.

>
> I guess I should close the bug.



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