Solved using chromium w/o AVX512

When trying to build quarterly chromium (Version: chromium-150.0.7871.100-lite), it now fails with such error

CPUTYPE?=haswell

Code:
In file included from ../../third_party/skia/modules/skcms/src/skcms_TransformSkx.cc:53:
../../third_party/skia/modules/skcms/src/Transform_inl.h:152:15: error: always_inline function '_mm512_cvtph_ps' requires target feature 'avx512f', but would be inlined into function 'F_from_Half' that is compiled without support for 'avx512f'
  152 |     return (F)_mm512_cvtph_ps((__m256i)half);
      |               ^

Last working version was: chromium-147.0.7727.101-lite

When I remove the CPUTYPE=haswell, the build runs further, but the log now shows a compiler option -march=x86-64-v4 which is apparently hardcoded from whoknowswhere. So I might very much assume that this build will require AVX512.

Trying to download a readymade binary package from "FreeBSD" repo for comparison - but apparently there is none.

Did anybody succeed in getting this running one way or the other?
 
No, -march=x86-64-v4 will not include avx512. Avx512 in CPUs is rare.

I have to leave now, I might fire up a Chromium build later.
 
-march=x86-64-v4 seems to require AVX512F,AVX512DQ.AVX512CD,AVX512BW,AVX512VL

And this node here could do it, but haswell cannot
Code:
CPU: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz (2995.20-MHz K8-class CPU)
  Structured Extended Features=0xf3bfa7eb<FSGSBASE,TSCADJ,BMI1,AVX2,FDPEXC,SMEP,BMI2,ERMS,INVPCID,NFPUSG,PQE,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PROCTRACE,AVX512CD,SHA,AVX512BW,AVX512VL>

Then here is a log: https://portsfallout.com/fallout/1336993/
And in the log are few compiler invocations with -march=x86-64-v4
 
Looking throuhg the ninja tasks:
they are building three different libraries, one for baseline, one for avx2 and one for avx512.
And they set the -march flag accordingly. So if there is a CPUTYPE configured, this does conflict.
 
Back
Top