From owner-freebsd-questions@freebsd.org Sun Sep 29 00:09:18 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 0C8DA133670 for ; Sun, 29 Sep 2019 00:09:18 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 46gm9S5fVYz3H75 for ; Sun, 29 Sep 2019 00:09:16 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 5C0663EE for ; Sat, 28 Sep 2019 20:09:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 28 Sep 2019 20:09:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=n0EFBUkMGyG13PGzrmMnQLdBquF tPGtQ+WlN8tomtNA=; b=XgBZ6F82lr2X7Y3skdMsxHxoRLliP1YNx/SErL+8yOV xMeINBbMnZ4QMvJO+TaG/JGz6kBpVCKlcY4hs5zvmeOyPDGnlt8TvCQeA60bTf7v YQgTplKOXa7d6Vaar3rnmq/g1fj0cgyjghWBNFPaLdnvCVGpGPerWggZF/QPuGTJ zHZUPJqQ8GTDel1MlaobhVh/WMrtD+DRFZ/yATXEBHzB8QuULu3v9l6Esh8r+Hvx sWjGZ3OppNkpk4kgkTPJS+nZhVFtbSPLWQpWVr7JqgBidbzWYtR6aw0Q93Iwecpr TEI7VTiUoM8NcQpxgXMinDn2BfFsKtXcbWr5/eTIG1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=n0EFBU kMGyG13PGzrmMnQLdBquFtPGtQ+WlN8tomtNA=; b=v7WieBS59ZCy2dBzNM6PSM Ztamx4u6bOrxwPnQHErcQw+SyPnjiycZ4AIxgjuhcVEHOg8kYxzGnlK/Duo9134k +XZYee0ADI1k+sDVUuQAzkFpcEzjrLPVk/Clzp35gvF8cENcV8CXQmWZj23bW4LB Wdbv0tcfmp/lhRwKlIwQ80PAphINLh/uRslum+nLoFwrBwoL2FV8uTP4Cem3uiuc iMY5WnAI71TiHi4EiM3XAqi9zMM4HWTLltOhQpZo4PQPu/vZheyZdOq0e/2sfDdX /HT4K3Dtf1Fvzm7YiKeTIGKf/cj/9hI9LmDpgj/hWCKLX29jgnQV1NDHmeSW2H5w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeelgdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjfgesghdtre ertderjeenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucfkphepkedvrdejtddrledurdelleenucfrrghrrghmpehmrg hilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvghtnecuvehluhhsthgv rhfuihiivgeptd X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 43984D60057 for ; Sat, 28 Sep 2019 20:09:14 -0400 (EDT) Date: Sun, 29 Sep 2019 01:09:12 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: make.conf for a poudriere jail and CPUTYPE Message-ID: <20190929000912.GI49516@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20190927113336.GB49516@bastion.zyxst.net> <20190928121624.GC49516@bastion.zyxst.net> <20190928150629.914bf447.freebsd@edvax.de> <20190928133552.GD49516@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FK65GREB+Evh/hTL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46gm9S5fVYz3H75 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=XgBZ6F82; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=v7WieBS5; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-8.19 / 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:64.147.123.21]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@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:+]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[21.123.147.64.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:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.49)[ip: (-9.81), ipnet: 64.147.123.0/24(-4.90), asn: 11403(-2.68), country: US(-0.05)] 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: Sun, 29 Sep 2019 00:09:18 -0000 --FK65GREB+Evh/hTL Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sat, Sep 28, 2019 at 01:58:03PM -0500, Clay Daniels Jr. wrote: >RE: " as btver1 and sandybridge are the same arch (amd64) just different >cpus " > >I'm confused here: >" *Sandy Bridge* is the codename for the microarchitecture used in the >"second generation" of the Intel Core processors (Core i7, i5, i3) " > >" AMD Bobcat CPU (btver1)" >" =E2=80=98btver1=E2=80=99 CPUs based on AMD Family 14h cores with x86-64 = instruction set >support." >" btver1 is a SSSE3/SSE4a only CPU - it doesn't have AVX and doesn't >support XSAVE." I'm getting this information from /usr/share/examples/etc/make.conf [..snip...] # The CPUTYPE variable controls which processor should be targeted for # generated code. This controls processor-specific optimizations in # certain code (currently only OpenSSL) as well as modifying the value # of CFLAGS to contain the appropriate optimization directive to cc. # The automatic setting of CFLAGS may be overridden using the # NO_CPU_CFLAGS variable below. # Currently the following CPU types are recognized: # Intel x86 architecture: # (AMD CPUs) amdfam10, opteron-sse3, athlon64-sse3, k8-sse3, # opteron, athlon64, athlon-fx, k8, athlon-mp, # athlon-xp, athlon-4, athlon-tbird, athlon, k7, # geode, k6-3, k6-2, k6 # (Intel CPUs) core2, core, nocona, pentium4m, pentium4, prescott, # pentium3m, pentium3, pentium-m, pentium2, # pentiumpro, pentium-mmx, pentium, i486 # (VIA CPUs) c7, c3-2, c3 # AMD64 architecture: amdfam10, opteron-sse3, athlon64-sse3, k8-sse3, # opteron, athlon64, k8, core2, nocona # SPARC-V9 architecture: v9 (generic 64-bit V9), ultrasparc (default # if omitted), ultrasparc3 # Additionally the following CPU types are recognized by clang: # Intel x86 architecture (for both amd64 and i386): # (AMD CPUs) znver1, bdver4, bdver3, bdver2, bdver1, btver2, btv= er1 # (Intel CPUs) tremont, goldmont-plus, icelake-server, # icelake-client, # cannonlake, knm, skylake-avx512, knl, goldmont, # skylake, broadwell, haswell, ivybridge, # sandybridge, westmere, nehalem, silvermont, bonnell # [...snip...] The reason I want to use CPUTYPE?=3Dbtver1 is because that's the cpu in the target machine, the machine in question has limited resources, and I want= =20 to build ports tailored to those resources and abilities. As you can see=20 =66rom the quoted text, both sandybridge and btver1 are recognised as=20 cputypes by clang. --=20 J. --FK65GREB+Evh/hTL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl2P9h4ACgkQs8o7QhFz NAW24w/9FiV7YeJTeDwrvsESQAGMRZB805etr3mMsVQQ/0OAfSBZyQDtVAR4iF7B j0h+p+PIjS7lV570RkzRmhYPm7P5q84xKbD7rSQq5RPYqFsBqgGPoVK27vE1KZC7 RhSsOvcsCh3Beh5M8AtkvXS3f4ykN4O08G9SHMQh8QoM2CntGYIkx/m6tsrqOu9o 1qaaop3A8AZHJ1Ch8FHtu8weW6NYi1JH/jGoURjy1lzMCpVZZl9iVI3mA2wisCoD MapX1JUdbjFAeWOgfDbUvtMeqxW9VP4x9iMeMum03IPcA1G7esicaxZjcEAtVleY RR0GlhGJgsTEGvu1zyn0SBoVkE90DUrV474zkTxmvjyfIYhB31d8P/RUBMSrNDs6 DbeCwW8naApkbPGqguqSW1/o380FtclTgjvyWmDu4E50WskctVbBnjr1TEHlSnR2 NhflUxiLUndA+/NmfysZbU46vpUBy2f2i+pZkfT03UpfZLOtr6CXqmjoE2u6MRHN PO/ANa5jgbL0zgcW00WFcUROYI6YSsdw908boCLjtV56IQtgUTFwnmyTa0ZLYJQ/ mJw/ud+L+cqVi73EnLSl84sW/YDngDg9hQ2iHpVDwCLESobYWg0xeefn0otUkENl h99vzRrKDsPMJ2upISrJUJey4MU3+Z1NNOiMD/GtpozJvEdWRQU= =S7y0 -----END PGP SIGNATURE----- --FK65GREB+Evh/hTL--