Attempting to emerge icedtea-3.0.0_pre06 (the latest in the 'java' overlay at the time of writing) will result in the ./configure script complaining that distcc "does not seem to be the recommended GCC compiler," followed by an unsuccessful emerge. See build.log for details. Reproducible: Always Steps to Reproduce: 1. Set up sys-devel/distcc 2. Activate the "java" Overlay using layman or another tool 3. Enable the unstable flag for your arch 4. Attempt to emerge dev-java/icedtea-3.0.0_pre06 Actual Results: ./configure exited unsuccessfully due to distcc not being gcc Expected Results: I expected ./configure to ignore the "improper" compiler and continue with the "generate a test C program" to ensure compliance.
Created attachment 415970 [details] dev-java/icedtea-3.0.0_pre06 failed build.log
While I think that icedtea should allow this, especially given that it already has special treatment for ccache, I don't think it will make much difference to the build time. Most of the time is spent running javac, which distcc doesn't handle. Even if it could, if you have jbootstrap enabled (which you should) then it will use the freshly built javac for the latter half of the build anyway. This is much like gcc, which bootstraps first and then rebuilds from that result.
This is fixed in the upcoming pre07.