Skip to content

Build PHP 8.4.5 in RHEL 7.9 having error: incompatible types #18178

Closed
@yeong0809

Description

@yeong0809

Description

Scenario:

I am trying to build and install the PHP 8.4.5 from tar.gz to the server but facing the below error:

/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:36:1: error: attribute(target("sha")) is unknown
 void SHA256_Transform_shani(uint32_t state[PHP_STATIC_RESTRICT 8], const uint8_t block[PHP_STATIC_RESTRICT 64])  __attribute__((target("ssse3,sha")));
 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c: In function ‘SHA256_Transform_shani’:
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: warning: implicit declaration of function ‘_mm_sha256rnds2_epu32’ [-Wimplicit-function-declaration]
  RNDMSG(S, W, 0, 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 0, 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 0, 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: warning: implicit declaration of function ‘_mm_sha256msg1_epu32’ [-Wimplicit-function-declaration]
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 0, 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: warning: implicit declaration of function ‘_mm_sha256msg2_epu32’ [-Wimplicit-function-declaration]
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:146:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 0, 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:147:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 1, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:147:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 1, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:147:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 1, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:147:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 1, 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:148:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 2, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:148:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 2, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:148:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 2, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:148:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 2, 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:149:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:149:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:149:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:149:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:150:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 4, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:150:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 4, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:150:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 4, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:150:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 4, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:151:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 5, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:151:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 5, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:151:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 5, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:151:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 5, 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:152:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 6, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:152:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 6, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:152:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 6, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:152:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 6, 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:153:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:153:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:153:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:153:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 7, 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:154:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 8, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:154:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 8, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:154:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 8, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:154:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 8, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:155:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 9, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:155:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 9, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:155:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 9, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:155:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 9, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:156:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 10, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:156:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 10, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:156:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 10, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:156:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 10, 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:157:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 11, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:157:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 11, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:157:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 11, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:157:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 11, 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:158:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 12, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:158:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 12, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:158:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 12, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:158:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 12, 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:159:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 13, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:159:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 13, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:159:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 13, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:159:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 13, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:160:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 14, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:160:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 14, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:160:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 14, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:160:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 14, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:86:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[1] = _mm_sha256rnds2_epu32(S[1], S[0], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:161:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 15, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:90:7: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  S[0] = _mm_sha256rnds2_epu32(S[0], S[1], M);    \
       ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:103:2: note: in expansion of macro ‘RND4’
  RND4(S, W[i % 4], K0, K1, K2, K3);   \
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:161:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 15, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:95:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg1_epu32(W[(i + 0) % 4], W[(i + 1) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:161:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 15, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2);
  ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:98:17: error: incompatible types when assigning to type ‘__m128i’ from type ‘int’
  W[(i + 0) % 4] = _mm_sha256msg2_epu32(W[(i + 0) % 4], W[(i + 3) % 4]); \
                 ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:105:3: note: in expansion of macro ‘MSG4’
   MSG4(W, i + 4);     \
   ^
/home/ec2-user/php-8.4.5/ext/hash/hash_sha_ni.c:161:2: note: in expansion of macro ‘RNDMSG’
  RNDMSG(S, W, 15, 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2);
  ^
make: *** [ext/hash/hash_sha_ni.lo] Error 1

Glad if anyone can help on it.

PHP Version

PHP 8.4.5

Operating System

RHEL 7.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions