Clang now builds world and kernel, on i386 and amd64

Dimitry Andric dim at FreeBSD.org
Thu Sep 23 14:45:22 UTC 2010


On 2010-09-23 13:24, Bartosz Stec wrote:
>> I cannot reproduce this here, running the exact command printed above.
>> What is the output of "/usr/bin/clang++ -v" ?
> # /usr/bin/clang++ -v
> FreeBSD clang version 2.8 (branches/release_28 114020) 20100917
> Target: i386-undermydesk-freebsd9.0
> Thread model: posix

Right, that seems okay enough.  Any other information you can give to
help reproduce this issue would be nice.  For example, do you have any
special stuff in src.conf or make.conf?  Do you have more than one
"clang++" in your PATH, maybe an old port version?

Also, can you please post the output of the commands:

whereis clang
clang++ -v -O2 -save-temps -I/usr/src/contrib/llvm/include -I/usr/src/contrib/llvm/tools/clang/include -I/usr/src/contrib/llvm/lib/Support -I. -I/usr/src/lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_HOSTTRIPLE=\"i386-undermydesk-freebsd9.0\" -fno-exceptions -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/contrib/llvm/lib/Support/APFloat.cpp

and the resulting APFloat.ii, APFloat.s (if clang manages to produce
it)?


More information about the freebsd-current mailing list