> It doesn't seem to make a difference. Similarily with completely emptied cache.
OK. Another thing to test: CCACHE_CPP2=1 > I'd like to know how can i more closely narrow down the problem in > question, since debugging ccache/compilers is not something i am > familiar with. The way to troubleshoot ccache problems like these is normally to enable ccache debug logging. This is done by setting CCACHE_LOGFILE to a suitable log file path. However, to be able to make anything out of the logged information in a more complex build scenario like yours you likely also have to find out what compiler invocation behaves differently with and without ccache. -- Joel On 9 August 2014 21:35, marcin kowalski <yoshi...@gmail.com> wrote: > It doesn't seem to make a difference. Similarily with completely emptied > cache. > > > 2014-08-09 11:07 GMT+02:00 Joel Rosdahl <j...@rosdahl.net>: > > > Does it work if you disable ccache's direct mode, i.e. if you build with >> CCACHE_DIRECT=0? >> >> Sorry, that should have been CCACHE_NODIRECT=1. >> >> -- Joel >> >> >> >> On 9 August 2014 10:59, Joel Rosdahl <j...@rosdahl.net> wrote: >> >>> Hi, >>> >>> > Completely disabling ccache makes the build proceed correctly. >>> Cleaning the >>> > ccache caches doesn't help. >>> >>> Does it work if you disable ccache's direct mode, i.e. if you build with >>> CCACHE_DIRECT=0? >>> >>> -- Joel >>> >>> >>> On 7 August 2014 12:14, marcin kowalski <yoshi...@gmail.com> wrote: >>> >>>> Hi all, i (and another user) have been experiencing odd issues when >>>> building qemu-2.0 or 2.1 with ccache enabled. Systems in question are >>>> gentoo, 64bit installations with differing gcc versions. >>>> >>>> Basically, it seems that build directory is missing some source files, >>>> or >>>> some preprocessing stage before actual compilation is adversely >>>> affected by >>>> ccache - some source files are not placed where build rules are >>>> expecting >>>> them to be, so this does not look like simple cache corruption issue. >>>> >>>> Build logs and some more information are available here : >>>> https://bugs.gentoo.org/show_bug.cgi?id=512484 >>>> >>>> Completely disabling ccache makes the build proceed correctly. Cleaning >>>> the >>>> ccache caches doesn't help. >>>> >>>> I'd like to know how can i more closely narrow down the problem in >>>> question, since debugging ccache/compilers is not something i am >>>> familiar >>>> with. >>>> >>>> _______________________________________________ >>>> ccache mailing list >>>> ccache@lists.samba.org >>>> https://lists.samba.org/mailman/listinfo/ccache >>>> >>>> >>> >> > _______________________________________________ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache