From owner-freebsd-hackers@freebsd.org Fri Oct 4 14:14:10 2019 Return-Path: Delivered-To: freebsd-hackers@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 D2D5B12FC4E for ; Fri, 4 Oct 2019 14:14:10 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46lBh13hwlz4QVg for ; Fri, 4 Oct 2019 14:14:09 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5AC3821D28 for ; Fri, 4 Oct 2019 10:14:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 04 Oct 2019 10:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=OmY4cEquSgV7ghAo/mjL4Ln7+8EwZC/RQw2D2tohjqk=; b=rV2CAGlA Kj5j+y+suEo/LJxLrNBa0EDsZI2PVUf+uq7ln4SFEG0nWVgUDxpCmBU3wk5O4yU7 HI7fPrJRvTp6yUhbiqCJOMuxi7T1mlj5KlhPur5WNlH8ECqVXcNLul9lNikSddUh 2dbPt/0E+1IzdTdgYn16a6UC8JEt/zYxhHfN3001NO2A2o9HrfZOzhRNSOtIXeVq CP4JyNChL9iVIy++Vcf1u4JmCEWgcT6ziu33Sz2FKbFysKLyyEXA6ccaqNu8wOS7 xwJ7aZLq8pRSiLx7TBhVZpymmsK7lrAUHpMF/3XKKMG+tip/y3BU4lxYkC0cbNa1 9cIE8rR5ZTSCyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=OmY4cEquSgV7ghAo/mjL4Ln7+8EwZ C/RQw2D2tohjqk=; b=J5C7ZsRkii12ehQFEHxwTBNE2lm/Sb+m+X5Kneqh3YWgm 1RWgEhnQleeihDGeOvTts4NnG4Fs1s00XuQXc77vgx3GJjoKfwcunAD2QKB5woU0 4Alp5EsMroQyAJDA4URLwZbg/NE8jLU2yKvQ1gTZmhFI2KgkeR2Qg5fV4qLtz9MD gd6Ul0Y0p4XNEfa2KQkf0C7VzZfxfmsnDjaegqYoAsfvV8tUemF7MIK63U5FC5+w b5o52WdFelcSzD+5Q/4uAlhXYod1eFketjD11MwVLHiKMKcN5hXrIj/cP6PAGX8x 6hZqG/m05ATXos56D+sqQdaI2BuUfuT7ZvCJIxGjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrhedugdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggufgesghdtreertd ervdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucffohhmrghinheplhhlvhhmrdhorhhgnecukfhppeekvddrjedtrd eluddrleelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthhdqlhhishhtshesiiih gihsthdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id B82BDD60063 for ; Fri, 4 Oct 2019 10:14:07 -0400 (EDT) Date: Fri, 4 Oct 2019 15:13:38 +0100 From: tech-lists To: freebsd-hackers@freebsd.org Subject: CPUTYPE?= in make.conf Message-ID: <20191004141338.GA72749@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46lBh13hwlz4QVg X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=rV2CAGlA; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=J5C7ZsRk; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.28 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-8.18 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.28]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; IP_SCORE(-3.48)[ip: (-9.83), ipnet: 66.111.4.0/24(-4.86), asn: 11403(-2.68), country: US(-0.05)]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[28.4.111.66.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2019 14:14:10 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I hope this is the right place to ask about this; if not please suggest whe= re? I have a large poudriere system running 12.1-STABLE #0 r352869. It compiles ports in poudriere jails for many other smaller systems, some on same arch (amd64) but different cpu types. The host cputype is: # llvm-tblgen --version LLVM (http://llvm.org/): LLVM version 8.0.1 Optimized build. Default target: x86_64-unknown-freebsd12.1 Host CPU: sandybridge The actual cpu is Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz (x2) If I make a make.conf for a poudriere jail and define CPUTYPE?=3Dbtver1, se= veral ports fail to compile, like python36 and lzo2. If I do the same and define it as CPUTYPE?=3Dhaswell, *everything* fails ap= art =66rom building the jail itself. If I do the same thing on a different host, where the host cpu is: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz no failures happen. llvm-tblgen here reports haswell. The freebsd version is the same. What I'm asking is, is this a hardware failure on the failing system? Or is= it a capabilities issue, in that the one having the problem hasn't got the rig= ht instruction set? The Xenon differs from the i7 in that it doesn't have these cpu instructions available: AVX AVX2 BMI1 BMI2 F16C FMA3=20 Supervisor Mode Execution Protection Advanced Bit manipulation Enhanced REP MOVSB/STOSB INVPCID MOVBE RD/WR FSGSBASE instructions RDRAND I'm hoping for a performance boost if ports are compiled to the specific cputype of the target machine. if I don't specify cputype at all on the failing system, the ports will compile. Is it an instruction set issue or is the Xenon actually failing in some way? thanks, --=20 J. --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl2XU6EACgkQs8o7QhFz NAVAiQ//XlNxcqiyDOGak+MyRjdU1b1UNO7M7T/EwV449kJvxUNEdzz5X2yXLzGk jO8vxKUUgziVSyHAmAWD4hwifLmq2DlvUTUwds4nYKPUfSCIsv/cig12TUNjdPzQ LhXPaeblcLk3frS5sIsDr963ytm+u0AEBeAgi6M+wf750gDTVhA5hoO3x3WiARk0 tJKbAB9jmh4NPG7cL9dKDYn5eZhul6A99Q0EGkq3HQrM7uLNEAAd2WcT1G1d2nzk GH4qdfz8d+hyZsUwuDegJ08jF/JL8fXfIDTPZzPtSiWc1Rx61nFX/ntaVUHMhk8F Q4lFm1yjm53+GTTpbV7stH+iwuHl3SZNNM74vsTSGEHBivIJuxxR8HFXZncyYMZo N6u/VBHWtbf+qgH16DLWo38dMbnz/fS+W1kkENDSuVMT8sZUuiiLPNjL/Q15OF7k xJ6IJjRBKve9WGcWTNK436kRBV5+sN7G8M1mP/E3WzjeMtxfUjssnhbfzeVjpUGj 8qJ0Kz/HnWgAEwzSfLd1DnpTLESMy8W41ILha9PecxA8Y11sb2DvjKaCumzPjvN3 8zTj5nrPBNoD2Ed/NK4xkyMR9W1q3Q/dCgyn7ec1MFTMmDxNwSToBNazcyQGjsQU kO+7PLgGflDhbgw6vku/bSFV1b+2ZLPAKFZS2oYyaCznRT/z20E= =BAiD -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--