macos 13.6.4
gcc "Apple clang version 15.0.0 (clang-1500.1.0.2.5)"
$ cd s390-tools-2.31.0/pvattest/
$ make
CC pvattest/src/pvattest.o
CC pvattest/src/arcb.o
arcb.c:84:74: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
_("The given paf (%#.16lx) specifies the NONCE flag (%#.16lx)."), paf,
~~~~~~~ ^~~
%#.16llx
arcb.c:85:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
ARCB_V1_PAF_NONCE);
^~~~~~~~~~~~~~~~~
/Users/maiera/Projects/ZaaS/pvattest/s390-tools-2.31.0/pvattest/src/arcb.h:33:27: note: expanded from macro 'ARCB_V1_PAF_NONCE'
#define ARCB_V1_PAF_NONCE PV_MSB(1)
^~~~~~~~~
../../include/libpv/macros.h:19:21: note: expanded from macro 'PV_MSB'
#define PV_MSB(idx) ((uint64_t)1 << (63 - (idx)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
CC pvattest/src/argparse.o
CC pvattest/src/attestation.o
CC pvattest/src/common.o
CC pvattest/src/exchange_format.o
CC pvattest/src/log.o
CC pvattest/src/uvio.o
CC libpv/cert.o
CC libpv/common.o
CC libpv/crypto.o
CC libpv/curl.o
CC libpv/glib-helper.o
CC libpv/hash.o
AR libpv/libpv.a
LINK pvattest/src/pvattest
When downloading s390-tools-2.31.0 and trying to build pvattest as described in https://www.ibm.com/docs/en/linux-on-systems?topic=execution-build-pvattest-command, I get two warnings on macos:
macos 13.6.4 gcc "Apple clang version 15.0.0 (clang-1500.1.0.2.5)"