On 30 May 2012 09:14, <g....@free.fr> wrote: > I had in the past an issue compiling util-linux-2.18 lscpu that was worked > around adding '-fPIE -pie' to CFLAGS. > The issue is that now with any new and fixed util-linux package, this > workaround can't be removed or old compilation issue come back, unless > CCACHE_DISABLE is used. > [...] > What should allow ccache not to retrieve the old hit that fail?
As can be seen in no-fPIE.log, ccache doesn't get any cache hit, so it isn't related to false cache hits. My guess is that when you compile without "-fPIE -pie", the compiler can't compile its own preprocessed output. If this is the case, setting CCACHE_CPP2=1 should make it work. -- Joel _______________________________________________ ccache mailing list email@example.com https://lists.samba.org/mailman/listinfo/ccache