From owner-freebsd-questions@freebsd.org Sun Sep 29 01:13:09 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 CE203134E23 for ; Sun, 29 Sep 2019 01:13:09 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe35.google.com (mail-vs1-xe35.google.com [IPv6:2607:f8b0:4864:20::e35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46gnb82G9Yz3LfF for ; Sun, 29 Sep 2019 01:13:08 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe35.google.com with SMTP id p13so4439043vso.0 for ; Sat, 28 Sep 2019 18:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=XYtnyTT24y02BUon8s1Eq9o4JlUxMZfQnvczalp4h0s=; b=eBl/DZS9nQ9pLO9DLJB46Kd0zNkbUZosSSrIQR3VyHCIxQvw+OfP62SHZcU9Q81E4V IbwApdJR+7HGQru5u6c3IUBCmjriEJx4tzu0r7wW09/FM+BfZBc9APMefQus8Z0ycmtb 2Ewwqev4d1chLwit1pFJDs9PcQppt/rMAIgjRqZtmt6dRp6240KjOshjAXulCXBnqhcE IxhyvTpcBTKZhNamYp5d6C4YdGjlEr9v55IG7TgsjLMB62lVCzyqV7+SqNFjxeue8EdM EHcnwpvbCh2S3itZYlgwtim3gIyIltfHYILvHSPpH2YGgnRoDMLmUZltOLZgBuFxwJRX JUEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=XYtnyTT24y02BUon8s1Eq9o4JlUxMZfQnvczalp4h0s=; b=oSCP9eQ2nN6I28M9ydeEbVBKIpvUSDFzmbUgQq/1fMDRb4bhWCwzRSxlMbUmvYDXS6 78nY3bz9kiOIPePHm+pj/7OkgVuYb4hteWS/MyslHIXH83PCHdkc43LlbgAHI/N++xZv aIJwIDdNmdq10FFUVBb4vXNvF5GrStY9sbvkvbJbNP4BYUPmUt28igdp4zHhwVtZidAa GKCGBmkt1dCicpQy08CSnFquW5An39K0L+A/fFOqSZTsoN2sT5KDnWuozT/K0RjwISkC F5iyO4/L5QeFGUaIqPMf0b4u85OpQw0XiKH451VanHNPot4GBmfsuKOfssOfKL4hPOUR hjjQ== X-Gm-Message-State: APjAAAXjqoDgLwqW+fKkbLhJNjVGpYXJZ41g1Chk5TjKNugxDh4wwaCk hQdDW8NwMITlRnH8pIHpm5rNGlUc1hwbL811Cr7E X-Google-Smtp-Source: APXvYqxOYS3F0vH3476oheauIL4LowtVhb+CEoS3gDIRh1p7ymyq0Jt+Qc8j+i67nwCPIVgTxBy0bA0yDYgU5RuMt8Q= X-Received: by 2002:a67:31d3:: with SMTP id x202mr6491071vsx.125.1569719586622; Sat, 28 Sep 2019 18:13:06 -0700 (PDT) MIME-Version: 1.0 References: <20190927113336.GB49516@bastion.zyxst.net> <20190928121624.GC49516@bastion.zyxst.net> <20190928150629.914bf447.freebsd@edvax.de> <20190928133552.GD49516@bastion.zyxst.net> <20190929000912.GI49516@bastion.zyxst.net> In-Reply-To: <20190929000912.GI49516@bastion.zyxst.net> From: "Clay Daniels Jr." Date: Sat, 28 Sep 2019 20:12:55 -0500 Message-ID: Subject: Re: make.conf for a poudriere jail and CPUTYPE To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 46gnb82G9Yz3LfF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eBl/DZS9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e35 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.20), ipnet: 2607:f8b0::/32(-2.59), asn: 15169(-2.17), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 01:13:09 -0000 J., I think you are on the right track. The target machine is the btver1 cpu. But not all ports that run on the host Sandy Bridge machine will run on the SSD only btver1 cpu. You have your work cut out for you. Best of luck! Clay On Sat, Sep 28, 2019 at 7:09 PM tech-lists wrote: > 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-6= 4 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, prescot= t, > # 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 (defau= lt > # 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, > btver1 > # (Intel CPUs) tremont, goldmont-plus, icelake-server, > # icelake-client, > # cannonlake, knm, skylake-avx512, knl, goldmont, > # skylake, broadwell, haswell, ivybridge, > # sandybridge, westmere, nehalem, silvermont, bonne= ll > # > > [...snip...] > > The reason I want to use CPUTYPE?=3Dbtver1 is because that's the cpu in t= he > target machine, the machine in question has limited resources, and I want > to build ports tailored to those resources and abilities. As you can see > from the quoted text, both sandybridge and btver1 are recognised as > cputypes by clang. > > -- > J. >