From owner-freebsd-ports@freebsd.org Sun Sep 29 13:46:38 2019 Return-Path: Delivered-To: freebsd-ports@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 0CA851219E5 for ; Sun, 29 Sep 2019 13:46:38 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46h6JY6Zjwz4Ysb for ; Sun, 29 Sep 2019 13:46:37 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id C0B281D7E2; Sun, 29 Sep 2019 13:46:37 +0000 (UTC) From: Jan Beich To: freebsd-ports@freebsd.org Subject: Re: make.conf for a poudriere jail and CPUTYPE References: <20190928135343.GE49516@bastion.zyxst.net> <20190928145055.GF49516@bastion.zyxst.net> <20190928220050.GG49516@bastion.zyxst.net> <20190928224615.GH49516@bastion.zyxst.net> <20190929010925.GJ49516@bastion.zyxst.net> <20190929022242.GK49516@bastion.zyxst.net> <20190929095732.GA38643@bastion.zyxst.net> Date: Sun, 29 Sep 2019 15:46:34 +0200 In-Reply-To: <20190929095732.GA38643@bastion.zyxst.net> (tech-lists@zyxst.net's message of "Sun, 29 Sep 2019 10:57:32 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2019 13:46:38 -0000 tech-lists writes: > On Sun, Sep 29, 2019 at 03:22:42AM +0100, tech-lists wrote: > >>On Sun, Sep 29, 2019 at 03:56:05AM +0200, Jan Beich wrote: >> >>>Is that for host or after upgrade? Your build logs had the following: >>> >>>> _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 >>> (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: >>> x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: >>> /usr/bin >>> >>>FreeBSD 11.2/12.0 have Clang 6, FreeBSD 11.3/12.1 have Clang 8. >> >>That's the host (recent 12-stable). The build log was the poudriere jail which is 12.0-p10. I >>made a 13-current poudriere jail a short while ago and the same error happens. >> >>Now building a 12,0-p10 jail on desktop hardware > > Well, that was interesting! build of python36 and lzo2 succeeds on desktop host !!!!! > > this machine succeeds: > > Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz / 32Gb RAM > FreeBSD 12.1-PRERELEASE r352514 > poudriere jail is 12.0-RELEASE-p10 1200086 r351263 amd64 > > this one fails: > > Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz x2 / 192Gb RAM > FreeBSD 12.1-PRERELEASE #0 r352507 > poudriere jail is 13.0-CURRENT 1300048 r352860 amd64 > also failed on 12.0-RELEASE-p10 1200086 r351263 amd64 > > what do you think? A CPU bug in a SIMD instruction? Did you apply microcode update? Maybe older Intel CPUs have trouble with code optimized for AMD CPUs. For one, try CPUTYPE?=native on the failing CPU to check if Clang knows about Intel quirks.