Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Aug 2023 12:41:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 273285] www/node18: fails to build (on core2duo t7800)?
Message-ID:  <bug-273285-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273285

            Bug ID: 273285
           Summary: www/node18: fails to build (on core2duo t7800)?
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: vsasjason@gmail.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

Created attachment 244280
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D244280&action=
=3Dedit
poudriere build log

I have the following CPU:
[7] CPU: Intel(R) Core(TM)2 Duo CPU     T7800  @ 2.60GHz (2593.50-MHz K8-cl=
ass
CPU)
[7]   Origin=3D"GenuineIntel"  Id=3D0x6fb  Family=3D0x6  Model=3D0xf  Stepp=
ing=3D11
[7]=20=20
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,=
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
[7]   Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR=
,PDCM>
[7]   AMD Features=3D0x20100800<SYSCALL,NX,LM>
[7]   AMD Features2=3D0x1<LAHF>
[7]   VT-x: HLT,PAUSE
[7]   TSC: P-state invariant, performance statistics

Building aom fails in poudriere on popcnt, which I believe is a part of SSE=
4.2
while this CPU doesn't even have those instructions:

c++ -o
/wrkdirs/usr/ports/www/node18/work/node-v18.17.1/out/Release/obj.target/sim=
dutf/deps/simdutf/simdutf.o
../deps/simdutf/simdutf.cpp '-DV8_DEPRECATION_WARNINGS'
'-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=3D1'
'-DNODE_OPENSSL_CONF_NAME=3Dnodejs_conf' '-DNODE_OPENSSL_CERT_STORE'
'-DICU_NO_USER_DATA_OVERRIDE' '-D__STDC_FORMAT_MACROS' -I../deps/simdutf=20
-pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-point=
er
-fno-rtti -fno-exceptions -std=3Dgnu++17 -MMD -MF
/wrkdirs/usr/ports/www/node18/work/node-v18.17.1/out/Release/.deps//wrkdirs=
/usr/ports/www/node18/work/node-v18.17.1/out/Release/obj.target/simdutf/dep=
s/simdutf/simdutf.o.d.raw
-isystem /usr/local/include -O3 -pipe -march=3Dnative -fstack-protector-str=
ong
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de=20
-c
../deps/simdutf/simdutf.cpp:22595:30: warning: unused function
'utf32_length_from_utf8' [-Wunused-function]
simdutf_really_inline size_t utf32_length_from_utf8(const char* in, size_t
size) {
                             ^
../deps/simdutf/simdutf.cpp:28050:30: warning: unused function
'utf32_length_from_utf8' [-Wunused-function]
simdutf_really_inline size_t utf32_length_from_utf8(const char* in, size_t
size) {
                             ^
../deps/simdutf/simdutf.cpp:15946:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
      int64_t nout =3D _mm_popcnt_u64(mprocessed);
                     ^
../deps/simdutf/simdutf.cpp:16032:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int64_t nout =3D _mm_popcnt_u64(mprocessed);
                   ^
../deps/simdutf/simdutf.cpp:16079:16: error: always_inline function
'_mm_popcnt_u32' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int nout =3D _mm_popcnt_u32(uint32_t(leading));
               ^
../deps/simdutf/simdutf.cpp:15946:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
      int64_t nout =3D _mm_popcnt_u64(mprocessed);
                     ^
../deps/simdutf/simdutf.cpp:16032:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int64_t nout =3D _mm_popcnt_u64(mprocessed);
                   ^
../deps/simdutf/simdutf.cpp:16083:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int nout =3D int(_mm_popcnt_u64(_pdep_u64(0xFFFFFFFF, leading)));
                   ^
../deps/simdutf/simdutf.cpp:15946:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
      int64_t nout =3D _mm_popcnt_u64(mprocessed);
                     ^
../deps/simdutf/simdutf.cpp:16032:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int64_t nout =3D _mm_popcnt_u64(mprocessed);
                   ^
../deps/simdutf/simdutf.cpp:16079:16: error: always_inline function
'_mm_popcnt_u32' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int nout =3D _mm_popcnt_u32(uint32_t(leading));
               ^
../deps/simdutf/simdutf.cpp:15946:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
      int64_t nout =3D _mm_popcnt_u64(mprocessed);
                     ^
../deps/simdutf/simdutf.cpp:16032:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int64_t nout =3D _mm_popcnt_u64(mprocessed);
                   ^
../deps/simdutf/simdutf.cpp:16083:20: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'process_block_utf8_to_utf16' that is compiled without support for
'popcnt'
    int nout =3D int(_mm_popcnt_u64(_pdep_u64(0xFFFFFFFF, leading)));
                   ^
../deps/simdutf/simdutf.cpp:18007:22: error: always_inline function
'_mm_popcnt_u32' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
      outbuf +=3D 31 + _mm_popcnt_u32(_cvtmask32_u32(is234byte));
                     ^
../deps/simdutf/simdutf.cpp:18112:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
    uint64_t advlo =3D _mm_popcnt_u64(wantlo_uint64);
                     ^
../deps/simdutf/simdutf.cpp:18113:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
    uint64_t advhi =3D _mm_popcnt_u64(wanthi_uint64);
                     ^
../deps/simdutf/simdutf.cpp:18007:22: error: always_inline function
'_mm_popcnt_u32' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
      outbuf +=3D 31 + _mm_popcnt_u32(_cvtmask32_u32(is234byte));
                     ^
../deps/simdutf/simdutf.cpp:18112:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
    uint64_t advlo =3D _mm_popcnt_u64(wantlo_uint64);
                     ^
../deps/simdutf/simdutf.cpp:18113:22: error: always_inline function
'_mm_popcnt_u64' requires target feature 'popcnt', but would be inlined into
function 'utf16_to_utf8_avx512i' that is compiled without support for 'popc=
nt'
    uint64_t advhi =3D _mm_popcnt_u64(wanthi_uint64);
                     ^
2 warnings and 18 errors generated.
gmake[2]: *** [deps/simdutf/simdutf.target.mk:87:
/wrkdirs/usr/ports/www/node18/work/node-v18.17.1/out/Release/obj.target/sim=
dutf/deps/simdutf/simdutf.o]
Error 1
rm f67def9c7a65bd3ce465e258ddd7aba2f1eaf9ff.intermediate
gmake[1]: *** [Makefile:134: node] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/node18/work/node-v18.17=
.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/node18

Attaching full poudriere build log as well.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273285-7788>