When trying to emerge sys-apps/kmod-19 it fails in the configuration phase with the message: x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-fdiagnostics-color=auto' This seems to be an option introduced by gcc-4.9 which is masked. Reproducible: Always Steps to Reproduce: 1. emerge sys-apps/kmod:19 Actual Results: Build fails while running ./configure Expected Results: compilation and installation of kmod
Created attachment 390218 [details] emerge --info
Created attachment 390220 [details] build.log
checking if x86_64-pc-linux-gnu-gcc -std=gnu99 supports flag -fdiagnostics-color=auto in envvar CFLAGS... yes Can you also attach config.log so we can see what's going on with this test? On my gcc-4.8.3 setup, I get "... no", I wonder why you get "... yes"
Created attachment 390226 [details] config.log
This is a ccache problem, when ccache is enabled that test gives a bogus result.
Thank you, emerging without ccache solved the problem. Should I file this as a ccache bug?
*** This bug has been marked as a duplicate of bug 530200 ***