make.conf for a poudriere jail and CPUTYPE

Jan Beich jbeich at FreeBSD.org
Sun Sep 29 13:46:38 UTC 2019


tech-lists <tech-lists at zyxst.net> 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.


More information about the freebsd-ports mailing list