Gentoo Archives: gentoo-doc-cvs

From: Jan Kundrat <jkt@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: distcc.xml
Date: Mon, 07 Apr 2008 20:57:03
Message-Id: E1JiyOi-0000Rv-23@stork.gentoo.org
1 jkt 08/04/07 20:57:00
2
3 Modified: distcc.xml
4 Log:
5 #216677, -march=native doesn't work with distcc
6
7 Revision Changes Path
8 1.42 xml/htdocs/doc/en/distcc.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?rev=1.42&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?rev=1.42&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/distcc.xml?r1=1.41&r2=1.42
13
14 Index: distcc.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v
17 retrieving revision 1.41
18 retrieving revision 1.42
19 diff -u -r1.41 -r1.42
20 --- distcc.xml 11 Jan 2008 07:05:02 -0000 1.41
21 +++ distcc.xml 7 Apr 2008 20:56:59 -0000 1.42
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.41 2008/01/11 07:05:02 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/distcc.xml,v 1.42 2008/04/07 20:56:59 jkt Exp $ -->
27
28 <guide link="/doc/en/distcc.xml">
29
30 @@ -33,8 +33,8 @@
31 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
32 <license/>
33
34 -<version>1.20</version>
35 -<date>2008-01-10</date>
36 +<version>1.21</version>
37 +<date>2008-04-07</date>
38
39 <chapter>
40 <title>Introduction</title>
41 @@ -369,6 +369,21 @@
42
43 </body>
44 </section>
45 +<section>
46 +<title>-march=native</title>
47 +<body>
48 +
49 +<p>
50 +Starting with GCC 4.3.0, the compiler supports the <c>-march=native</c> switch
51 +which turns on CPU autodetection and optimizations that are worth being enabled
52 +on the processor the GCC is running at. This is a problem with <c>distcc</c> as
53 +it allows mixing of code optimized for different processors (like AMD Athlon and
54 +Intel Pentium). <e>Don't</e> use <c>-march=native</c> or <c>-mtune=native</c> in
55 +your <c>CFLAGS</c> or <c>CXXFLAGS</c> when compiling with <c>distcc</c>.
56 +</p>
57 +
58 +</body>
59 +</section>
60 </chapter>
61
62 <chapter>
63
64
65
66 --
67 gentoo-doc-cvs@l.g.o mailing list