From owner-svn-doc-all@freebsd.org Sat Sep 7 20:52:19 2019 Return-Path: Delivered-To: svn-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 988A5DCBA6; Sat, 7 Sep 2019 20:52:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Qmnv3bZxz3ynn; Sat, 7 Sep 2019 20:52:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 60335B42F; Sat, 7 Sep 2019 20:52:19 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x87KqJLH076453; Sat, 7 Sep 2019 20:52:19 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x87KqJIi076436; Sat, 7 Sep 2019 20:52:19 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201909072052.x87KqJIi076436@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sat, 7 Sep 2019 20:52:19 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r53382 - head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Group: doc-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/en_US.ISO8859-1/books/porters-handbook/porting-dads X-SVN-Commit-Revision: 53382 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2019 20:52:19 -0000 Author: linimon Date: Sat Sep 7 20:52:18 2019 New Revision: 53382 URL: https://svnweb.freebsd.org/changeset/doc/53382 Log: Add a new section "Cluster-Specific Considerations" to discourage the use of -march=native by default. Approved by: mat Differential Revision: D20885 Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Fri Sep 6 16:23:42 2019 (r53381) +++ head/en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml Sat Sep 7 20:52:18 2019 (r53382) @@ -569,6 +569,24 @@ cc -o someprogram source1.o source2.o -L/usr/local/lib + + + Cluster-Specific Considerations + + + + Some ports attempt to tune themselves to the + exact machine they are being built on by specifying + -march=native to the compiler. + This should be avoided: either list it under an + off-by-default option, or delete it entirely. + + Otherwise, the default package produced by the + build cluster might not run on every single machine + of that ARCH. + + +