Confirming a bug in clang++ (freeBSD

Garrett Cooper yanefbsd at gmail.com
Thu Jul 1 20:12:13 UTC 2010


On Thu, Jul 1, 2010 at 1:07 PM, Anonymous <swell.k at gmail.com> wrote:
> Anonymous <swell.k at gmail.com> writes:
>
>>>> It's better to use -lstdc++ from same version of gcc by which the
>>>> program using it was compiled.
>>>
>>> Is it possible to determine which one?
>>
>> No. If there is an easy way I think strings(1) would show.
>
> Doh,
>
>  $ strings $LOCALBASE/lib/libLLVM* | fgrep GCC
>  GCC: (GNU) 4.5.1 20100617 (prerelease)

Oops. This is part of the reason why whenever there's a compiler
upgrade in Gentoo Linux land I always built the toolchain twice ><.
-Garrett


More information about the freebsd-ports mailing list