jkt         08/04/07 20:57:00

  Modified:             distcc.xml
  Log:
  #216677, -march=native doesn't work with distcc

Revision  Changes    Path
1.42                 xml/htdocs/doc/en/distcc.xml

file : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?rev=1.42&view=markup
plain: 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?rev=1.42&content-type=text/plain
diff : 
http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?r1=1.41&r2=1.42

Index: distcc.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- distcc.xml  11 Jan 2008 07:05:02 -0000      1.41
+++ distcc.xml  7 Apr 2008 20:56:59 -0000       1.42
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.41 
2008/01/11 07:05:02 nightmorph Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.42 
2008/04/07 20:56:59 jkt Exp $ -->
 
 <guide link="/doc/en/distcc.xml">
 
@@ -33,8 +33,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.20</version>
-<date>2008-01-10</date>
+<version>1.21</version>
+<date>2008-04-07</date>
 
 <chapter>
 <title>Introduction</title>
@@ -369,6 +369,21 @@
 
 </body>
 </section>
+<section>
+<title>-march=native</title>
+<body>
+
+<p>
+Starting with GCC 4.3.0, the compiler supports the <c>-march=native</c> switch
+which turns on CPU autodetection and optimizations that are worth being enabled
+on the processor the GCC is running at.  This is a problem with <c>distcc</c> 
as
+it allows mixing of code optimized for different processors (like AMD Athlon 
and
+Intel Pentium). <e>Don't</e> use <c>-march=native</c> or <c>-mtune=native</c> 
in
+your <c>CFLAGS</c> or <c>CXXFLAGS</c> when compiling with <c>distcc</c>.
+</p>
+
+</body>
+</section>
 </chapter>
 
 <chapter>



-- 
[email protected] mailing list

Reply via email to