lang/intel-compute-runtime 20.30.17454 build failure -> 20.32.17625 also fails

José Pérez fbl at aoek.com
Tue Aug 25 16:39:46 UTC 2020


Hi,
I have two successfull builds now. One with 12.1-STABLE on AMD
processor and a second one on a CURRENT kernel with a previously
failing processor.

I am to assume this was a bug fixed in CURRENT, so I won't investigate
further.

El 2020-08-24 16:52, Jan Beich escribió:
> José Pérez via freebsd-x11 <freebsd-x11 at freebsd.org> writes:
> 
>> From the hardware angle: Can you show what features your CPU supports?
> Pay attention to vendor (building on AMD what can only run on Intel
> is not important) and features (pre-AVX2 generations are not 
> supported).

AFAIK an AMD should be able to emit correct Intel code, even if it does 
not run it.

In theory it should be possible to cross compile from, say, an ARM, no?

CPUs and results:

Fails on 12.1, not tested with 13:
CPU: AMD Opteron(tm) Processor 4122 (2200.04-MHz K8-class CPU)
   Origin="AuthenticAMD"  Id=0x100f80  Family=0x10  Model=0x8  Stepping=0
   
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x802009<SSE3,MON,CX16,POPCNT>
   AMD 
Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
   AMD 
Features2=0x837ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,NodeId>
   SVM: NP,NRIP,NAsids=64
   TSC: P-state invariant

Fails on 12.1, builds with a 13 kernel and a 12.1 userland:
CPU: AMD A6-5200 APU with Radeon(TM) HD Graphics     (1996.29-MHz 
K8-class CPU)
   Origin="AuthenticAMD"  Id=0x700f01  Family=0x16  Model=0x0  Stepping=1
   
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   
Features2=0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
   AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
   AMD 
Features2=0x154037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,Topology,PNXC,DBE,PL2I>
   Structured Extended Features=0x8<BMI1>
   XSAVE Features=0x1<XSAVEOPT>
   SVM: NP,NRIP,AFlush,DAssist,NAsids=8
   TSC: P-state invariant, performance statistics

Builds on 12.1, not tested on 13:
CPU: AMD A4-1250 APU with Radeon(TM) HD Graphics     (998.15-MHz 
K8-class CPU)
   Origin="AuthenticAMD"  Id=0x700f01  Family=0x16  Model=0x0  Stepping=1
   
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   
Features2=0x3ed8220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
   AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
   AMD 
Features2=0x154037ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,Topology,PNXC,DBE,PL2I>
   Structured Extended Features=0x8<BMI1>
   XSAVE Features=0x1<XSAVEOPT>
   SVM: (disabled in BIOS) NP,NRIP,AFlush,DAssist,NAsids=8
   TSC: P-state invariant, performance statistics

>> From the kernel angle: Can you try building on a -CURRENT kernel?
> Either install just the kernel as non-default without rebuilding
> world/packages or use bectl(8).

Yes, see second CPU above.

>> I have failing logs (same point) for:
>> 20.25.17111
>> 20.29.17408
>> 20.30.17454
>> 20.32.17625
> 
> Did some of those built fine or you've skipped?

All failed on CPU 1.

Thank you for your suggestions.

-- 
José Pérez


More information about the freebsd-x11 mailing list