[OpenWrt-Devel] Build issue using ccache due to GCC patch / R_MIPS_26

Felix Fietkau nbd at openwrt.org
Tue Jul 14 04:36:37 EDT 2015


On 2015-07-14 10:10, Karl Vogel wrote:
> There seems to be an issue using ccache in combination with the openwrt 
> patched gcc.
> 
> Found the issue while investigating the following compilation issue:
> 
> --- [ ... ]
> With this patch, ccache will also add the GCC_HONOUR_COPTS setting to 
> the hash of the compilation command and will consider 2 compilations 
> with a different GCC_HONOUR_COPTS to actually be 2 different 
> compilations.
> 
> 
> However, this doesn't completely fix the problem as it appears that the 
> tools/ccache/Makefile will only be compiled if ccache isn't already 
> present on the host system, so probably the proper way to fix this is 
> to just unconditionally compile ccache too if it is selected by the 
> build system and then add the above ccache patch to the package.
I agree with your analysis of the issue, and I think your proposed
solution makes sense. Feel free to submit a patch for that.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list