Re: ccache issues during buildworld on recent -CURRENT

2013-06-17 Thread Bryan Drewery
On Jun 17, 2013, at 9:02, "Eggert, Lars" wrote: > Hi, > > On Jun 17, 2013, at 14:51, Bryan Drewery wrote: >> ccache is known to be broken with clang [1]. I would recommend not using it. > > Pity! We do buildworld often enough that that's an inconvenience. I have been using -DNO_CLEAN for bui

Re: ccache issues during buildworld on recent -CURRENT

2013-06-17 Thread Eggert, Lars
Hi, On Jun 17, 2013, at 14:51, Bryan Drewery wrote: > ccache is known to be broken with clang [1]. I would recommend not using it. Pity! We do buildworld often enough that that's an inconvenience. > Sometimes CCACHE_CPP2=1 in make.conf can help. CCACHE_CPP2=1 is > hardcoded in version 3.1.9_2 o

Re: ccache issues during buildworld on recent -CURRENT

2013-06-17 Thread Bryan Drewery
On 6/17/2013 6:58 AM, Eggert, Lars wrote: > Hi, > > any further ideas? This issue still exist when building -CURRENT on -STABLE > as of today. > > Thanks, > Lars ccache is known to be broken with clang [1]. I would recommend not using it. Sometimes CCACHE_CPP2=1 in make.conf can help. CCACHE_C

Re: ccache issues during buildworld on recent -CURRENT

2013-06-17 Thread Eggert, Lars
Hi, any further ideas? This issue still exist when building -CURRENT on -STABLE as of today. Thanks, Lars On May 23, 2013, at 12:33, "Eggert, Lars" wrote: > Hi, > > On May 22, 2013, at 13:37, Dimitry Andric wrote: >> Can you try to figure out which copy of clang ccache finds and runs? > >

Re: ccache issues during buildworld on recent -CURRENT

2013-05-23 Thread Eggert, Lars
Hi, On May 22, 2013, at 13:37, Dimitry Andric wrote: > Can you try to figure out which copy of clang ccache finds and runs? I enabled CCACHE_LOGFILE, and it seems that it runs /usr/bin/clang: [2013-05-23T12:25:36.810346 48913] Command line: /usr/local/libexec/ccache/clang --sysroot=/home/elar

Re: ccache issues during buildworld on recent -CURRENT

2013-05-22 Thread Dimitry Andric
On 2013-05-22 13:01, Eggert, Lars wrote: my buildworlds using ccache have recently begun failing with the message below. Buildworld without ccache works fine. Any ideas? CC='/usr/local/libexec/ccache/world/clang --sysroot=/home/elars/obj/usr/home/elars/src/tmp -B/home/elars/obj/usr/home/elars/

ccache issues during buildworld on recent -CURRENT

2013-05-22 Thread Eggert, Lars
Hi, my buildworlds using ccache have recently begun failing with the message below. Buildworld without ccache works fine. Any ideas? CC='/usr/local/libexec/ccache/world/clang --sysroot=/home/elars/obj/usr/home/elars/src/tmp -B/home/elars/obj/usr/home/elars/src/tmp/usr/bin' mkdep -f .depend -a