From owner-freebsd-questions@freebsd.org Mon Jul 15 04:26:32 2019 Return-Path: Delivered-To: freebsd-questions@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 DBF7CAFC95 for ; Mon, 15 Jul 2019 04:26:32 +0000 (UTC) (envelope-from lee@adminart.net) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44F447514D for ; Mon, 15 Jul 2019 04:26:31 +0000 (UTC) (envelope-from lee@adminart.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1563164788; s=strato-dkim-0002; d=adminart.net; h=References:Message-ID:Date:In-Reply-To:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=zYWdZDDlvHFfM0pEldltl9hCaZYxgIcZJT8DV3LQVcU=; b=lmxOp0tdCw5gwXC+UoPU3sc4gTUvy7ElRJ7WGFcj8u3+bPE6Q8yx8h/pkIM0KjL6bY y9N3gADApc6qrdFyOF66RyGbgkuL95o6dvNoe/Tg7s67n36i7ZsxqtjWbhQJNAJ3+0uD PHZNo9iJWXrtAzarHMZgC8KaGpTNklTDQzuIHHP1AF6SWgCUN1UsRsjX458wsXSfjjk2 wn34zMWktJg/wwxrKMCfaCTweOyDKIH+Y+JPAZMCu9qIvx8Rlj4ZV8pP1V2uWnUTeSap JOuKHaUpohRtS+KcfdBmXJzUI3iubd4AdeI5sK0eDb1wsaXLJugBmwlyb5//flZNEyY4 F9vA== X-RZG-AUTH: ":O2kGeEG7b/pS1FS4THaxjVF9w0vVgfQ9xGcjwO5WMRo5c+h5ceMqQWZ3yrBp+ARdaXvxIDf7nlw=" X-RZG-CLASS-ID: mo00 Received: from himinbjorg.adminart.net by smtp.strato.de (RZmta 44.24 DYNA|AUTH) with ESMTPSA id e0059dv6F4QSRPN (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Mon, 15 Jul 2019 06:26:28 +0200 (CEST) Received: from toy.adminart.net ([192.168.3.55]) by himinbjorg.adminart.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hmsZH-0001yU-LO; Mon, 15 Jul 2019 06:26:27 +0200 Received: from lee by toy.adminart.net with local (Exim 4.92) (envelope-from ) id 1hmsZH-0000lF-HY; Mon, 15 Jul 2019 06:26:27 +0200 From: hw To: Robert Huff Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: What does it mean to use ports? In-Reply-To: <23851.53207.561626.837532@jerusalem.litteratus.org> (Robert Huff's message of "Sun, 14 Jul 2019 20:59:03 -0400") Date: Mon, 15 Jul 2019 06:25:17 +0200 Organization: my virtual residence Message-ID: <877e8jq5zm.fsf@toy.adminart.net> References: <87o91wqjl5.fsf@toy.adminart.net> <20190715021053.2f82c84c.freebsd@edvax.de> <23851.53207.561626.837532@jerusalem.litteratus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 44F447514D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=adminart.net header.s=strato-dkim-0002 header.b=lmxOp0td X-Spamd-Result: default: False [-2.67 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[adminart.net:s=strato-dkim-0002]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[adminart.net]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: smtpin.rzone.de]; DKIM_TRACE(0.00)[adminart.net:+]; NEURAL_HAM_SHORT(-0.83)[-0.830,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[hw@adminart.net,lee@adminart.net]; RCVD_IN_DNSWL_LOW(-0.10)[1.0.0.0.0.0.0.0.0.0.0.0.0.0.3.5.2.0.2.0.a.0.2.0.8.3.2.0.1.0.a.2.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6724, ipnet:2a01:238::/32, country:DE]; FROM_NEQ_ENVFROM(0.00)[hw@adminart.net,lee@adminart.net]; IP_SCORE(-0.73)[ipnet: 2a01:238::/32(-3.23), asn: 6724(-0.41), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 04:26:32 -0000 Robert Huff writes: > Polytropon writes: > >> > Can I globally set compile options like -march=native (or >> > whatever the equivalent for FreeBSD is)? >> >> The file /etc/make.conf can be used for that. See "man 5 make.conf" >> for details. > > Verbum sapienti: be careful when you do this. The settings in > make.conf are used for _every_ compilation on the system - ports > ... and world ... and the kernel, Thanks for the warning --- Gentoo has something like that, too. Wouldn't I want everything to be optimized for the CPU it's running on? > I am still trying to find an exposition of the logic that > prevents a "/etc/ports.conf" as a sibling to "/etc/src.conf" and > make.conf. Perhaps it's not about logic. Having multiple global compile options overriding local ones on the same machine could entirely defeat the seamlessness of ports. That's assuming that there is such a seamlessness ...