Confirming a bug in clang++ (freeBSD

Anonymous swell.k at
Wed Jun 30 03:00:40 UTC 2010

Eitan Adler <lists at> 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/, while mine links against
>> /usr/lib/
>> -Boris
> I forgot about that. I use gcc46 to build ports and have
>  gcc46/
> in /etc/libmap.conf

I have clang++ (devel/llvm-devel) built by g++45 and linked against
gcc45/ 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.

More information about the freebsd-ports mailing list