On the master branch @673acab223c0f896767b1ae784659df9f95452ae on Ubuntu 23.04:
0$ make -C depends HOST=x86_64-w64-mingw32 NO_QT=1 DEBUG=1 NO_HARDEN=1
1$ ./configure CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site
2$ make
3...
4 CXX crypto/libbitcoin_crypto_base_la-aes.lo
5 CXX crypto/libbitcoin_crypto_base_la-chacha_poly_aead.lo
6 CXX crypto/libbitcoin_crypto_base_la-chacha20.lo
7 CXX crypto/libbitcoin_crypto_base_la-hkdf_sha256_32.lo
8 CXX crypto/libbitcoin_crypto_base_la-hmac_sha256.lo
9 CXX crypto/libbitcoin_crypto_base_la-hmac_sha512.lo
10 CXX crypto/libbitcoin_crypto_base_la-poly1305.lo
11 CXX crypto/libbitcoin_crypto_base_la-muhash.lo
12 CXX crypto/libbitcoin_crypto_base_la-ripemd160.lo
13 CXX crypto/libbitcoin_crypto_base_la-sha1.lo
14 CXX crypto/libbitcoin_crypto_base_la-sha256.lo
15 CXX crypto/libbitcoin_crypto_base_la-sha3.lo
16 CXX crypto/libbitcoin_crypto_base_la-sha512.lo
17 CXX crypto/libbitcoin_crypto_base_la-siphash.lo
18 CXX crypto/libbitcoin_crypto_base_la-sha256_sse4.lo
19{standard input}: Assembler messages:
20{standard input}:42: Warning: missing operand; zero assumed
21{standard input}:42: Warning: missing operand; zero assumed
22{standard input}:42: Warning: missing operand; zero assumed
23{standard input}:42: Warning: missing operand; zero assumed
24{standard input}:42: Warning: missing operand; zero assumed
25{standard input}:42: Warning: missing operand; zero assumed
26{standard input}:42: Warning: missing operand; zero assumed
27{standard input}:42: Warning: missing operand; zero assumed
28{standard input}:42: Warning: missing operand; zero assumed
29{standard input}:42: Warning: missing operand; zero assumed
30{standard input}:42: Warning: missing operand; zero assumed
31{standard input}:42: Warning: missing operand; zero assumed
32{standard input}:42: Warning: missing operand; zero assumed
33{standard input}:42: Warning: missing operand; zero assumed
34{standard input}:42: Warning: missing operand; zero assumed
35{standard input}:42: Warning: missing operand; zero assumed
36{standard input}:42: Warning: missing operand; zero assumed
37{standard input}:42: Warning: missing operand; zero assumed
38 CXXLD crypto/libbitcoin_crypto_base.la
39...
Having a non-hardened build, the actual reason for the warnings is the absence of the -fstack-protector-all
flag.
cc @sipa