The distcc guide needs a warning against -march=native. The native flag for gcc will compile a binary that is optimized for the processor that gcc was run on. This will result in a bizarrely broken system for those that don't notice it in time.
No need, as that's only present in masked versions of GCC, currently. I'm CCing the toolchain herd though, so they know about it. Once that version of gcc has been stabilized, then the warning can be added.
why does it need to be later ? just say "if you use -march=native, dont use distcc". there is no mention of gcc version there.
Fixed, thanks for reporting.
there's a patch for distcc to run -march=native jobs locally posted here: https://bugs.launchpad.net/distcc/+bug/188813/+viewstatus i was going to file a bug to get it added and forgot. ;P
(In reply to comment #5) > i was going to file a bug to get it added and forgot. ;P This one is about documentation, if you want distcc guys to know about that, please file another one for them :). Even when this patch hits Gentoo, I won't change the documentation back -- fixing distcc not to produce broken results is certainly good, but running jobs locally is not what user expects with distcc, either, so the warning should be here.