May 13 11:42:17: Building udev make: Entering directory '/build/bonnietwin/ipfire-2.x/lfs' make: Nothing to be done for 'download'. make: Leaving directory '/build/bonnietwin/ipfire-2.x/lfs' make: Entering directory '/usr/src/lfs' systemd-254.tar.gz checksum OK udev-lfs-20230818.tar.xz checksum OK ====================================== Installing systemd-254 ... Install started; saving file list to /usr/src/lsalr ... cd /usr/src/systemd-254 && patch -Np1 < /usr/src/src/patches/systemd-254-linux-6.12-fs.patch patching file src/basic/filesystems-gperf.gperf cd /usr/src/systemd-254 && tar axf /usr/src/cache/udev-lfs-20230818.tar.xz # Remove two unneeded groups (render and sgx) from the default udev rules cd /usr/src/systemd-254 && sed -i -e 's/GROUP="render"/GROUP="video"/' \ -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in # Remve udev rule which requires a full systemd installation cd /usr/src/systemd-254 && sed '/systemd-sysctl/s/^/#/' -i rules.d/99-systemd.rules.in # Prepare udev for build. cd /usr/src/systemd-254 && mkdir -pv build mkdir: created directory 'build' cd /usr/src/systemd-254/build && meson setup \ --prefix=/usr \ --buildtype=release \ -Dmode=release \ -Ddev-kvm-mode=0660 \ -Dlink-udev-shared=false \ .. The Meson build system Version: 1.6.0 Source dir: /usr/src/systemd-254 Build dir: /usr/src/systemd-254/build Build type: native build Project name: systemd Project version: 254 C compiler for the host machine: ccache cc (gcc 15.1.0 "cc (GCC) 15.1.0") C linker for the host machine: cc ld.bfd 2.44 Host machine cpu family: aarch64 Host machine cpu: aarch64 Program tools/add-git-hook.sh found: YES (/usr/src/systemd-254/tools/add-git-hook.sh) ../meson.build:85: WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! split-usr mode is going to be removed !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Program tools/meson-build.sh found: YES (/usr/src/systemd-254/tools/meson-build.sh) C++ compiler for the host machine: ccache c++ (gcc 15.1.0 "c++ (GCC) 15.1.0") C++ linker for the host machine: c++ ld.bfd 2.44 Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Warray-bounds=2: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Werror=format=2: YES Compiler for C supports arguments -Werror=format-signedness: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Werror=implicit-int: YES Compiler for C supports arguments -Werror=incompatible-pointer-types: YES Compiler for C supports arguments -Werror=int-conversion: YES Compiler for C supports arguments -Werror=missing-declarations: YES Compiler for C supports arguments -Werror=missing-prototypes: YES Compiler for C supports arguments -Werror=overflow: YES Compiler for C supports arguments -Werror=override-init: YES Compiler for C supports arguments -Werror=return-type: YES Compiler for C supports arguments -Werror=shift-count-overflow: YES Compiler for C supports arguments -Werror=shift-overflow=2: YES Compiler for C supports arguments -Werror=strict-flex-arrays: YES Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Wfloat-equal: YES Compiler for C supports arguments -Wimplicit-fallthrough=5: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Wunused-function: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wzero-length-bounds: YES Compiler for C supports arguments -Wno-error=#warnings: NO Compiler for C supports arguments -Wno-string-plus-int: NO Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -fno-common: YES Compiler for C supports arguments -fstack-protector: YES Compiler for C supports arguments -fstack-protector-strong: YES Compiler for C supports arguments -fstrict-flex-arrays: YES Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments -Wno-maybe-uninitialized: YES Compiler for C supports arguments -Wno-unused-result: YES Compiler for C supports arguments -ftrivial-auto-var-init=zero: YES Compiler for C supports link arguments -fstack-protector: YES Compiler for C supports arguments -fno-strict-aliasing: YES Compiler for C supports arguments -fstrict-flex-arrays=1: YES Compiler for C supports arguments -fvisibility=hidden: YES Compiler for C supports arguments -ffunction-sections: YES Compiler for C supports arguments -fdata-sections: YES Compiler for C supports link arguments -Wl,--fatal-warnings: YES Compiler for C supports link arguments -Wl,-z,now: YES Compiler for C supports link arguments -Wl,-z,relro: YES Compiler for C supports link arguments -Wl,--warn-common: YES Compiler for C supports link arguments -Wl,--gc-sections: YES Compiler for C supports arguments -Wzero-length-bounds: YES (cached) Checking if "-Werror=shadow with local shadowing" compiles: YES Compiler for C++ supports arguments -Wno-missing-field-initializers: YES Compiler for C++ supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wstringop-truncation: YES Checking for size of "dev_t" : 8 Checking for size of "ino_t" : 8 Checking for size of "rlim_t" : 8 Checking for size of "time_t" : 8 Checking for size of "typeof(((struct timex *)0)->freq)" : 8 Computing int of "LONG_MAX" : 9223372036854775807 Checking for size of "char16_t" : 2 Checking for size of "char32_t" : 4 Checking for size of "struct mount_attr" : 32 Checking for size of "struct statx" : 256 Checking for size of "struct dirent64" : 280 Checking for function "secure_getenv" : YES Checking for function "__secure_getenv" : NO Checking for function "memfd_create" : YES Checking for function "gettid" : YES Checking for function "pivot_root" : NO Checking for function "ioprio_get" : NO Checking for function "ioprio_set" : NO Checking for function "name_to_handle_at" : YES Checking for function "setns" : YES Checking for function "renameat2" : YES Checking for function "kcmp" : NO Checking for function "keyctl" : NO Checking for function "copy_file_range" : YES Checking for function "bpf" : NO Checking for function "statx" : YES Checking for function "explicit_bzero" : YES Checking for function "reallocarray" : YES Checking for function "set_mempolicy" : NO Checking for function "get_mempolicy" : NO Checking for function "pidfd_send_signal" : NO Checking for function "pidfd_open" : NO Checking for function "rt_sigqueueinfo" : NO Checking for function "rt_tgsigqueueinfo" : NO Checking for function "mallinfo" : YES Checking for function "mallinfo2" : YES Checking for function "execveat" : YES Checking for function "close_range" : YES Checking for function "epoll_pwait2" : YES Checking for function "mount_setattr" : YES Checking for function "move_mount" : YES Checking for function "open_tree" : YES Checking for function "fsopen" : YES Checking for function "fsconfig" : YES Checking for function "fsmount" : YES Checking for function "getdents64" : YES Checking for function "getrandom" : YES Program sh found: YES (/bin/sh) Program echo found: YES (/bin/echo) Program sed found: YES (/bin/sed) Program awk found: YES (/usr/bin/awk) Program stat found: YES (/usr/bin/stat) Program ln found: YES (/bin/ln) Program git found: NO Program env found: YES (/usr/bin/env) Program rsync found: NO Program diff found: YES (/usr/bin/diff) Program find found: YES (/bin/find) Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO Program kmod found: YES (/bin/kmod) Program kexec /usr/sbin/kexec /sbin/kexec found: NO Program sulogin found: YES (/sbin/sulogin) Program mount found: YES (/bin/mount) Program umount found: YES (/bin/umount) Program loadkeys found: YES (/bin/loadkeys) Program setfont found: YES (/bin/setfont) Program nologin found: YES (/sbin/nologin) Program gperf found: YES (/usr/bin/gperf) Message: gperf len type is size_t Has header "sys/capability.h" : YES Has header "crypt.h" : YES Has header "linux/memfd.h" : YES Has header "linux/vm_sockets.h" : YES Has header "sys/auxv.h" : YES Has header "threads.h" : YES Has header "valgrind/memcheck.h" : NO Has header "valgrind/valgrind.h" : NO Has header "linux/time_types.h" : YES Has header "sys/sdt.h" : NO ../meson.build:924: WARNING: The local user with the configured user name "nobody" of the nobody user does not have UID 65534 (it has 99). Your build will result in an user table setup that is incompatible with the local system. ../meson.build:943: WARNING: The local group with the configured group name "nobody" of the nobody group does not have GID 65534 (it has 99). Your build will result in an group table setup that is incompatible with the local system. Run-time dependency threads found: YES Library rt found: YES Library m found: YES Library dl found: YES Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2 Run-time dependency libcrypt found: YES 4.4.38 Run-time dependency libcap found: YES 2.76 Checking if "libatomic" : links: YES Checking for function "crypt_ra" with dependency libcrypt: YES Checking for function "crypt_preferred_method" with dependency libcrypt: YES Checking for function "crypt_gensalt_ra" with dependency libcrypt: YES Found CMake: /usr/bin/cmake (4.0.2) Run-time dependency libbpf found: NO (tried pkgconfig and cmake) Run-time dependency mount found: YES 2.41.0 Run-time dependency fdisk found: YES 2.41.0 Run-time dependency pwquality found: NO (tried pkgconfig and cmake) Run-time dependency passwdqc found: NO (tried pkgconfig and cmake) Run-time dependency libseccomp found: NO (tried pkgconfig and cmake) Run-time dependency libselinux found: NO (tried pkgconfig and cmake) Run-time dependency libapparmor found: NO (tried pkgconfig and cmake) Run-time dependency polkit-gobject-1 found: NO (tried pkgconfig and cmake) Run-time dependency libacl found: YES 2.3.2 Run-time dependency audit found: NO (tried pkgconfig and cmake) Run-time dependency blkid found: YES 2.41.0 Checking for function "blkid_probe_set_hint" with dependency blkid: YES Run-time dependency libkmod found: YES 34.2 Run-time dependency xencontrol found: NO (tried pkgconfig and cmake) Run-time dependency pam found: YES 1.7.0 Run-time dependency pam_misc found: YES 1.7.0 Run-time dependency libmicrohttpd found: NO (tried pkgconfig and cmake) Run-time dependency libcryptsetup found: NO (tried pkgconfig and cmake) Checking for function "crypt_activate_by_token_pin" with dependency libcryptsetup: NO Run-time dependency libcurl found: YES 8.13.0 Run-time dependency libidn2 found: NO (tried pkgconfig and cmake) Run-time dependency libidn found: NO (tried pkgconfig and cmake) Run-time dependency libiptc found: YES 1.8.11 Run-time dependency libqrencode found: NO (tried pkgconfig and cmake) libgcrypt-config found: NO Run-time dependency libgcrypt found: NO (tried pkgconfig and config-tool) Run-time dependency gpg-error found: NO (tried pkgconfig and cmake) Library gpg-error found: NO Run-time dependency gnutls found: NO (tried pkgconfig and cmake) Run-time dependency openssl found: YES 3.5.0 Run-time dependency p11-kit-1 found: NO (tried pkgconfig and cmake) Run-time dependency libfido2 found: NO (tried pkgconfig and cmake) Run-time dependency tss2-esys tss2-rc tss2-mu tss2-tcti-device found: NO (tried pkgconfig and cmake) Run-time dependency libdw found: YES 0.192 Checking for function "dwelf_elf_e_machine_string" with dependency libdw: YES Run-time dependency zlib found: YES 1.3.1.zlib-ng Run-time dependency bzip2 found: NO (tried pkgconfig and cmake) Library bz2 found: YES Run-time dependency liblzma found: YES 5.8.1 Run-time dependency liblz4 found: NO (tried pkgconfig and cmake) Run-time dependency libzstd found: YES 1.5.7 Run-time dependency xkbcommon found: NO (tried pkgconfig and cmake) Run-time dependency libpcre2-8 found: YES 10.45 Run-time dependency glib-2.0 found: NO (tried pkgconfig and cmake) Run-time dependency gobject-2.0 found: NO (tried pkgconfig and cmake) Run-time dependency gio-2.0 found: NO (tried pkgconfig and cmake) Run-time dependency dbus-1 found: NO (tried pkgconfig and cmake) Program python3 (jinja2) found: YES (/usr/bin/python3) modules: jinja2 Program python3 (elftools) found: NO Program tools/elf2efi.py found: YES (/usr/src/systemd-254/tools/elf2efi.py) Program tools/dbus_exporter.py found: YES (/usr/src/systemd-254/tools/dbus_exporter.py) Program tools/generate-gperfs.py found: YES (/usr/src/systemd-254/tools/generate-gperfs.py) Program tools/make-autosuspend-rules.py found: YES (/usr/src/systemd-254/tools/make-autosuspend-rules.py) Program tools/make-directive-index.py found: YES (/usr/src/systemd-254/tools/make-directive-index.py) Program tools/make-man-index.py found: YES (/usr/src/systemd-254/tools/make-man-index.py) Program tools/meson-render-jinja2.py found: YES (/usr/src/systemd-254/tools/meson-render-jinja2.py) Program tools/update-dbus-docs.py found: YES (/usr/src/systemd-254/tools/update-dbus-docs.py) Program tools/update-hwdb-autosuspend.sh found: YES (/usr/src/systemd-254/tools/update-hwdb-autosuspend.sh) Program tools/update-hwdb.sh found: YES (/usr/src/systemd-254/tools/update-hwdb.sh) Program tools/update-man-rules.py found: YES (/usr/src/systemd-254/tools/update-man-rules.py) Program tools/update-syscall-tables.sh found: YES (/usr/src/systemd-254/tools/update-syscall-tables.sh) Program tools/xml_helper.py found: YES (/usr/src/systemd-254/tools/xml_helper.py) Configuring config.h using configuration Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program generate-af-list.sh found: YES (/usr/src/systemd-254/src/basic/generate-af-list.sh) Program generate-arphrd-list.sh found: YES (/usr/src/systemd-254/src/basic/generate-arphrd-list.sh) Program generate-cap-list.sh found: YES (/usr/src/systemd-254/src/basic/generate-cap-list.sh) Program generate-errno-list.sh found: YES (/usr/src/systemd-254/src/basic/generate-errno-list.sh) Program missing_syscalls.py found: YES (/usr/bin/python3 /usr/src/systemd-254/src/basic/missing_syscalls.py) Program check-filesystems.sh found: YES (/usr/src/systemd-254/src/basic/check-filesystems.sh) Program generate-filesystem-list.py found: YES (/usr/src/systemd-254/src/basic/generate-filesystem-list.py) Program generate-filesystem-switch-case.py found: YES (/usr/src/systemd-254/src/basic/generate-filesystem-switch-case.py) Program sd-journal/generate-audit_type-list.sh found: YES (/usr/src/systemd-254/src/libsystemd/sd-journal/generate-audit_type-list.sh) Program generate-syscall-list.py found: YES (/usr/src/systemd-254/src/shared/generate-syscall-list.py) Program generate-ip-protocol-list.sh found: YES (/usr/src/systemd-254/src/shared/generate-ip-protocol-list.sh) Program generate-keyboard-keys-list.sh found: YES (/usr/src/systemd-254/src/udev/generate-keyboard-keys-list.sh) Program generate-keyboard-keys-gperf.sh found: YES (/usr/src/systemd-254/src/udev/generate-keyboard-keys-gperf.sh) Program test-kernel-install.sh found: YES (/usr/src/systemd-254/src/kernel-install/test-kernel-install.sh) Program generate-dns_type-gperf.py found: YES (/usr/src/systemd-254/src/resolve/generate-dns_type-gperf.py) Compiler for C supports arguments -std=iso9899:2017: YES Compiler for C supports arguments -std=c2x: YES Compiler for C++ supports arguments -std=c++14: YES Compiler for C++ supports arguments -std=c++17: YES Compiler for C++ supports arguments -std=c++20: YES Compiler for C++ supports arguments -std=c++23: YES Program generate-sym-test.py found: YES (/usr/src/systemd-254/src/test/generate-sym-test.py) Program test-bootctl-json.sh found: YES (/usr/src/systemd-254/test/test-bootctl-json.sh) Program test-fstab-generator.sh found: YES (/usr/src/systemd-254/test/test-fstab-generator.sh) Program test-network-generator-conversion.sh found: YES (/usr/src/systemd-254/test/test-network-generator-conversion.sh) Program test-systemctl-enable.sh found: YES (/usr/bin/env bash /usr/src/systemd-254/test/test-systemctl-enable.sh) Program test-systemd-tmpfiles.py found: YES (/usr/src/systemd-254/test/test-systemd-tmpfiles.py) Program hwdb-test.sh found: YES (/usr/src/systemd-254/test/hwdb-test.sh) Configuring test-sysusers.sh using configuration Program rule-syntax-check.py found: YES (/usr/src/systemd-254/test/rule-syntax-check.py) Program rpm found: NO Program rpmspec found: NO Program test-rpm-macros.sh found: YES (/usr/src/systemd-254/test/test-rpm-macros.sh) Message: Skipping test-rpm-macros since rpm and/or rpmspec are not available Program udev-dmi-memory-id-test.sh found: YES (/usr/src/systemd-254/test/udev-dmi-memory-id-test.sh) Program generate-directives.py found: YES (/usr/bin/python3 /usr/src/systemd-254/test/fuzz/generate-directives.py) Program test/sysv-generator-test.py found: YES (/usr/src/systemd-254/test/sysv-generator-test.py) Message: test-bus-benchmark is a manual test Message: test-journal-append is a manual test Message: test-acd is a manual test Message: test-ipv4ll-manual is a manual test Message: test-coredump-vacuum is a manual test Message: test-qcow2 is a manual test Message: test-inhibit is a manual test Message: test-session-properties is a manual test Message: test-patch-uid is a manual test Message: test-dnssec-complex is a manual test Message: test-ask-password-api is a manual test Message: test-btrfs is a manual test Message: test-chase-manual is a manual test Message: test-ipcrm is an unsafe test Message: test-netlink-manual is a manual test Message: test-nscd-flush is a manual test Message: Not compiling test-sbat because ENABLE_BOOTLOADER is not true Message: Not compiling test-seccomp because HAVE_SECCOMP is not true Message: udev-rule-runner is a manual test Message: test-watchdog is an unsafe test Message: test-install is a manual test Message: test-ns is a manual test Message: Not compiling test-socket-bind because BPF_FRAMEWORK is not true Program parse_hwdb.py found: YES (/usr/src/systemd-254/hwdb.d/parse_hwdb.py) Program xsltproc found: NO Message: Skipping bootctl.1 because ENABLE_BOOTLOADER is false Message: Skipping crypttab.5 because HAVE_LIBCRYPTSETUP is false Message: Skipping homectl.1 because ENABLE_HOMED is false Message: Skipping homed.conf.5 because ENABLE_HOMED is false Message: Skipping integritytab.5 because HAVE_LIBCRYPTSETUP is false Message: Skipping journal-remote.conf.5 because HAVE_MICROHTTPD is false Message: Skipping journal-upload.conf.5 because HAVE_MICROHTTPD is false Message: Skipping loader.conf.5 because ENABLE_BOOTLOADER is false Message: Skipping org.freedesktop.home1.5 because ENABLE_HOMED is false Message: Skipping pam_systemd_home.8 because ENABLE_PAM_HOME is false Message: Skipping systemd-bless-boot-generator.8 because ENABLE_BOOTLOADER is false Message: Skipping systemd-bless-boot.service.8 because ENABLE_BOOTLOADER is false Message: Skipping systemd-boot-random-seed.service.8 because ENABLE_BOOTLOADER is false Message: Skipping systemd-boot.7 because ENABLE_BOOTLOADER is false Message: Skipping systemd-cryptenroll.1 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-cryptsetup-generator.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-cryptsetup@.service.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-homed.service.8 because ENABLE_HOMED is false Message: Skipping systemd-integritysetup-generator.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-integritysetup@.service.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-journal-gatewayd.service.8 because HAVE_MICROHTTPD is false Message: Skipping systemd-journal-remote.service.8 because HAVE_MICROHTTPD is false Message: Skipping systemd-journal-upload.service.8 because HAVE_MICROHTTPD is false Message: Skipping systemd-measure.1 because ENABLE_BOOTLOADER is false Message: Skipping systemd-pcrphase.service.8 because ENABLE_BOOTLOADER is false Message: Skipping systemd-stub.7 because ENABLE_BOOTLOADER is false Message: Skipping systemd-veritysetup-generator.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping systemd-veritysetup@.service.8 because HAVE_LIBCRYPTSETUP is false Message: Skipping ukify.1 because ENABLE_UKIFY is false Message: Skipping veritytab.5 because HAVE_LIBCRYPTSETUP is false Message: python-lxml not available, not making man page indices Configuring man using configuration Configuring html using configuration Run-time dependency bash-completion found: NO (tried pkgconfig and cmake) Checking for size of "long" : 8 Program jekyll found: NO Program tools/check-help.sh found: YES (/usr/src/systemd-254/tools/check-help.sh) Program tools/check-version.sh found: YES (/usr/src/systemd-254/tools/check-version.sh) Compiler for C supports link arguments -fsanitize=address,undefined: NO Program tools/check-api-docs.sh found: YES (/usr/src/systemd-254/tools/check-api-docs.sh) Build targets in project: 761 systemd 254 build mode : release split /usr : true split bin-sbin : true prefix directory : /usr rootprefix directory : / sysconf directory : /etc include directory : /usr/include lib directory : /usr/lib rootlib directory : /lib SysV init scripts : /etc/init.d SysV rc?.d directories : /etc/rc.d PAM modules directory : /lib/security PAM configuration directory : /usr/lib/pam.d libcryptsetup plugins directory: /lib/cryptsetup RPM macros directory : /usr/lib/rpm/macros.d modprobe.d directory : /lib/modprobe.d D-Bus policy directory : /usr/share/dbus-1/system.d D-Bus session directory : /usr/share/dbus-1/services D-Bus system directory : /usr/share/dbus-1/system-services D-Bus interfaces directory : /usr/share/dbus-1/interfaces bash completions directory : /usr/share/bash-completion/completions zsh completions directory : /usr/share/zsh/site-functions private shared lib version tag : 254 extra start script : /etc/rc.local debug shell : /bin/sh @ /dev/tty9 system UIDs : <=999 (alloc >=101) system GIDs : <=999 (alloc >=101) dynamic UIDs : 61184…65519 container UID bases : 524288…1878982656 static UID/GID allocations : tty-gid:5 /dev/kvm access mode : 0660 render group access mode : 0666 certificate root directory : /etc/ssl support URL : https://lists.freedesktop.org/mailman/listinfo/systemd-devel nobody user name : nobody nobody group name : nobody fallback hostname : localhost default compression method : zstd default DNSSEC mode : allow-downgrade default DNS-over-TLS mode : no default mDNS mode : yes default LLMNR mode : yes default DNS servers : 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google default NTP servers : time1.google.com time2.google.com time3.google.com time4.google.com default cgroup hierarchy : unified default net.naming-scheme value: latest default KillUserProcesses value: true default locale : C.UTF-8 default nspawn locale : C.UTF-8 default status unit format : description default user $PATH : (same as system services) systemd service watchdog : 3min time epoch : 1690532792 (2023-07-28T08:26:32+00:00) Features enabled : ACL, IMA, PAM, SMACK, blkid, elfutils, libcurl, libfdisk, libiptc, openssl, pcre2, zstd, xz, zlib, bzip2, backlight, binfmt, coredump, efi, environment.d, firstboot, hibernate, hostnamed, hwdb, importd, initrd, kernel-install, localed, logind, machined, networkd, nss-myhostname, nss-mymachines, nss-resolve, nss-systemd, oomd, portabled, pstore, quotacheck, randomseed, repart, resolve, rfkill, sysext, systemd-analyze, sysupdate, sysusers, timedated, timesyncd, tmpfiles, userdb, vconsole, xdg-autostart, idn, polkit, nscd, kmod, tpm, SysV compat, utmp, ldconfig, adm group, wheel group, gshadow, link-systemctl-shared, link-networkd-shared, link-timesyncd-shared, link-journalctl-shared, link-boot-shared, link-portabled-shared, cryptolib(openssl), DNS-over-TLS(openssl) disabled : AUDIT, AppArmor, SECCOMP, SELinux, gcrypt, gnutls, libbpf, libcryptsetup, libcryptsetup-plugins, libfido2, libidn, libidn2, microhttpd, p11kit, passwdqc, pwquality, qrencode, tpm2, xkbcommon, lz4, bootloader, bpf-framework, homed, legacy-pkla, xenctrl, dbus, glib, man pages, html pages, man page indices, compat-mutable-uid-boundaries, debug hashmap, debug mmap cache, debug siphash, trace logging, slow tests, fuzz tests, install tests, link-udev-shared, first-boot-full-preset, fexecve, standalone-binaries, coverage, static-libsystemd, static-libudev User defined options buildtype : release dev-kvm-mode : 0660 link-udev-shared : false mode : release prefix : /usr Found ninja-1.12.1 at /usr/bin/ninja # Only build udev and required components cd /usr/src/systemd-254/build && ninja udevadm systemd-hwdb \ $(grep -o -E "^build (src/libudev|src/udev|rules.d|hwdb.d)[^:]*" build.ninja | awk '{ print $2 }') \ $(realpath libudev.so --relative-to .) [1/452] Generating src/basic/af-list.txt with a custom command (wrapped by meson to capture output) [2/452] Generating src/basic/arphrd-list.txt with a custom command (wrapped by meson to capture output) [3/452] Generating src/basic/cap-list.txt with a custom command (wrapped by meson to capture output) [4/452] Generating src/basic/errno-list.txt with a custom command (wrapped by meson to capture output) [5/452] Generating src/shared/ip-protocol-list.txt with a custom command (wrapped by meson to capture output) [6/452] Generating src/udev/keyboard-keys-list.txt with a custom command (wrapped by meson to capture output) [7/452] Generating src/basic/af-from-name.gperf with a custom command (wrapped by meson to capture output) [8/452] Generating src/basic/arphrd-from-name.gperf with a custom command (wrapped by meson to capture output) [9/452] Generating src/basic/cap-from-name.gperf with a custom command (wrapped by meson to capture output) [10/452] Generating src/shared/ip-protocol-from-name.gperf with a custom command (wrapped by meson to capture output) [11/452] Generating src/libsystemd/audit_type-list.txt with a custom command (wrapped by meson to capture output) [12/452] Generating src/basic/errno-from-name.gperf with a custom command (wrapped by meson to capture output) [13/452] Generating src/udev/keyboard-keys-from-name.gperf with a custom command (wrapped by meson to capture output) [14/452] Generating src/basic/af-from-name.h with a custom command (wrapped by meson to capture output) [15/452] Generating version.h with a custom command [16/452] Generating src/basic/af-to-name.h with a custom command (wrapped by meson to capture output) [17/452] Generating src/basic/arphrd-to-name.h with a custom command (wrapped by meson to capture output) [18/452] Generating src/basic/arphrd-from-name.h with a custom command (wrapped by meson to capture output) [19/452] Generating src/basic/filesystems-gperf.h with a custom command [20/452] Generating src/basic/cap-from-name.h with a custom command (wrapped by meson to capture output) [21/452] Generating src/basic/errno-from-name.h with a custom command (wrapped by meson to capture output) [22/452] Generating src/basic/errno-to-name.h with a custom command (wrapped by meson to capture output) [23/452] Generating src/basic/cap-to-name.h with a custom command (wrapped by meson to capture output) [24/452] Generating src/basic/filesystem-list.h with a custom command (wrapped by meson to capture output) [25/452] Generating src/libsystemd/audit_type-to-name.h with a custom command (wrapped by meson to capture output) [26/452] Generating src/udev/link-config-gperf.c with a custom command [27/452] Generating src/basic/filesystem-switch-case.h with a custom command (wrapped by meson to capture output) [28/452] Compiling C object src/basic/libbasic.a.p/MurmurHash2.c.o [29/452] Generating src/shared/ip-protocol-from-name.h with a custom command (wrapped by meson to capture output) [30/452] Generating src/shared/ip-protocol-to-name.h with a custom command (wrapped by meson to capture output) [31/452] Compiling C object src/basic/libbasic.a.p/af-list.c.o [32/452] Compiling C object src/basic/libbasic.a.p/architecture.c.o [33/452] Compiling C object src/basic/libbasic-compress.a.p/compress.c.o [34/452] Compiling C object src/basic/libbasic.a.p/alloc-util.c.o [35/452] Generating src/shared/ethtool-link-mode.h with a custom command (wrapped by meson to capture output) [36/452] Compiling C object src/basic/libbasic.a.p/arphrd-util.c.o [37/452] Compiling C object src/basic/libbasic.a.p/argv-util.c.o [38/452] Compiling C object src/basic/libbasic.a.p/build.c.o [39/452] Compiling C object src/basic/libbasic.a.p/bus-label.c.o In file included from ../src/basic/bus-label.c:5: ../src/basic/bus-label.c: In function 'bus_label_escape': ../src/basic/bus-label.c:23:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 23 | r = new(char, strlen(s)*3 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/bus-label.c:23:17: note: earlier argument should specify number of elements, later size of each element 23 | r = new(char, strlen(s)*3 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/bus-label.c: In function 'bus_label_unescape_n': ../src/basic/bus-label.c:55:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 55 | r = new(char, l + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/bus-label.c:55:17: note: earlier argument should specify number of elements, later size of each element 55 | r = new(char, l + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [40/452] Compiling C object src/basic/libbasic.a.p/audit-util.c.o [41/452] Compiling C object src/basic/libbasic.a.p/capability-util.c.o [42/452] Compiling C object src/basic/libbasic.a.p/cap-list.c.o [43/452] Compiling C object src/basic/libbasic.a.p/cgroup-util.c.o [44/452] Compiling C object src/basic/libbasic.a.p/chase.c.o [45/452] Compiling C object src/basic/libbasic.a.p/chattr-util.c.o [46/452] Generating src/udev/keyboard-keys-from-name.h with a custom command (wrapped by meson to capture output) [47/452] Compiling C object src/basic/libbasic.a.p/conf-files.c.o [48/452] Compiling C object src/basic/libbasic.a.p/confidential-virt.c.o [49/452] Compiling C object src/basic/libbasic.a.p/dirent-util.c.o [50/452] Compiling C object src/basic/libbasic.a.p/devnum-util.c.o [51/452] Compiling C object src/basic/libbasic.a.p/efivars.c.o [52/452] Compiling C object src/basic/libbasic.a.p/errno-list.c.o [53/452] Compiling C object src/basic/libbasic.a.p/escape.c.o In file included from ../src/basic/escape.c:7: ../src/basic/escape.c: In function 'cescape_length': ../src/basic/escape.c:88:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 88 | r = new(char, n*4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:88:17: note: earlier argument should specify number of elements, later size of each element 88 | r = new(char, n*4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c: In function 'cunescape_length_with_prefix': ../src/basic/escape.c:306:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 306 | ans = new(char, pl+length+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:306:19: note: earlier argument should specify number of elements, later size of each element 306 | ans = new(char, pl+length+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c: In function 'xescape_full': ../src/basic/escape.c:378:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 378 | ans = new(char, MIN(strlen(s), console_width) * 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:378:19: note: earlier argument should specify number of elements, later size of each element 378 | ans = new(char, MIN(strlen(s), console_width) * 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c: In function 'octescape': ../src/basic/escape.c:454:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 454 | t = buf = new(char, len * 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:454:23: note: earlier argument should specify number of elements, later size of each element 454 | t = buf = new(char, len * 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c: In function 'shell_escape': ../src/basic/escape.c:500:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 500 | buf = new(char, strlen(s)*4+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:500:19: note: earlier argument should specify number of elements, later size of each element 500 | buf = new(char, strlen(s)*4+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c: In function 'shell_maybe_quote': ../src/basic/escape.c:534:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 534 | buf = new(char, FLAGS_SET(flags, SHELL_ESCAPE_POSIX) + 1 + strlen(s)*4 + 1 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/escape.c:534:19: note: earlier argument should specify number of elements, later size of each element 534 | buf = new(char, FLAGS_SET(flags, SHELL_ESCAPE_POSIX) + 1 + strlen(s)*4 + 1 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [54/452] Compiling C object src/basic/libbasic.a.p/env-util.c.o In file included from ../src/basic/env-util.c:9: ../src/basic/env-util.c: In function '_strv_env_merge': ../src/basic/env-util.c:203:26: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 203 | k = merged = new(char*, n + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/env-util.c:203:26: note: earlier argument should specify number of elements, later size of each element 203 | k = merged = new(char*, n + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/env-util.c: In function 'strv_env_delete': ../src/basic/env-util.c:278:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 278 | t = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/env-util.c:278:17: note: earlier argument should specify number of elements, later size of each element 278 | t = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/env-util.c: In function 'replace_env_argv': ../src/basic/env-util.c:848:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 848 | n = new(char*, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/env-util.c:848:17: note: earlier argument should specify number of elements, later size of each element 848 | n = new(char*, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [55/452] Compiling C object src/basic/libbasic.a.p/env-file.c.o [56/452] Compiling C object src/basic/libbasic.a.p/ether-addr-util.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/ether-addr-util.h:8, from ../src/basic/ether-addr-util.c:9: ../src/basic/ether-addr-util.c: In function 'ether_addr_to_string_alloc': ../src/basic/ether-addr-util.c:94:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 94 | buf = new(char, ETHER_ADDR_TO_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/ether-addr-util.c:94:19: note: earlier argument should specify number of elements, later size of each element 94 | buf = new(char, ETHER_ADDR_TO_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/ether-addr-util.c: In function 'hw_addr_to_string_full': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buffer' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/ether-addr-util.c:20:9: note: in expansion of macro 'assert' 20 | assert(buffer); | ^~~~~~ [57/452] Compiling C object src/basic/libbasic.a.p/extract-word.c.o [58/452] Compiling C object src/basic/libbasic.a.p/fileio.c.o [59/452] Compiling C object src/basic/libbasic.a.p/filesystems.c.o [60/452] Compiling C object src/basic/libbasic.a.p/format-util.c.o [61/452] Compiling C object src/basic/libbasic.a.p/glob-util.c.o [62/452] Compiling C object src/basic/libbasic.a.p/fd-util.c.o In file included from ../src/basic/fd-util.c:14: ../src/basic/fd-util.c: In function 'close_all_fds': ../src/basic/fd-util.c:356:54: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 356 | sorted = sorted_malloc = new(int, n_sorted); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/fd-util.c:356:54: note: earlier argument should specify number of elements, later size of each element 356 | sorted = sorted_malloc = new(int, n_sorted); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ ../src/basic/fd-util.c: In function 'safe_close_pair': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'p' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.c:82:9: note: in expansion of macro 'assert' 82 | assert(p); | ^~~~~~ [63/452] Compiling C object src/basic/libbasic.a.p/fs-util.c.o In file included from ../src/basic/fs-util.c:11: ../src/basic/fs-util.c: In function 'readlinkat_malloc': ../src/basic/fs-util.c:124:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 124 | c = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/fs-util.c:124:25: note: earlier argument should specify number of elements, later size of each element 124 | c = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [64/452] Compiling C object src/basic/libbasic.a.p/gunicode.c.o [65/452] Compiling C object src/basic/libbasic.a.p/glyph-util.c.o [66/452] Compiling C object src/basic/libbasic.a.p/hexdecoct.c.o ../src/basic/hexdecoct.c: In function 'hexchar': ../src/basic/hexdecoct.c:39:39: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Wunterminated-string-initialization] 39 | static const char table[16] = "0123456789abcdef"; | ^~~~~~~~~~~~~~~~~~ In file included from ../src/basic/hexdecoct.c:8: ../src/basic/hexdecoct.c: In function 'hexmem': ../src/basic/hexdecoct.c:64:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 64 | z = r = new(char, l * 2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/hexdecoct.c:64:21: note: earlier argument should specify number of elements, later size of each element 64 | z = r = new(char, l * 2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/hexdecoct.c: In function 'base32hexchar': ../src/basic/hexdecoct.c:171:39: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (33 chars into 32 available) [-Wunterminated-string-initialization] 171 | static const char table[32] = "0123456789" | ^~~~~~~~~~~~ ../src/basic/hexdecoct.c: In function 'base64char': ../src/basic/hexdecoct.c:522:39: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (65 chars into 64 available) [-Wunterminated-string-initialization] 522 | static const char table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/basic/hexdecoct.c: In function 'urlsafe_base64char': ../src/basic/hexdecoct.c:532:39: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (65 chars into 64 available) [-Wunterminated-string-initialization] 532 | static const char table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [67/452] Compiling C object src/basic/libbasic.a.p/hmac.c.o [68/452] Compiling C object src/basic/libbasic.a.p/hash-funcs.c.o [69/452] Compiling C object src/basic/libbasic.a.p/hashmap.c.o In file included from ../src/basic/hashmap.c:12: ../src/basic/hashmap.c: In function '_hashmap_get_strv': ../src/basic/hashmap.c:1776:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1776 | sv = new(char*, n_entries(h)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/hashmap.c:1776:18: note: earlier argument should specify number of elements, later size of each element 1776 | sv = new(char*, n_entries(h)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/hashmap.c: In function '_hashmap_dump_sorted': ../src/basic/hashmap.c:2138:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2138 | entries = new(struct hashmap_base_entry*, _hashmap_size(h)); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/hashmap.c:2138:23: note: earlier argument should specify number of elements, later size of each element 2138 | entries = new(struct hashmap_base_entry*, _hashmap_size(h)); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [70/452] Compiling C object src/basic/libbasic.a.p/hostname-util.c.o [71/452] Compiling C object src/basic/libbasic.a.p/initrd-util.c.o [72/452] Compiling C object src/basic/libbasic.a.p/in-addr-util.c.o In file included from ../src/basic/in-addr-util.c:11: ../src/basic/in-addr-util.c: In function 'in_addr_to_string': ../src/basic/in-addr-util.c:456:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 456 | x = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/in-addr-util.c:456:17: note: earlier argument should specify number of elements, later size of each element 456 | x = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [73/452] Compiling C object src/basic/libbasic.a.p/label.c.o [74/452] Compiling C object src/basic/libbasic.a.p/inotify-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/fd-util.h:10, from ../src/basic/inotify-util.c:3: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [75/452] Compiling C object src/basic/libbasic.a.p/ioprio-util.c.o [76/452] Compiling C object src/basic/libbasic.a.p/io-util.c.o [77/452] Compiling C object src/basic/libbasic.a.p/locale-util.c.o [78/452] Compiling C object src/basic/libbasic.a.p/login-util.c.o [79/452] Compiling C object src/basic/libbasic.a.p/limits-util.c.o [80/452] Compiling C object src/basic/libbasic.a.p/memfd-util.c.o [81/452] Compiling C object src/basic/libbasic.a.p/lock-util.c.o [82/452] Compiling C object src/basic/libbasic.a.p/log.c.o In file included from ../src/basic/log.c:18: ../src/basic/log.c: In function 'log_context_new': ../src/basic/log.c:1685:29: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1685 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/log.c:1685:29: note: earlier argument should specify number of elements, later size of each element 1685 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/log.c: In function 'log_context_new_strv': ../src/basic/log.c:1708:29: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1708 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/log.c:1708:29: note: earlier argument should specify number of elements, later size of each element 1708 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/log.c: In function 'log_context_new_iov': ../src/basic/log.c:1731:29: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1731 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/log.c:1731:29: note: earlier argument should specify number of elements, later size of each element 1731 | LogContext *c = new(LogContext, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [83/452] Compiling C object src/basic/libbasic.a.p/mempool.c.o [84/452] Compiling C object src/basic/libbasic.a.p/memory-util.c.o [85/452] Compiling C object src/basic/libbasic.a.p/memstream-util.c.o [86/452] Compiling C object src/basic/libbasic.a.p/namespace-util.c.o [87/452] Compiling C object src/basic/libbasic.a.p/mountpoint-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/basic/mountpoint-util.c:10: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [88/452] Compiling C object src/basic/libbasic.a.p/mkdir.c.o [89/452] Compiling C object src/basic/libbasic.a.p/nulstr-util.c.o [90/452] Compiling C object src/basic/libbasic.a.p/ordered-set.c.o [91/452] Compiling C object src/basic/libbasic.a.p/os-util.c.o [92/452] Compiling C object src/basic/libbasic.a.p/path-lookup.c.o [93/452] Compiling C object src/basic/libbasic.a.p/parse-util.c.o [94/452] Compiling C object src/basic/libbasic.a.p/percent-util.c.o [95/452] Compiling C object src/basic/libbasic.a.p/path-util.c.o In file included from ../src/basic/path-util.c:10: ../src/basic/path-util.c: In function 'path_make_relative': ../src/basic/path-util.c:169:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 169 | result = new(char, n_parents * 3 + !isempty(t) + strlen_ptr(t)); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/path-util.c:169:22: note: earlier argument should specify number of elements, later size of each element 169 | result = new(char, n_parents * 3 + !isempty(t) + strlen_ptr(t)); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [96/452] Compiling C object src/basic/libbasic.a.p/prioq.c.o In file included from ../src/basic/prioq.c:16: ../src/basic/prioq.c: In function 'prioq_new': ../src/basic/prioq.c:35:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 35 | q = new(Prioq, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/prioq.c:35:17: note: earlier argument should specify number of elements, later size of each element 35 | q = new(Prioq, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [97/452] Compiling C object src/basic/libbasic.a.p/proc-cmdline.c.o [98/452] Compiling C object src/basic/libbasic.a.p/random-util.c.o ../src/basic/random-util.c: In function 'fallback_random_bytes': ../src/basic/random-util.c:47:26: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (33 chars into 32 available) [-Wunterminated-string-initialization] 47 | .label = "systemd fallback random bytes v1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [99/452] Compiling C object src/basic/libbasic.a.p/procfs-util.c.o [100/452] Compiling C object src/basic/libbasic.a.p/process-util.c.o In file included from ../src/basic/process-util.c:22: ../src/basic/process-util.c: In function 'get_process_comm': ../src/basic/process-util.c:121:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 121 | escaped = new(char, COMM_MAX_LEN); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/process-util.c:121:23: note: earlier argument should specify number of elements, later size of each element 121 | escaped = new(char, COMM_MAX_LEN); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [101/452] Compiling C object src/basic/libbasic.a.p/psi-util.c.o [102/452] Compiling C object src/basic/libbasic.a.p/ratelimit.c.o [103/452] Compiling C object src/basic/libbasic.a.p/replace-var.c.o In file included from ../src/basic/replace-var.c:7: ../src/basic/replace-var.c: In function 'replace_var': ../src/basic/replace-var.c:48:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 48 | r = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/replace-var.c:48:17: note: earlier argument should specify number of elements, later size of each element 48 | r = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [104/452] Compiling C object src/basic/libbasic.a.p/rlimit-util.c.o [105/452] Compiling C object src/basic/libbasic.a.p/recurse-dir.c.o [106/452] Compiling C object src/basic/libbasic.a.p/runtime-scope.c.o [107/452] Compiling C object src/basic/libbasic.a.p/signal-util.c.o [108/452] Compiling C object src/basic/libbasic.a.p/sigbus.c.o [109/452] Compiling C object src/basic/libbasic.a.p/siphash24.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/siphash24.c:24: ../src/basic/siphash24.c: In function 'siphash24_init': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'k' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/siphash24.c:57:9: note: in expansion of macro 'assert' 57 | assert(k); | ^~~~~~ ../src/basic/siphash24.c: In function 'siphash24': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'k' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/siphash24.c:195:9: note: in expansion of macro 'assert' 195 | assert(k); | ^~~~~~ [110/452] Compiling C object src/basic/libbasic.a.p/sort-util.c.o [111/452] Compiling C object src/basic/libbasic.a.p/strbuf.c.o In file included from ../src/basic/strbuf.c:7: ../src/basic/strbuf.c: In function 'strbuf_new': ../src/basic/strbuf.c:32:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 32 | str = new(struct strbuf, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strbuf.c:32:19: note: earlier argument should specify number of elements, later size of each element 32 | str = new(struct strbuf, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strbuf.c: In function 'strbuf_add_string': ../src/basic/strbuf.c:162:26: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 162 | node_child = new(struct strbuf_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strbuf.c:162:26: note: earlier argument should specify number of elements, later size of each element 162 | node_child = new(struct strbuf_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [112/452] Compiling C object src/basic/libbasic.a.p/stat-util.c.o [113/452] Compiling C object src/basic/libbasic.a.p/string-table.c.o [114/452] Compiling C object src/basic/libbasic.a.p/socket-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/basic/socket-util.c:18: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [115/452] Compiling C object src/basic/libbasic.a.p/string-util.c.o In file included from ../src/basic/string-util.c:9: ../src/basic/string-util.c: In function 'strnappend': ../src/basic/string-util.c:79:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 79 | r = new(char, a+b+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c:79:17: note: earlier argument should specify number of elements, later size of each element 79 | r = new(char, a+b+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c: In function 'strjoin_real': ../src/basic/string-util.c:108:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 108 | p = r = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c:108:21: note: earlier argument should specify number of elements, later size of each element 108 | p = r = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c: In function 'ascii_ellipsize_mem': ../src/basic/string-util.c:392:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 392 | t = new(char, new_length+3); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c:392:17: note: earlier argument should specify number of elements, later size of each element 392 | t = new(char, new_length+3); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c: In function 'ellipsize_mem': ../src/basic/string-util.c:519:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 519 | char *e = new(char, alloc_len); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/string-util.c:519:23: note: earlier argument should specify number of elements, later size of each element 519 | char *e = new(char, alloc_len); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/string-util.c: In function 'advance_offsets': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'shift' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/string-util.c:696:9: note: in expansion of macro 'assert' 696 | assert(shift); | ^~~~~~ [116/452] Compiling C object src/basic/libbasic.a.p/strxcpyx.c.o [117/452] Compiling C object src/basic/libbasic.a.p/strv.c.o In file included from ../src/basic/strv.c:9: ../src/basic/strv.c: In function 'strv_copy_n': ../src/basic/strv.c:95:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 95 | result = new(char*, MIN(strv_length(l), m) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c:95:22: note: earlier argument should specify number of elements, later size of each element 95 | result = new(char*, MIN(strv_length(l), m) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c: In function 'strv_new_ap': ../src/basic/strv.c:145:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 145 | a = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c:145:17: note: earlier argument should specify number of elements, later size of each element 145 | a = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c: In function 'strv_join_full': ../src/basic/strv.c:394:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 394 | r = new(char, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c:394:17: note: earlier argument should specify number of elements, later size of each element 394 | r = new(char, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c: In function 'strv_insert': ../src/basic/strv.c:496:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 496 | c = new(char*, m); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/strv.c:496:17: note: earlier argument should specify number of elements, later size of each element 496 | c = new(char*, m); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [118/452] Compiling C object src/basic/libbasic.a.p/sync-util.c.o [119/452] Compiling C object src/basic/libbasic.a.p/syslog-util.c.o [120/452] Compiling C object src/basic/libbasic.a.p/sysctl-util.c.o [121/452] Compiling C object src/basic/libbasic.a.p/time-util.c.o [122/452] Compiling C object src/basic/libbasic.a.p/tmpfile-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/basic/tmpfile-util.c:5: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [123/452] Compiling C object src/basic/libbasic.a.p/terminal-util.c.o In file included from ../src/basic/terminal-util.c:23: ../src/basic/terminal-util.c: In function 'ptsname_malloc': ../src/basic/terminal-util.c:1124:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1124 | c = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/terminal-util.c:1124:25: note: earlier argument should specify number of elements, later size of each element 1124 | c = new(char, l); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [124/452] Compiling C object src/basic/libbasic.a.p/uid-alloc-range.c.o [125/452] Compiling C object src/basic/libbasic.a.p/uid-range.c.o [126/452] Compiling C object src/basic/libbasic.a.p/unit-def.c.o [127/452] Compiling C object src/basic/libbasic.a.p/utf8.c.o In file included from ../src/basic/utf8.c:30: ../src/basic/utf8.c: In function 'utf8_to_ascii': ../src/basic/utf8.c:317:40: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 317 | _cleanup_free_ char *ans = new(char, strlen(str) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/utf8.c:317:40: note: earlier argument should specify number of elements, later size of each element 317 | _cleanup_free_ char *ans = new(char, strlen(str) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/utf8.c: In function 'utf16_to_utf8': ../src/basic/utf8.c:399:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 399 | r = new(char, length * 2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/utf8.c:399:17: note: earlier argument should specify number of elements, later size of each element 399 | r = new(char, length * 2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/utf8.c: In function 'utf8_to_utf16': ../src/basic/utf8.c:468:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 468 | n = new(char16_t, length + 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/utf8.c:468:17: note: earlier argument should specify number of elements, later size of each element 468 | n = new(char16_t, length + 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [128/452] Compiling C object src/basic/libbasic.a.p/unit-name.c.o In file included from ../src/basic/unit-name.c:10: ../src/basic/unit-name.c: In function 'unit_name_change_suffix': ../src/basic/unit-name.c:238:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 238 | s = new(char, a + b + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:238:17: note: earlier argument should specify number of elements, later size of each element 238 | s = new(char, a + b + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c: In function 'unit_name_escape': ../src/basic/unit-name.c:339:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 339 | r = new(char, strlen(f)*4+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:339:17: note: earlier argument should specify number of elements, later size of each element 339 | r = new(char, strlen(f)*4+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c: In function 'unit_name_replace_instance': ../src/basic/unit-name.c:478:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 478 | s = new(char, a + 1 + b + strlen(e) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:478:17: note: earlier argument should specify number of elements, later size of each element 478 | s = new(char, a + 1 + b + strlen(e) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c: In function 'unit_name_template': ../src/basic/unit-name.c:508:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 508 | s = new(char, a + 1 + strlen(e) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:508:17: note: earlier argument should specify number of elements, later size of each element 508 | s = new(char, a + 1 + strlen(e) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c: In function 'unit_name_mangle_with_suffix': ../src/basic/unit-name.c:749:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 749 | s = new(char, strlen(name) * 4 + strlen(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:749:17: note: earlier argument should specify number of elements, later size of each element 749 | s = new(char, strlen(name) * 4 + strlen(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c: In function 'slice_build_subslice': ../src/basic/unit-name.c:835:32: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 835 | subslice = new(char, (e - slice) + 1 + strlen(name) + 6 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/unit-name.c:835:32: note: earlier argument should specify number of elements, later size of each element 835 | subslice = new(char, (e - slice) + 1 + strlen(name) + 6 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [129/452] Compiling C object src/basic/libbasic.a.p/xattr-util.c.o In file included from ../src/basic/xattr-util.c:10: ../src/basic/xattr-util.c: In function 'listxattr_at_malloc': ../src/basic/xattr-util.c:257:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 257 | v = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/xattr-util.c:257:25: note: earlier argument should specify number of elements, later size of each element 257 | v = new(char, l+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [130/452] Compiling C object src/basic/libbasic.a.p/unit-file.c.o [131/452] Compiling C object src/basic/libbasic.a.p/.._fundamental_bootspec-fundamental.c.o [132/452] Compiling C object src/basic/libbasic.a.p/.._fundamental_efivars-fundamental.c.o [133/452] Compiling C object src/basic/libbasic.a.p/user-util.c.o In file included from ../src/basic/user-util.c:15: ../src/basic/user-util.c: In function 'merge_gid_lists': ../src/basic/user-util.c:532:26: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 532 | gid_t *buf = new(gid_t, size1 + size2); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/user-util.c:532:26: note: earlier argument should specify number of elements, later size of each element 532 | gid_t *buf = new(gid_t, size1 + size2); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/user-util.c: In function 'getgroups_alloc': ../src/basic/user-util.c:553:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 553 | allocated = new(gid_t, ngroups); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/user-util.c:553:25: note: earlier argument should specify number of elements, later size of each element 553 | allocated = new(gid_t, ngroups); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/user-util.c:579:37: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 579 | p = allocated = new(gid_t, ngroups); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/basic/user-util.c:579:37: note: earlier argument should specify number of elements, later size of each element 579 | p = allocated = new(gid_t, ngroups); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [134/452] Compiling C object src/basic/libbasic.a.p/virt.c.o [135/452] Compiling C object src/basic/libbasic.a.p/.._fundamental_sha256.c.o [136/452] Compiling C object src/basic/libbasic.a.p/.._fundamental_string-util-fundamental.c.o [137/452] Compiling C object src/basic/libbasic.a.p/.._fundamental_tpm-pcr.c.o [138/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-common-errors.c.o [139/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-container.c.o [140/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-dump.c.o In file included from ../src/libsystemd/sd-bus/bus-dump.c:5: ../src/libsystemd/sd-bus/bus-dump.c: In function 'indent': ../src/libsystemd/sd-bus/bus-dump.c:33:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 33 | p = new(char, n + level*8 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-dump.c:33:17: note: earlier argument should specify number of elements, later size of each element 33 | p = new(char, n + level*8 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [141/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-control.c.o In file included from ../src/libsystemd/sd-bus/bus-control.c:12: ../src/libsystemd/sd-bus/bus-control.c: In function 'sd_bus_get_owner_creds': ../src/libsystemd/sd-bus/bus-control.c:824:48: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 824 | c->supplementary_gids = newdup(gid_t, bus->groups, bus->n_groups); | ^~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-control.c:824:48: note: earlier argument should specify number of elements, later size of each element 824 | c->supplementary_gids = newdup(gid_t, bus->groups, bus->n_groups); | ^~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [142/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-convenience.c.o [143/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-creds.c.o In file included from ../src/libsystemd/sd-bus/bus-creds.c:6: ../src/libsystemd/sd-bus/bus-creds.c: In function 'bus_creds_extend_by_pid': ../src/libsystemd/sd-bus/bus-creds.c:1186:56: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1186 | n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids); | ^~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-creds.c:1186:56: note: earlier argument should specify number of elements, later size of each element 1186 | n->supplementary_gids = newdup(gid_t, c->supplementary_gids, c->n_supplementary_gids); | ^~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [144/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-error.c.o In file included from ../src/libsystemd/sd-bus/bus-error.c:11: ../src/libsystemd/sd-bus/bus-error.c: In function 'bus_error_strerror': ../src/libsystemd/sd-bus/bus-error.c:406:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 406 | m = new(char, k); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-error.c:406:25: note: earlier argument should specify number of elements, later size of each element 406 | m = new(char, k); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [145/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-internal.c.o In file included from ../src/libsystemd/sd-bus/bus-internal.c:3: ../src/libsystemd/sd-bus/bus-internal.c: In function 'bus_address_escape': ../src/libsystemd/sd-bus/bus-internal.c:293:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 293 | r = new(char, strlen(v)*3+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-internal.c:293:17: note: earlier argument should specify number of elements, later size of each element 293 | r = new(char, strlen(v)*3+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [146/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-introspect.c.o [147/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-kernel.c.o [148/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-match.c.o [149/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-objects.c.o In file included from ../src/libsystemd/sd-bus/bus-objects.c:3: ../src/libsystemd/sd-bus/bus-objects.c: In function 'object_manager_serialize_path_and_fallbacks': ../src/libsystemd/sd-bus/bus-objects.c:1208:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1208 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:1208:22: note: earlier argument should specify number of elements, later size of each element 1208 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'bus_process_object': ../src/libsystemd/sd-bus/bus-objects.c:1432:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1432 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:1432:22: note: earlier argument should specify number of elements, later size of each element 1432 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'bus_find_parent_object_manager': ../src/libsystemd/sd-bus/bus-objects.c:1578:30: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1578 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:1578:30: note: earlier argument should specify number of elements, later size of each element 1578 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'sd_bus_emit_properties_changed_strv': ../src/libsystemd/sd-bus/bus-objects.c:2299:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2299 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:2299:22: note: earlier argument should specify number of elements, later size of each element 2299 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'object_added_append_all': ../src/libsystemd/sd-bus/bus-objects.c:2492:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2492 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:2492:22: note: earlier argument should specify number of elements, later size of each element 2492 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'object_removed_append_all': ../src/libsystemd/sd-bus/bus-objects.c:2672:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2672 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:2672:22: note: earlier argument should specify number of elements, later size of each element 2672 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c: In function 'interfaces_added_append_one': ../src/libsystemd/sd-bus/bus-objects.c:2842:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2842 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-objects.c:2842:22: note: earlier argument should specify number of elements, later size of each element 2842 | prefix = new(char, pl + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [150/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-signature.c.o [151/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-message.c.o ../src/libsystemd/sd-bus/bus-message.c: In function 'message_push_fd': ../src/libsystemd/sd-bus/bus-message.c:1291:41: warning: 'reallocarray' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1291 | f = reallocarray(m->fds, sizeof(int), m->n_fds + 1); | ^~~ ../src/libsystemd/sd-bus/bus-message.c:1291:41: note: earlier argument should specify number of elements, later size of each element [152/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-track.c.o In file included from ../src/libsystemd/sd-bus/bus-track.c:5: ../src/libsystemd/sd-bus/bus-track.c: In function 'sd_bus_track_add_name': ../src/libsystemd/sd-bus/bus-track.c:213:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 213 | n = new(struct track_item, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-track.c:213:17: note: earlier argument should specify number of elements, later size of each element 213 | n = new(struct track_item, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [153/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-slot.c.o [154/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-socket.c.o In file included from ../src/libsystemd/sd-bus/bus-socket.c:11: ../src/libsystemd/sd-bus/bus-socket.c: In function 'bus_message_setup_iovec': ../src/libsystemd/sd-bus/bus-socket.c:80:32: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 80 | m->iovec = new(struct iovec, n); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/bus-socket.c:80:32: note: earlier argument should specify number of elements, later size of each element 80 | m->iovec = new(struct iovec, n); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [155/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_bus-type.c.o [156/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_device-enumerator.c.o In file included from ../src/libsystemd/sd-device/device-enumerator.c:8: ../src/libsystemd/sd-device/device-enumerator.c: In function 'sd_device_enumerator_new': ../src/libsystemd/sd-device/device-enumerator.c:55:26: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 55 | enumerator = new(sd_device_enumerator, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-enumerator.c:55:26: note: earlier argument should specify number of elements, later size of each element 55 | enumerator = new(sd_device_enumerator, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-enumerator.c: In function 'enumerator_sort_devices': ../src/libsystemd/sd-device/device-enumerator.c:344:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 344 | devices = new(sd_device*, hashmap_size(enumerator->devices_by_syspath)); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-enumerator.c:344:23: note: earlier argument should specify number of elements, later size of each element 344 | devices = new(sd_device*, hashmap_size(enumerator->devices_by_syspath)); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [157/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-bus_sd-bus.c.o In file included from ../src/basic/string-util.h:8, from ../src/basic/af-list.h:6, from ../src/libsystemd/sd-bus/sd-bus.c:15: ../src/libsystemd/sd-bus/sd-bus.c: In function 'sd_bus_new': ../src/libsystemd/sd-bus/sd-bus.c:243:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 243 | b = new(sd_bus, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-bus/sd-bus.c:243:17: note: earlier argument should specify number of elements, later size of each element 243 | b = new(sd_bus, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [158/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_device-filter.c.o [159/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_device-private.c.o In file included from ../src/libsystemd/sd-device/device-private.c:9: ../src/libsystemd/sd-device/device-private.c: In function 'device_update_properties_bufs': ../src/libsystemd/sd-device/device-private.c:535:29: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 535 | buf_nulstr = newdup(char, "UDEV_DATABASE_VERSION=" STRINGIFY(LATEST_UDEV_DATABASE_VERSION) "\0", | ^~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-private.c:535:29: note: earlier argument should specify number of elements, later size of each element 535 | buf_nulstr = newdup(char, "UDEV_DATABASE_VERSION=" STRINGIFY(LATEST_UDEV_DATABASE_VERSION) "\0", | ^~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [160/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_device-util.c.o [161/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_device-monitor.c.o In file included from ../src/libsystemd/sd-device/device-monitor.c:14: ../src/libsystemd/sd-device/device-monitor.c: In function 'device_monitor_new_full': ../src/libsystemd/sd-device/device-monitor.c:166:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | m = new(sd_device_monitor, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-monitor.c:166:17: note: earlier argument should specify number of elements, later size of each element 166 | m = new(sd_device_monitor, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-monitor.c: In function 'device_monitor_receive_device': ../src/libsystemd/sd-device/device-monitor.c:525:33: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 525 | buf_alloc = new(uint8_t, n); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/device-monitor.c:525:33: note: earlier argument should specify number of elements, later size of each element 525 | buf_alloc = new(uint8_t, n); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [162/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-device_sd-device.c.o In file included from ../src/libsystemd/sd-device/sd-device.c:10: ../src/libsystemd/sd-device/sd-device.c: In function 'device_new_aux': ../src/libsystemd/sd-device/sd-device.c:42:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 42 | device = new(sd_device, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-device/sd-device.c:42:22: note: earlier argument should specify number of elements, later size of each element 42 | device = new(sd_device, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [163/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-hwdb_sd-hwdb.c.o [164/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-genl.c.o In file included from ../src/libsystemd/sd-netlink/netlink-genl.c:7: ../src/libsystemd/sd-netlink/netlink-genl.c: In function 'genl_family_new_unsupported': ../src/libsystemd/sd-netlink/netlink-genl.c:71:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 71 | f = new(GenericNetlinkFamily, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-genl.c:71:17: note: earlier argument should specify number of elements, later size of each element 71 | f = new(GenericNetlinkFamily, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-genl.c: In function 'genl_family_new': ../src/libsystemd/sd-netlink/netlink-genl.c:110:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 110 | f = new(GenericNetlinkFamily, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-genl.c:110:17: note: earlier argument should specify number of elements, later size of each element 110 | f = new(GenericNetlinkFamily, 1); | ^~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [165/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message.c.o In file included from ../src/libsystemd/sd-netlink/netlink-message.c:9: ../src/libsystemd/sd-netlink/netlink-message.c: In function 'message_new_empty': ../src/libsystemd/sd-netlink/netlink-message.c:32:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 32 | m = new(sd_netlink_message, 1); | ^~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-message.c:32:17: note: earlier argument should specify number of elements, later size of each element 32 | m = new(sd_netlink_message, 1); | ^~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [166/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-nfnl.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/hashmap.h:8, from ../src/basic/ordered-set.h:6, from ../src/libsystemd/sd-netlink/netlink-internal.h:10, from ../src/libsystemd/sd-netlink/netlink-message-nfnl.c:11: ../src/libsystemd/sd-netlink/netlink-message-nfnl.c: In function 'sd_nfnl_send_batch': ../src/libsystemd/sd-netlink/netlink-message-nfnl.c:118:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | iovs = new(struct iovec, n_messages + 2); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-message-nfnl.c:118:20: note: earlier argument should specify number of elements, later size of each element 118 | iovs = new(struct iovec, n_messages + 2); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-message-nfnl.c:123:31: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 123 | serials = new(uint32_t, n_messages); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-message-nfnl.c:123:31: note: earlier argument should specify number of elements, later size of each element 123 | serials = new(uint32_t, n_messages); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [167/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-slot.c.o [168/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-genl.c.o [169/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-message-rtnl.c.o [170/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-socket.c.o [171/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-nfnl.c.o [172/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types.c.o [173/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_sd-netlink.c.o In file included from ../src/libsystemd/sd-netlink/sd-netlink.c:7: ../src/libsystemd/sd-netlink/sd-netlink.c: In function 'netlink_new': ../src/libsystemd/sd-netlink/sd-netlink.c:28:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 28 | nl = new(sd_netlink, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/sd-netlink.c:28:18: note: earlier argument should specify number of elements, later size of each element 28 | nl = new(sd_netlink, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/sd-netlink.c: In function 'netlink_add_match_internal': ../src/libsystemd/sd-netlink/sd-netlink.c:786:46: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 786 | slot->match_callback.groups = newdup(uint32_t, groups, n_groups); | ^~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/sd-netlink.c:786:46: note: earlier argument should specify number of elements, later size of each element 786 | slot->match_callback.groups = newdup(uint32_t, groups, n_groups); | ^~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [174/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-types-rtnl.c.o [175/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-network_network-util.c.o [176/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-netlink_netlink-util.c.o In file included from ../src/basic/memory-util.h:10, from ../src/libsystemd/sd-netlink/netlink-util.c:7: ../src/libsystemd/sd-netlink/netlink-util.c: In function 'multipath_route_dup': ../src/libsystemd/sd-netlink/netlink-util.c:600:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 600 | n = new(MultipathRoute, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c:600:17: note: earlier argument should specify number of elements, later size of each element 600 | n = new(MultipathRoute, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c: In function 'rtattr_read_nexthop': ../src/libsystemd/sd-netlink/netlink-util.c:635:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 635 | m = new(MultipathRoute, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c:635:25: note: earlier argument should specify number of elements, later size of each element 635 | m = new(MultipathRoute, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c: In function 'socket_writev_message': ../src/libsystemd/sd-netlink/netlink-util.c:764:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 764 | iovs = new(struct iovec, msgcount); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c:764:20: note: earlier argument should specify number of elements, later size of each element 764 | iovs = new(struct iovec, msgcount); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c: In function 'sd_netlink_sendv': ../src/libsystemd/sd-netlink/netlink-util.c:797:31: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 797 | serials = new(uint32_t, msgcount); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-netlink/netlink-util.c:797:31: note: earlier argument should specify number of elements, later size of each element 797 | serials = new(uint32_t, msgcount); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [177/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-network_sd-network.c.o [178/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_audit-type.c.o [179/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_catalog.c.o In file included from ../src/libsystemd/sd-journal/catalog.c:14: ../src/libsystemd/sd-journal/catalog.c: In function 'combine_entries': ../src/libsystemd/sd-journal/catalog.c:110:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 110 | dest = new(char, l1 + l2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/catalog.c:110:20: note: earlier argument should specify number of elements, later size of each element 110 | dest = new(char, l1 + l2 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/catalog.c: In function 'catalog_update': ../src/libsystemd/sd-journal/catalog.c:481:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 481 | items = new(CatalogItem, ordered_hashmap_size(h)); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/catalog.c:481:21: note: earlier argument should specify number of elements, later size of each element 481 | items = new(CatalogItem, ordered_hashmap_size(h)); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [180/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-path_sd-path.c.o In file included from ../src/libsystemd/sd-path/sd-path.c:5: ../src/libsystemd/sd-path/sd-path.c: In function 'sd_path_lookup_strv': ../src/libsystemd/sd-path/sd-path.c:675:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 675 | l = new(char*, 2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-path/sd-path.c:675:25: note: earlier argument should specify number of elements, later size of each element 675 | l = new(char*, 2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-path/sd-path.c:692:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 692 | n = new(char*, strv_length(l)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-path/sd-path.c:692:17: note: earlier argument should specify number of elements, later size of each element 692 | n = new(char*, strv_length(l)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [181/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-resolve_sd-resolve.c.o In file included from ../src/libsystemd/sd-resolve/sd-resolve.c:17: ../src/libsystemd/sd-resolve/sd-resolve.c: In function 'unserialize_addrinfo': ../src/libsystemd/sd-resolve/sd-resolve.c:699:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 699 | ai = new(struct addrinfo, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-resolve/sd-resolve.c:699:18: note: earlier argument should specify number of elements, later size of each element 699 | ai = new(struct addrinfo, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [182/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_lookup3.c.o [183/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_journal-send.c.o [184/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_journal-file.c.o In file included from ../src/libsystemd/sd-journal/journal-file.c:16: ../src/libsystemd/sd-journal/journal-file.c: In function 'journal_file_append_entry': ../src/libsystemd/sd-journal/journal-file.c:2529:35: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2529 | items_alloc = new(EntryItem, n_iovec); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c:2529:35: note: earlier argument should specify number of elements, later size of each element 2529 | items_alloc = new(EntryItem, n_iovec); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c: In function 'chain_cache_put': ../src/libsystemd/sd-journal/journal-file.c:2627:34: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2627 | ci = new(ChainCacheItem, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c:2627:34: note: earlier argument should specify number of elements, later size of each element 2627 | ci = new(ChainCacheItem, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c: In function 'journal_file_open': ../src/libsystemd/sd-journal/journal-file.c:3931:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3931 | f = new(JournalFile, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c:3931:17: note: earlier argument should specify number of elements, later size of each element 3931 | f = new(JournalFile, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c: In function 'journal_file_copy_entry': ../src/libsystemd/sd-journal/journal-file.c:4288:35: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 4288 | items_alloc = new(EntryItem, n); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/journal-file.c:4288:35: note: earlier argument should specify number of elements, later size of each element 4288 | items_alloc = new(EntryItem, n); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [185/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_journal-vacuum.c.o [186/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_journal-verify.c.o [187/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_mmap-cache.c.o In file included from ../src/libsystemd/sd-journal/mmap-cache.c:7: ../src/libsystemd/sd-journal/mmap-cache.c: In function 'window_add': ../src/libsystemd/sd-journal/mmap-cache.c:162:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 162 | w = new(Window, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/mmap-cache.c:162:25: note: earlier argument should specify number of elements, later size of each element 162 | w = new(Window, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [188/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-id128_id128-util.c.o [189/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-daemon_sd-daemon.c.o [190/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-event_event-util.c.o [191/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-id128_sd-id128.c.o In file included from ../src/libsystemd/sd-id128/sd-id128.c:9: ../src/libsystemd/sd-id128/sd-id128.c: In function 'get_invocation_from_keyring': ../src/libsystemd/sd-id128/sd-id128.c:215:35: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 215 | description = new(char, sz); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-id128/sd-id128.c:215:35: note: earlier argument should specify number of elements, later size of each element 215 | description = new(char, sz); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/libsystemd/sd-id128/sd-id128.c: In function 'sd_id128_to_string': ../src/fundamental/macro-fundamental.h:22:22: warning: 'nonnull' argument 's' compared to NULL [-Wnonnull-compare] 22 | #define _likely_(x) (__builtin_expect(!!(x), 1)) ../src/basic/macro.h:181:37: note: in expansion of macro '_likely_' 181 | #define assert_log(expr, message) ((_likely_(expr)) \ | ^~~~~~~~ ../src/basic/macro.h:202:22: note: in expansion of macro 'assert_log' 202 | if (!assert_log(expr, #expr)) \ | ^~~~~~~~~~ ../src/libsystemd/sd-id128/sd-id128.c:27:9: note: in expansion of macro 'assert_return' 27 | assert_return(s, NULL); | ^~~~~~~~~~~~~ ../src/libsystemd/sd-id128/sd-id128.c: In function 'sd_id128_to_uuid_string': ../src/fundamental/macro-fundamental.h:22:22: warning: 'nonnull' argument 's' compared to NULL [-Wnonnull-compare] 22 | #define _likely_(x) (__builtin_expect(!!(x), 1)) ../src/basic/macro.h:181:37: note: in expansion of macro '_likely_' 181 | #define assert_log(expr, message) ((_likely_(expr)) \ | ^~~~~~~~ ../src/basic/macro.h:202:22: note: in expansion of macro 'assert_log' 202 | if (!assert_log(expr, #expr)) \ | ^~~~~~~~~~ ../src/libsystemd/sd-id128/sd-id128.c:43:9: note: in expansion of macro 'assert_return' 43 | assert_return(s, NULL); | ^~~~~~~~~~~~~ [192/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-journal_sd-journal.c.o In file included from ../src/libsystemd/sd-journal/sd-journal.c:15: ../src/libsystemd/sd-journal/sd-journal.c: In function 'match_new': ../src/libsystemd/sd-journal/sd-journal.c:192:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 192 | m = new(Match, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/sd-journal.c:192:17: note: earlier argument should specify number of elements, later size of each element 192 | m = new(Match, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/sd-journal.c: In function 'add_directory': ../src/libsystemd/sd-journal/sd-journal.c:1779:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1779 | m = new(Directory, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/sd-journal.c:1779:25: note: earlier argument should specify number of elements, later size of each element 1779 | m = new(Directory, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/sd-journal.c: In function 'journal_new': ../src/libsystemd/sd-journal/sd-journal.c:2011:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2011 | j = new(sd_journal, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-journal/sd-journal.c:2011:17: note: earlier argument should specify number of elements, later size of each element 2011 | j = new(sd_journal, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [193/452] Compiling C object src/shared/libsystemd-shared-254.a.p/acl-util.c.o [194/452] Compiling C object src/shared/libsystemd-shared-254.a.p/apparmor-util.c.o [195/452] Compiling C object src/shared/libsystemd-shared-254.a.p/acpi-fpdt.c.o [196/452] Compiling C object src/shared/libsystemd-shared-254.a.p/async.c.o [197/452] Compiling C object src/shared/libsystemd-shared-254.a.p/barrier.c.o [198/452] Compiling C object src/shared/libsystemd-shared-254.a.p/base-filesystem.c.o [199/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ask-password-api.c.o [200/452] Compiling C object src/shared/libsystemd-shared-254.a.p/battery-util.c.o [201/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-login_sd-login.c.o In file included from ../src/libsystemd/sd-login/sd-login.c:10: ../src/libsystemd/sd-login/sd-login.c: In function 'sd_seat_get_sessions': ../src/libsystemd/sd-login/sd-login.c:961:28: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 961 | uids = new(uid_t, n_sessions); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-login/sd-login.c:961:28: note: earlier argument should specify number of elements, later size of each element 961 | uids = new(uid_t, n_sessions); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-login/sd-login.c: In function 'sd_get_uids': ../src/libsystemd/sd-login/sd-login.c:1084:60: warning: 'reallocarray' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1084 | t = reallocarray(l, sizeof(uid_t), n); | ^~~~~ ../src/libsystemd/sd-login/sd-login.c:1084:60: note: earlier argument should specify number of elements, later size of each element ../src/libsystemd/sd-login/sd-login.c: In function 'sd_machine_get_ifindices': ../src/libsystemd/sd-login/sd-login.c:1193:33: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1193 | ifindices = new(int, strv_length(tt)); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-login/sd-login.c:1193:33: note: earlier argument should specify number of elements, later size of each element 1193 | ifindices = new(int, strv_length(tt)); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [202/452] Compiling C object src/libsystemd/libsystemd_static.a.p/sd-event_sd-event.c.o In file included from ../src/libsystemd/sd-event/sd-event.c:12: ../src/libsystemd/sd-event/sd-event.c: In function 'sd_event_new': ../src/libsystemd/sd-event/sd-event.c:392:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 392 | e = new(sd_event, 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c:392:17: note: earlier argument should specify number of elements, later size of each element 392 | e = new(sd_event, 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c: In function 'event_make_signal_data': ../src/libsystemd/sd-event/sd-event.c:731:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 731 | d = new(struct signal_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c:731:25: note: earlier argument should specify number of elements, later size of each element 731 | d = new(struct signal_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c: In function 'event_make_inotify_data': ../src/libsystemd/sd-event/sd-event.c:2181:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2181 | d = new(struct inotify_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c:2181:17: note: earlier argument should specify number of elements, later size of each element 2181 | d = new(struct inotify_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c: In function 'event_make_inode_data': ../src/libsystemd/sd-event/sd-event.c:2351:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2351 | d = new(struct inode_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c:2351:17: note: earlier argument should specify number of elements, later size of each element 2351 | d = new(struct inode_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c: In function 'sd_event_source_set_memory_pressure_type': ../src/libsystemd/sd-event/sd-event.c:5299:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 5299 | w = new(char, nl); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libsystemd/sd-event/sd-event.c:5299:17: note: earlier argument should specify number of elements, later size of each element 5299 | w = new(char, nl); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [203/452] Compiling C object src/shared/libsystemd-shared-254.a.p/binfmt-util.c.o [204/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bitmap.c.o In file included from ../src/shared/bitmap.c:9: ../src/shared/bitmap.c: In function 'bitmap_copy': ../src/shared/bitmap.c:38:31: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 38 | ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); | ^~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/bitmap.c:38:31: note: earlier argument should specify number of elements, later size of each element 38 | ret->bitmaps = newdup(uint64_t, b->bitmaps, b->n_bitmaps); | ^~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [205/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bond-util.c.o [206/452] Compiling C object src/shared/libsystemd-shared-254.a.p/blockdev-util.c.o [207/452] Compiling C object src/shared/libsystemd-shared-254.a.p/boot-entry.c.o [208/452] Compiling C object src/shared/libsystemd-shared-254.a.p/boot-timestamps.c.o [209/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bpf-dlopen.c.o [210/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bootspec.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/ether-addr-util.h:8, from ../src/shared/json.h:12, from ../src/shared/bootspec.h:10, from ../src/shared/bootspec.c:6: ../src/shared/bootspec.c: In function 'find_sections': ../src/shared/bootspec.c:790:24: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 790 | sections = new(struct PeSectionHeader, n_sections); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bootspec.c:790:24: note: earlier argument should specify number of elements, later size of each element 790 | sections = new(struct PeSectionHeader, n_sections); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bootspec.c:823:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 823 | k = new(char, size+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bootspec.c:823:25: note: earlier argument should specify number of elements, later size of each element 823 | k = new(char, size+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [211/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bridge-util.c.o [212/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-locator.c.o [213/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bpf-program.c.o In file included from ../src/shared/bpf-program.c:8: ../src/shared/bpf-program.c: In function 'bpf_program_new': ../src/shared/bpf-program.c:95:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 95 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bpf-program.c:95:17: note: earlier argument should specify number of elements, later size of each element 95 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bpf-program.c: In function 'bpf_program_new_from_bpffs_path': ../src/shared/bpf-program.c:118:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bpf-program.c:118:17: note: earlier argument should specify number of elements, later size of each element 118 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bpf-program.c: In function 'bpf_program_deserialize_attachment': ../src/shared/bpf-program.c:479:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 479 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bpf-program.c:479:17: note: earlier argument should specify number of elements, later size of each element 479 | p = new(BPFProgram, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [214/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-get-properties.c.o [215/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-log-control-api.c.o [216/452] Compiling C object src/shared/libsystemd-shared-254.a.p/btrfs-util.c.o [217/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-map-properties.c.o [218/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-polkit.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/hashmap.h:8, from ../src/libsystemd/sd-bus/bus-match.h:8, from ../src/libsystemd/sd-bus/bus-internal.h:10, from ../src/shared/bus-polkit.c:3: ../src/shared/bus-polkit.c: In function 'bus_verify_polkit_async': ../src/shared/bus-polkit.c:529:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 529 | q = new(AsyncPolkitQuery, 1); | ^~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-polkit.c:529:25: note: earlier argument should specify number of elements, later size of each element 529 | q = new(AsyncPolkitQuery, 1); | ^~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-polkit.c:540:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 540 | q->action = new(AsyncPolkitQueryAction, 1); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-polkit.c:540:25: note: earlier argument should specify number of elements, later size of each element 540 | q->action = new(AsyncPolkitQueryAction, 1); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [219/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-message-util.c.o [220/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-object.c.o [221/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-unit-procs.c.o [222/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-print-properties.c.o [223/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-wait-for-units.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/hashmap.h:8, from ../src/shared/bus-wait-for-units.c:6: ../src/shared/bus-wait-for-units.c: In function 'bus_wait_for_units_new': ../src/shared/bus-wait-for-units.c:131:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 131 | d = new(BusWaitForUnits, 1); | ^~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-wait-for-units.c:131:17: note: earlier argument should specify number of elements, later size of each element 131 | d = new(BusWaitForUnits, 1); | ^~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-wait-for-units.c: In function 'bus_wait_for_units_add_unit': ../src/shared/bus-wait-for-units.c:333:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 333 | item = new(WaitForItem, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-wait-for-units.c:333:20: note: earlier argument should specify number of elements, later size of each element 333 | item = new(WaitForItem, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [224/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-wait-for-jobs.c.o In file included from ../src/shared/bus-wait-for-jobs.c:3: ../src/shared/bus-wait-for-jobs.c: In function 'bus_wait_for_jobs_new': ../src/shared/bus-wait-for-jobs.c:87:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 87 | d = new(BusWaitForJobs, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/bus-wait-for-jobs.c:87:17: note: earlier argument should specify number of elements, later size of each element 87 | d = new(BusWaitForJobs, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [225/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-util.c.o [226/452] Compiling C object src/shared/libsystemd-shared-254.a.p/cgroup-setup.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/extract-word.h:4, from ../src/basic/set.h:4, from ../src/basic/cgroup-util.h:13, from ../src/shared/cgroup-setup.h:8, from ../src/shared/cgroup-setup.c:5: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [227/452] Compiling C object src/shared/libsystemd-shared-254.a.p/calendarspec.c.o In file included from ../src/shared/calendarspec.c:12: ../src/shared/calendarspec.c: In function 'const_chain': ../src/shared/calendarspec.c:556:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 556 | cc = new(CalendarComponent, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/calendarspec.c:556:18: note: earlier argument should specify number of elements, later size of each element 556 | cc = new(CalendarComponent, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/calendarspec.c: In function 'prepend_component': ../src/shared/calendarspec.c:666:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 666 | cc = new(CalendarComponent, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/calendarspec.c:666:18: note: earlier argument should specify number of elements, later size of each element 666 | cc = new(CalendarComponent, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/calendarspec.c: In function 'calendar_spec_from_string': ../src/shared/calendarspec.c:879:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 879 | c = new(CalendarSpec, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/calendarspec.c:879:17: note: earlier argument should specify number of elements, later size of each element 879 | c = new(CalendarSpec, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [228/452] Compiling C object src/shared/libsystemd-shared-254.a.p/bus-unit-util.c.o [229/452] Compiling C object src/shared/libsystemd-shared-254.a.p/chown-recursive.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/dirent-util.h:8, from ../src/shared/chown-recursive.c:9: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [230/452] Compiling C object src/shared/libsystemd-shared-254.a.p/cgroup-show.c.o In file included from ../src/shared/cgroup-show.c:9: ../src/shared/cgroup-show.c: In function 'show_extra_pids': ../src/shared/cgroup-show.c:376:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 376 | copy = new(pid_t, n_pids); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/cgroup-show.c:376:20: note: earlier argument should specify number of elements, later size of each element 376 | copy = new(pid_t, n_pids); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [231/452] Compiling C object src/shared/libsystemd-shared-254.a.p/clean-ipc.c.o [232/452] Compiling C object src/shared/libsystemd-shared-254.a.p/compare-operator.c.o [233/452] Compiling C object src/shared/libsystemd-shared-254.a.p/common-signal.c.o [234/452] Compiling C object src/shared/libsystemd-shared-254.a.p/clock-util.c.o [235/452] Compiling C object src/shared/libsystemd-shared-254.a.p/coredump-util.c.o [236/452] Compiling C object src/shared/libsystemd-shared-254.a.p/conf-parser.c.o In file included from ../src/shared/conf-parser.c:10: ../src/shared/conf-parser.c: In function 'hashmap_put_stats_by_path': ../src/shared/conf-parser.c:460:26: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 460 | st_copy = newdup(struct stat, st, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/conf-parser.c:460:26: note: earlier argument should specify number of elements, later size of each element 460 | st_copy = newdup(struct stat, st, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/conf-parser.c: In function 'config_parse_rlimit': ../src/shared/conf-parser.c:1557:36: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1557 | rl[ltype] = newdup(struct rlimit, &d, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/conf-parser.c:1557:36: note: earlier argument should specify number of elements, later size of each element 1557 | rl[ltype] = newdup(struct rlimit, &d, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/conf-parser.c: In function 'config_parse_hw_addrs': ../src/shared/conf-parser.c:1706:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1706 | n = new(struct hw_addr_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/conf-parser.c:1706:25: note: earlier argument should specify number of elements, later size of each element 1706 | n = new(struct hw_addr_data, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/conf-parser.c: In function 'config_parse_ether_addrs': ../src/shared/conf-parser.c:1804:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1804 | n = new(struct ether_addr, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/conf-parser.c:1804:25: note: earlier argument should specify number of elements, later size of each element 1804 | n = new(struct ether_addr, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [237/452] Compiling C object src/shared/libsystemd-shared-254.a.p/cpu-set-util.c.o [238/452] Compiling C object src/shared/libsystemd-shared-254.a.p/copy.c.o [239/452] Compiling C object src/shared/libsystemd-shared-254.a.p/condition.c.o In file included from ../src/shared/condition.c:17: ../src/shared/condition.c: In function 'condition_new': ../src/shared/condition.c:72:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 72 | c = new(Condition, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/condition.c:72:17: note: earlier argument should specify number of elements, later size of each element 72 | c = new(Condition, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [240/452] Compiling C object src/shared/libsystemd-shared-254.a.p/cryptsetup-util.c.o [241/452] Compiling C object src/shared/libsystemd-shared-254.a.p/daemon-util.c.o [242/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dev-setup.c.o [243/452] Compiling C object src/shared/libsystemd-shared-254.a.p/creds-util.c.o In file included from ../src/basic/macro.h:13, from ../src/shared/blockdev-util.h:8, from ../src/shared/creds-util.c:11: ../src/shared/creds-util.c: In function 'sha256_hash_host_and_tpm2_key': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'ret' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/creds-util.c:674:9: note: in expansion of macro 'assert' 674 | assert(ret); | ^~~~~~ [244/452] Compiling C object src/shared/libsystemd-shared-254.a.p/data-fd-util.c.o [245/452] Compiling C object src/shared/libsystemd-shared-254.a.p/device-nodes.c.o [246/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dlfcn-util.c.o [247/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dm-util.c.o [248/452] Compiling C object src/shared/libsystemd-shared-254.a.p/discover-image.c.o In file included from ../src/shared/discover-image.c:15: ../src/shared/discover-image.c: In function 'image_new': ../src/shared/discover-image.c:172:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 172 | i = new(Image, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/discover-image.c:172:17: note: earlier argument should specify number of elements, later size of each element 172 | i = new(Image, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [249/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dns-domain.c.o In file included from ../src/shared/dns-domain.c:8: ../src/shared/dns-domain.c: In function 'dns_label_escape_new': ../src/shared/dns-domain.c:280:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 280 | s = new(char, DNS_LABEL_ESCAPED_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dns-domain.c:280:17: note: earlier argument should specify number of elements, later size of each element 280 | s = new(char, DNS_LABEL_ESCAPED_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [250/452] Compiling C object src/shared/libsystemd-shared-254.a.p/edit-util.c.o [251/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dropin.c.o [252/452] Compiling C object src/shared/libsystemd-shared-254.a.p/efi-loader.c.o [253/452] Compiling C object src/shared/libsystemd-shared-254.a.p/efi-api.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/shared/efi-api.c:5: ../src/shared/efi-api.c: In function 'boot_id_hex': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 's' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/efi-api.c:462:9: note: in expansion of macro 'assert' 462 | assert(s); | ^~~~~~ [254/452] Compiling C object src/shared/libsystemd-shared-254.a.p/dissect-image.c.o In file included from ../src/basic/string-util.h:8, from ../src/shared/blkid-util.h:10, from ../src/shared/dissect-image.c:26: ../src/shared/dissect-image.c: In function 'dissected_image_new': ../src/shared/dissect-image.c:519:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 519 | m = new(DissectedImage, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dissect-image.c:519:17: note: earlier argument should specify number of elements, later size of each element 519 | m = new(DissectedImage, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dissect-image.c: In function 'build_auxiliary_path': ../src/shared/dissect-image.c:2960:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2960 | n = new(char, e - image + strlen(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dissect-image.c:2960:17: note: earlier argument should specify number of elements, later size of each element 2960 | n = new(char, e - image + strlen(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dissect-image.c: In function 'dissected_image_load_verity_sig_partition': ../src/shared/dissect-image.c:3203:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3203 | buf = new(char, p->size+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/dissect-image.c:3203:19: note: earlier argument should specify number of elements, later size of each element 3203 | buf = new(char, p->size+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/architecture.h:6, from ../src/shared/dissect-image.c:24: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [255/452] Compiling C object src/shared/libsystemd-shared-254.a.p/env-file-label.c.o [256/452] Compiling C object src/shared/libsystemd-shared-254.a.p/elf-util.c.o [257/452] Compiling C object src/shared/libsystemd-shared-254.a.p/enable-mempool.c.o [258/452] Compiling C object src/shared/libsystemd-shared-254.a.p/exit-status.c.o [259/452] Compiling C object src/shared/libsystemd-shared-254.a.p/exec-util.c.o [260/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ethtool-util.c.o In file included from ../src/shared/conf-parser.h:11, from ../src/shared/ethtool-util.c:9: ../src/shared/ethtool-util.c: In function 'get_glinksettings': ../src/shared/ethtool-util.c:703:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 703 | u = new(struct ethtool_link_usettings, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/ethtool-util.c:703:17: note: earlier argument should specify number of elements, later size of each element 703 | u = new(struct ethtool_link_usettings, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/ethtool-util.c: In function 'get_gset': ../src/shared/ethtool-util.c:740:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 740 | e = new(struct ethtool_link_usettings, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/ethtool-util.c:740:17: note: earlier argument should specify number of elements, later size of each element 740 | e = new(struct ethtool_link_usettings, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/shared/ethtool-util.c: In function 'ethtool_set_features': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'features' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/ethtool-util.c:609:9: note: in expansion of macro 'assert' 609 | assert(features); | ^~~~~~ ../src/shared/ethtool-util.c: In function 'ethtool_set_glinksettings': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'advertise' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/ethtool-util.c:844:9: note: in expansion of macro 'assert' 844 | assert(advertise); | ^~~~~~ [261/452] Compiling C object src/shared/libsystemd-shared-254.a.p/fdset.c.o In file included from ../src/shared/fdset.c:9: ../src/shared/fdset.c: In function 'fdset_to_array': ../src/shared/fdset.c:256:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 256 | a = new(int, m); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/fdset.c:256:17: note: earlier argument should specify number of elements, later size of each element 256 | a = new(int, m); | ^~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [262/452] Compiling C object src/shared/libsystemd-shared-254.a.p/fileio-label.c.o [263/452] Compiling C object src/shared/libsystemd-shared-254.a.p/extension-util.c.o [264/452] Compiling C object src/shared/libsystemd-shared-254.a.p/firewall-util.c.o In file included from ../src/shared/firewall-util.c:7: ../src/shared/firewall-util.c: In function 'fw_ctx_new': ../src/shared/firewall-util.c:47:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 47 | ctx = new(FirewallContext, 1); | ^~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/firewall-util.c:47:19: note: earlier argument should specify number of elements, later size of each element 47 | ctx = new(FirewallContext, 1); | ^~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [265/452] Compiling C object src/shared/libsystemd-shared-254.a.p/firewall-util-nft.c.o [266/452] Compiling C object src/shared/libsystemd-shared-254.a.p/fstab-util.c.o In file included from ../src/shared/fstab-util.c:7: ../src/shared/fstab-util.c: In function 'tag_to_udev_node': ../src/shared/fstab-util.c:296:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 296 | t = new(char, enc_len); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/fstab-util.c:296:17: note: earlier argument should specify number of elements, later size of each element 296 | t = new(char, enc_len); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [267/452] Compiling C object src/shared/libsystemd-shared-254.a.p/find-esp.c.o [268/452] Compiling C object src/shared/libsystemd-shared-254.a.p/format-table.c.o In file included from ../src/shared/format-table.c:9: ../src/shared/format-table.c: In function 'table_new_raw': ../src/shared/format-table.c:166:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 166 | t = new(Table, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:166:17: note: earlier argument should specify number of elements, later size of each element 166 | t = new(Table, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c: In function 'table_data_format': ../src/shared/format-table.c:1507:44: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1507 | d->formatted = new(char, strlen(s) + (d->type == TABLE_FIELD) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1507:44: note: earlier argument should specify number of elements, later size of each element 1507 | d->formatted = new(char, strlen(s) + (d->type == TABLE_FIELD) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1576:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1576 | p = new(char, | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1576:25: note: earlier argument should specify number of elements, later size of each element 1576 | p = new(char, | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1608:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1608 | p = new(char, FORMAT_TIMESPAN_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1608:25: note: earlier argument should specify number of elements, later size of each element 1608 | p = new(char, FORMAT_TIMESPAN_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1624:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1624 | p = new(char, FORMAT_BYTES_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1624:25: note: earlier argument should specify number of elements, later size of each element 1624 | p = new(char, FORMAT_BYTES_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1639:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1639 | p = new(char, FORMAT_BYTES_MAX+2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1639:25: note: earlier argument should specify number of elements, later size of each element 1639 | p = new(char, FORMAT_BYTES_MAX+2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1656:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1656 | p = new(char, DECIMAL_STR_WIDTH(d->int_val) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1656:25: note: earlier argument should specify number of elements, later size of each element 1656 | p = new(char, DECIMAL_STR_WIDTH(d->int_val) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1668:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1668 | p = new(char, DECIMAL_STR_WIDTH(d->int8) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1668:25: note: earlier argument should specify number of elements, later size of each element 1668 | p = new(char, DECIMAL_STR_WIDTH(d->int8) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1680:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1680 | p = new(char, DECIMAL_STR_WIDTH(d->int16) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1680:25: note: earlier argument should specify number of elements, later size of each element 1680 | p = new(char, DECIMAL_STR_WIDTH(d->int16) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1692:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1692 | p = new(char, DECIMAL_STR_WIDTH(d->int32) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1692:25: note: earlier argument should specify number of elements, later size of each element 1692 | p = new(char, DECIMAL_STR_WIDTH(d->int32) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1704:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1704 | p = new(char, DECIMAL_STR_WIDTH(d->int64) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1704:25: note: earlier argument should specify number of elements, later size of each element 1704 | p = new(char, DECIMAL_STR_WIDTH(d->int64) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1716:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1716 | p = new(char, DECIMAL_STR_WIDTH(d->uint_val) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1716:25: note: earlier argument should specify number of elements, later size of each element 1716 | p = new(char, DECIMAL_STR_WIDTH(d->uint_val) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1728:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1728 | p = new(char, DECIMAL_STR_WIDTH(d->uint8) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1728:25: note: earlier argument should specify number of elements, later size of each element 1728 | p = new(char, DECIMAL_STR_WIDTH(d->uint8) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1740:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1740 | p = new(char, DECIMAL_STR_WIDTH(d->uint16) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1740:25: note: earlier argument should specify number of elements, later size of each element 1740 | p = new(char, DECIMAL_STR_WIDTH(d->uint16) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1752:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1752 | p = new(char, DECIMAL_STR_WIDTH(d->uint32) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1752:25: note: earlier argument should specify number of elements, later size of each element 1752 | p = new(char, DECIMAL_STR_WIDTH(d->uint32) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1764:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1764 | p = new(char, DECIMAL_STR_WIDTH(d->uint64) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1764:25: note: earlier argument should specify number of elements, later size of each element 1764 | p = new(char, DECIMAL_STR_WIDTH(d->uint64) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1776:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1776 | p = new(char, 16 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1776:25: note: earlier argument should specify number of elements, later size of each element 1776 | p = new(char, 16 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1788:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1788 | p = new(char, DECIMAL_STR_WIDTH(d->percent) + 2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1788:25: note: earlier argument should specify number of elements, later size of each element 1788 | p = new(char, DECIMAL_STR_WIDTH(d->percent) + 2); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1822:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1822 | p = new(char, SD_ID128_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1822:25: note: earlier argument should specify number of elements, later size of each element 1822 | p = new(char, SD_ID128_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1833:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1833 | p = new(char, SD_ID128_UUID_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1833:25: note: earlier argument should specify number of elements, later size of each element 1833 | p = new(char, SD_ID128_UUID_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1847:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1847 | p = new(char, DECIMAL_STR_WIDTH(d->uid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1847:25: note: earlier argument should specify number of elements, later size of each element 1847 | p = new(char, DECIMAL_STR_WIDTH(d->uid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1862:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1862 | p = new(char, DECIMAL_STR_WIDTH(d->gid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1862:25: note: earlier argument should specify number of elements, later size of each element 1862 | p = new(char, DECIMAL_STR_WIDTH(d->gid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1877:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1877 | p = new(char, DECIMAL_STR_WIDTH(d->pid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1877:25: note: earlier argument should specify number of elements, later size of each element 1877 | p = new(char, DECIMAL_STR_WIDTH(d->pid) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1908:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1908 | p = new(char, 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:1908:25: note: earlier argument should specify number of elements, later size of each element 1908 | p = new(char, 4 + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c: In function 'align_string_mem': ../src/shared/format-table.c:2080:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2080 | ret = new(char, space + clickable_length + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:2080:19: note: earlier argument should specify number of elements, later size of each element 2080 | ret = new(char, space + clickable_length + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c: In function 'table_print': ../src/shared/format-table.c:2160:30: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2160 | sorted = new(size_t, n_rows); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:2160:30: note: earlier argument should specify number of elements, later size of each element 2160 | sorted = new(size_t, n_rows); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c: In function 'table_to_json_regular': ../src/shared/format-table.c:2830:30: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2830 | sorted = new(size_t, n_rows); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/format-table.c:2830:30: note: earlier argument should specify number of elements, later size of each element 2830 | sorted = new(size_t, n_rows); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [269/452] Compiling C object src/shared/libsystemd-shared-254.a.p/generator.c.o [270/452] Compiling C object src/shared/libsystemd-shared-254.a.p/gpt.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/architecture.h:6, from ../src/shared/gpt.h:7, from ../src/shared/gpt.c:3: ../src/shared/gpt.c: In function 'gpt_partition_type_uuid_to_string_harder': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buffer' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/shared/gpt.c:216:9: note: in expansion of macro 'assert' 216 | assert(buffer); | ^~~~~~ [271/452] Compiling C object src/shared/libsystemd-shared-254.a.p/geneve-util.c.o [272/452] Compiling C object src/shared/libsystemd-shared-254.a.p/id128-print.c.o [273/452] Compiling C object src/shared/libsystemd-shared-254.a.p/hostname-setup.c.o [274/452] Compiling C object src/shared/libsystemd-shared-254.a.p/group-record.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/ether-addr-util.h:8, from ../src/shared/json.h:12, from ../src/shared/group-record.h:4, from ../src/shared/group-record.c:3: ../src/shared/group-record.c: In function 'group_record_new': ../src/shared/group-record.c:11:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 11 | h = new(GroupRecord, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/group-record.c:11:17: note: earlier argument should specify number of elements, later size of each element 11 | h = new(GroupRecord, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [275/452] Compiling C object src/shared/libsystemd-shared-254.a.p/hwdb-util.c.o In file included from ../src/shared/hwdb-util.c:7: ../src/shared/hwdb-util.c: In function 'trie_insert': ../src/shared/hwdb-util.c:208:41: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 208 | new_child = new(struct trie_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/hwdb-util.c:208:41: note: earlier argument should specify number of elements, later size of each element 208 | new_child = new(struct trie_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/hwdb-util.c:252:41: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 252 | new_child = new(struct trie_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/hwdb-util.c:252:41: note: earlier argument should specify number of elements, later size of each element 252 | new_child = new(struct trie_node, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/hwdb-util.c: In function 'trie_store_nodes': ../src/shared/hwdb-util.c:306:32: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 306 | children = new(struct trie_child_entry_f, node->children_count); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/hwdb-util.c:306:32: note: earlier argument should specify number of elements, later size of each element 306 | children = new(struct trie_child_entry_f, node->children_count); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [276/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ima-util.c.o [277/452] Compiling C object src/shared/libsystemd-shared-254.a.p/idn-util.c.o [278/452] Compiling C object src/shared/libsystemd-shared-254.a.p/in-addr-prefix-util.c.o In file included from ../src/shared/in-addr-prefix-util.c:3: ../src/shared/in-addr-prefix-util.c: In function 'in_addr_prefix_add': ../src/shared/in-addr-prefix-util.c:94:23: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 94 | copy = newdup(struct in_addr_prefix, prefix, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/in-addr-prefix-util.c:94:23: note: earlier argument should specify number of elements, later size of each element 94 | copy = newdup(struct in_addr_prefix, prefix, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [279/452] Compiling C object src/shared/libsystemd-shared-254.a.p/image-policy.c.o [280/452] Compiling C object src/shared/libsystemd-shared-254.a.p/import-util.c.o In file included from ../src/shared/import-util.c:5: ../src/shared/import-util.c: In function 'import_url_change_suffix': ../src/shared/import-util.c:120:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 120 | s = new(char, (e - url) + 1 + strlen_ptr(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/import-util.c:120:17: note: earlier argument should specify number of elements, later size of each element 120 | s = new(char, (e - url) + 1 + strlen_ptr(suffix) + 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [281/452] Compiling C object src/shared/libsystemd-shared-254.a.p/install-printf.c.o [282/452] Compiling C object src/shared/libsystemd-shared-254.a.p/install-file.c.o [283/452] Compiling C object src/shared/libsystemd-shared-254.a.p/install.c.o In file included from ../src/shared/install.c:12: ../src/shared/install.c: In function 'install_info_add': ../src/shared/install.c:1174:64: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1174 | _cleanup_(install_info_freep) InstallInfo *alloc = new(InstallInfo, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/install.c:1174:64: note: earlier argument should specify number of elements, later size of each element 1174 | _cleanup_(install_info_freep) InstallInfo *alloc = new(InstallInfo, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [284/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ip-protocol-list.c.o [285/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ipvlan-util.c.o [286/452] Compiling C object src/shared/libsystemd-shared-254.a.p/journal-importer.c.o [287/452] Compiling C object src/shared/libsystemd-shared-254.a.p/kbd-util.c.o [288/452] Compiling C object src/shared/libsystemd-shared-254.a.p/journal-util.c.o [289/452] Compiling C object src/shared/libsystemd-shared-254.a.p/kernel-image.c.o ../src/shared/kernel-image.c:14:42: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (3 chars into 2 available) [-Wunterminated-string-initialization] 14 | static const uint8_t dos_file_magic[2] = "MZ"; | ^~~~ ../src/shared/kernel-image.c:15:41: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 15 | static const uint8_t pe_file_magic[4] = "PE\0\0"; | ^~~~~~~~ ../src/shared/kernel-image.c:20:40: warning: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (9 chars into 8 available) [-Wunterminated-string-initialization] 20 | static const uint8_t name_cmdline[8] = ".cmdline"; | ^~~~~~~~~~ In file included from ../src/basic/string-util.h:8, from ../src/basic/string-table.h:12, from ../src/shared/kernel-image.c:10: ../src/shared/kernel-image.c: In function 'pe_sections': ../src/shared/kernel-image.c:69:24: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 69 | sections = new(struct PeSectionHeader, scount); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/kernel-image.c:69:24: note: earlier argument should specify number of elements, later size of each element 69 | sections = new(struct PeSectionHeader, scount); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [290/452] Compiling C object src/shared/libsystemd-shared-254.a.p/keyring-util.c.o In file included from ../src/basic/memory-util.h:10, from ../src/shared/keyring-util.c:4: ../src/shared/keyring-util.c: In function 'keyring_read': ../src/shared/keyring-util.c:14:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 14 | p = new(uint8_t, m+1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/keyring-util.c:14:25: note: earlier argument should specify number of elements, later size of each element 14 | p = new(uint8_t, m+1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [291/452] Compiling C object src/shared/libsystemd-shared-254.a.p/label-util.c.o [292/452] Compiling C object src/shared/libsystemd-shared-254.a.p/json.c.o In file included from ../src/shared/json.c:11: ../src/shared/json.c: In function 'json_variant_new_array': ../src/shared/json.c:588:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 588 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:588:17: note: earlier argument should specify number of elements, later size of each element 588 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_new_array_bytes': ../src/shared/json.c:616:30: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 616 | JsonVariant *v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:616:30: note: earlier argument should specify number of elements, later size of each element 616 | JsonVariant *v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_new_array_strv': ../src/shared/json.c:657:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 657 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:657:17: note: earlier argument should specify number of elements, later size of each element 657 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_new_object': ../src/shared/json.c:714:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 714 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:714:17: note: earlier argument should specify number of elements, later size of each element 714 | v = new(JsonVariant, n + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_filter': ../src/shared/json.c:1864:45: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1864 | array = new(JsonVariant*, json_variant_elements(*v) - 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1864:45: note: earlier argument should specify number of elements, later size of each element 1864 | array = new(JsonVariant*, json_variant_elements(*v) - 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_set_field': ../src/shared/json.c:1902:29: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1902 | array = new(JsonVariant*, 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1902:29: note: earlier argument should specify number of elements, later size of each element 1902 | array = new(JsonVariant*, 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1920:53: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1920 | array = new(JsonVariant*, json_variant_elements(*v)); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1920:53: note: earlier argument should specify number of elements, later size of each element 1920 | array = new(JsonVariant*, json_variant_elements(*v)); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1935:37: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1935 | array = new(JsonVariant*, json_variant_elements(*v) + 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:1935:37: note: earlier argument should specify number of elements, later size of each element 1935 | array = new(JsonVariant*, json_variant_elements(*v) + 2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_merge': ../src/shared/json.c:2046:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2046 | array = new(JsonVariant*, v_elements + m_elements); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:2046:21: note: earlier argument should specify number of elements, later size of each element 2046 | array = new(JsonVariant*, v_elements + m_elements); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_append_array': ../src/shared/json.c:2124:58: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2124 | _cleanup_free_ JsonVariant **array = new(JsonVariant*, size + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:2124:58: note: earlier argument should specify number of elements, later size of each element 2124 | _cleanup_free_ JsonVariant **array = new(JsonVariant*, size + 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_strv': ../src/shared/json.c:2187:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2187 | l = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:2187:17: note: earlier argument should specify number of elements, later size of each element 2187 | l = new(char*, n+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_sort': ../src/shared/json.c:4760:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 4760 | a = new(JsonVariant*, m); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:4760:17: note: earlier argument should specify number of elements, later size of each element 4760 | a = new(JsonVariant*, m); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c: In function 'json_variant_normalize': ../src/shared/json.c:4800:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 4800 | a = new(JsonVariant*, m); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/json.c:4800:17: note: earlier argument should specify number of elements, later size of each element 4800 | a = new(JsonVariant*, m); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [293/452] Compiling C object src/shared/libsystemd-shared-254.a.p/killall.c.o [294/452] Compiling C object src/shared/libsystemd-shared-254.a.p/libcrypt-util.c.o [295/452] Compiling C object src/shared/libsystemd-shared-254.a.p/libfido2-util.c.o [296/452] Compiling C object src/shared/libsystemd-shared-254.a.p/libmount-util.c.o [297/452] Compiling C object src/shared/libsystemd-shared-254.a.p/locale-setup.c.o [298/452] Compiling C object src/shared/libsystemd-shared-254.a.p/logs-show.c.o In file included from ../src/shared/logs-show.c:15: ../src/shared/logs-show.c: In function 'output_json': ../src/shared/logs-show.c:1147:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1147 | array = new(JsonVariant*, hashmap_size(h)*2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/logs-show.c:1147:21: note: earlier argument should specify number of elements, later size of each element 1147 | array = new(JsonVariant*, hashmap_size(h)*2); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [299/452] Compiling C object src/shared/libsystemd-shared-254.a.p/local-addresses.c.o [300/452] Compiling C object src/shared/libsystemd-shared-254.a.p/lsm-util.c.o [301/452] Compiling C object src/shared/libsystemd-shared-254.a.p/loopback-setup.c.o [302/452] Compiling C object src/shared/libsystemd-shared-254.a.p/mkdir-label.c.o [303/452] Compiling C object src/shared/libsystemd-shared-254.a.p/loop-util.c.o In file included from ../src/shared/loop-util.c:18: ../src/shared/loop-util.c: In function 'loop_configure': ../src/shared/loop-util.c:400:29: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 400 | LoopDevice *d = new(LoopDevice, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/loop-util.c:400:29: note: earlier argument should specify number of elements, later size of each element 400 | LoopDevice *d = new(LoopDevice, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/loop-util.c: In function 'loop_device_open': ../src/shared/loop-util.c:934:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 934 | d = new(LoopDevice, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/loop-util.c:934:17: note: earlier argument should specify number of elements, later size of each element 934 | d = new(LoopDevice, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [304/452] Compiling C object src/shared/libsystemd-shared-254.a.p/macvlan-util.c.o [305/452] Compiling C object src/shared/libsystemd-shared-254.a.p/machine-id-setup.c.o [306/452] Compiling C object src/shared/libsystemd-shared-254.a.p/machine-pool.c.o [307/452] Compiling C object src/shared/libsystemd-shared-254.a.p/mkfs-util.c.o [308/452] Compiling C object src/shared/libsystemd-shared-254.a.p/mount-setup.c.o [309/452] Compiling C object src/shared/libsystemd-shared-254.a.p/netif-naming-scheme.c.o [310/452] Compiling C object src/shared/libsystemd-shared-254.a.p/mount-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/shared/mount-util.c:14: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [311/452] Compiling C object src/shared/libsystemd-shared-254.a.p/netif-sriov.c.o In file included from ../src/shared/netif-sriov.c:3: ../src/shared/netif-sriov.c: In function 'sr_iov_new': ../src/shared/netif-sriov.c:17:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 17 | sr_iov = new(SRIOV, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/netif-sriov.c:17:22: note: earlier argument should specify number of elements, later size of each element 17 | sr_iov = new(SRIOV, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [312/452] Compiling C object src/shared/libsystemd-shared-254.a.p/nsflags.c.o [313/452] Compiling C object src/shared/libsystemd-shared-254.a.p/net-condition.c.o [314/452] Compiling C object src/shared/libsystemd-shared-254.a.p/netif-util.c.o [315/452] Compiling C object src/shared/libsystemd-shared-254.a.p/numa-util.c.o [316/452] Compiling C object src/shared/libsystemd-shared-254.a.p/open-file.c.o [317/452] Compiling C object src/shared/libsystemd-shared-254.a.p/output-mode.c.o [318/452] Compiling C object src/shared/libsystemd-shared-254.a.p/parse-argument.c.o [319/452] Compiling C object src/shared/libsystemd-shared-254.a.p/parse-helpers.c.o [320/452] Compiling C object src/shared/libsystemd-shared-254.a.p/pager.c.o [321/452] Compiling C object src/shared/libsystemd-shared-254.a.p/password-quality-util-passwdqc.c.o [322/452] Compiling C object src/shared/libsystemd-shared-254.a.p/password-quality-util-pwquality.c.o [323/452] Compiling C object src/shared/libsystemd-shared-254.a.p/openssl-util.c.o [324/452] Compiling C object src/shared/libsystemd-shared-254.a.p/pcre2-util.c.o [325/452] Compiling C object src/shared/libsystemd-shared-254.a.p/qrcode-util.c.o [326/452] Compiling C object src/shared/libsystemd-shared-254.a.p/quota-util.c.o [327/452] Compiling C object src/shared/libsystemd-shared-254.a.p/pretty-print.c.o [328/452] Compiling C object src/shared/libsystemd-shared-254.a.p/ptyfwd.c.o In file included from ../src/shared/ptyfwd.c:19: ../src/shared/ptyfwd.c: In function 'pty_forward_new': ../src/shared/ptyfwd.c:409:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 409 | f = new(PTYForward, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/ptyfwd.c:409:17: note: earlier argument should specify number of elements, later size of each element 409 | f = new(PTYForward, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [329/452] Compiling C object src/shared/libsystemd-shared-254.a.p/recovery-key.c.o In file included from ../src/basic/memory-util.h:10, from ../src/shared/recovery-key.c:3: ../src/shared/recovery-key.c: In function 'normalize_recovery_key': ../src/shared/recovery-key.c:34:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 34 | mangled = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/recovery-key.c:34:23: note: earlier argument should specify number of elements, later size of each element 34 | mangled = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/recovery-key.c: In function 'make_recovery_key': ../src/shared/recovery-key.c:82:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 82 | key = new(uint8_t, RECOVERY_KEY_MODHEX_RAW_LENGTH); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/recovery-key.c:82:19: note: earlier argument should specify number of elements, later size of each element 82 | key = new(uint8_t, RECOVERY_KEY_MODHEX_RAW_LENGTH); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/recovery-key.c:91:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 91 | formatted = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/recovery-key.c:91:25: note: earlier argument should specify number of elements, later size of each element 91 | formatted = new(char, RECOVERY_KEY_MODHEX_FORMATTED_LENGTH); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [330/452] Compiling C object src/shared/libsystemd-shared-254.a.p/reboot-util.c.o [331/452] Compiling C object src/shared/libsystemd-shared-254.a.p/resize-fs.c.o [332/452] Compiling C object src/shared/libsystemd-shared-254.a.p/pkcs11-util.c.o [333/452] Compiling C object src/shared/libsystemd-shared-254.a.p/selinux-util.c.o [334/452] Compiling C object src/shared/libsystemd-shared-254.a.p/resolve-util.c.o [335/452] Compiling C object src/shared/libsystemd-shared-254.a.p/securebits-util.c.o [336/452] Compiling C object src/shared/libsystemd-shared-254.a.p/rm-rf.c.o [337/452] Compiling C object src/shared/libsystemd-shared-254.a.p/serialize.c.o [338/452] Compiling C object src/shared/libsystemd-shared-254.a.p/socket-label.c.o [339/452] Compiling C object src/shared/libsystemd-shared-254.a.p/service-util.c.o [340/452] Compiling C object src/shared/libsystemd-shared-254.a.p/socket-netlink.c.o In file included from ../src/shared/socket-netlink.c:8: ../src/shared/socket-netlink.c: In function 'in_addr_full_new': ../src/shared/socket-netlink.c:365:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 365 | x = new(struct in_addr_full, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/socket-netlink.c:365:17: note: earlier argument should specify number of elements, later size of each element 365 | x = new(struct in_addr_full, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [341/452] Compiling C object src/shared/libsystemd-shared-254.a.p/smack-util.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10, from ../src/shared/smack-util.c:14: ../src/basic/fd-util.h: In function 'format_proc_fd_path': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/basic/fd-util.h:117:9: note: in expansion of macro 'assert' 117 | assert(buf); | ^~~~~~ [342/452] Compiling C object src/shared/libsystemd-shared-254.a.p/sleep-util.c.o In file included from ../src/shared/sleep-util.c:20: ../src/shared/sleep-util.c: In function 'parse_sleep_config': ../src/shared/sleep-util.c:68:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 68 | sc = new(SleepConfig, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/sleep-util.c:68:18: note: earlier argument should specify number of elements, later size of each element 68 | sc = new(SleepConfig, 1); | ^~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/sleep-util.c: In function 'find_hibernate_location': ../src/shared/sleep-util.c:774:28: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 774 | swap = new(SwapEntry, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/sleep-util.c:774:28: note: earlier argument should specify number of elements, later size of each element 774 | swap = new(SwapEntry, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/sleep-util.c:847:42: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 847 | hibernate_location = new(HibernateLocation, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/sleep-util.c:847:42: note: earlier argument should specify number of elements, later size of each element 847 | hibernate_location = new(HibernateLocation, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [343/452] Compiling C object src/shared/libsystemd-shared-254.a.p/spawn-ask-password-agent.c.o [344/452] Compiling C object src/shared/libsystemd-shared-254.a.p/spawn-polkit-agent.c.o [345/452] Compiling C object src/shared/libsystemd-shared-254.a.p/tmpfile-util-label.c.o [346/452] Compiling C object src/shared/libsystemd-shared-254.a.p/tomoyo-util.c.o [347/452] Compiling C object src/shared/libsystemd-shared-254.a.p/specifier.c.o In file included from ../src/shared/specifier.c:11: ../src/shared/specifier.c: In function 'specifier_id128': ../src/shared/specifier.c:158:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 158 | n = new(char, SD_ID128_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/specifier.c:158:17: note: earlier argument should specify number of elements, later size of each element 158 | n = new(char, SD_ID128_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/specifier.c: In function 'specifier_uuid': ../src/shared/specifier.c:170:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 170 | n = new(char, SD_ID128_UUID_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/specifier.c:170:17: note: earlier argument should specify number of elements, later size of each element 170 | n = new(char, SD_ID128_UUID_STRING_MAX); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/specifier.c: In function 'specifier_escape_strv': ../src/shared/specifier.c:477:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 477 | z = new(char*, strv_length(l)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/specifier.c:477:17: note: earlier argument should specify number of elements, later size of each element 477 | z = new(char*, strv_length(l)+1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [348/452] Compiling C object src/shared/libsystemd-shared-254.a.p/user-record-nss.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/hashmap.h:8, from ../src/basic/set.h:5, from ../src/basic/cgroup-util.h:13, from ../src/basic/format-util.h:8, from ../src/shared/user-record-nss.c:4: ../src/shared/user-record-nss.c: In function 'strv_extend_strv_utf8_only': ../src/shared/user-record-nss.c:24:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 24 | t = new(char*, l + 1); | ^~~~ ../src/shared/user-record-nss.c:24:13: note: in expansion of macro 'new' 24 | t = new(char*, l + 1); | ^~~ ../src/shared/user-record-nss.c:24:17: note: earlier argument should specify number of elements, later size of each element 24 | t = new(char*, l + 1); | ^~~~ ../src/shared/user-record-nss.c:24:13: note: in expansion of macro 'new' 24 | t = new(char*, l + 1); | ^~~ [349/452] Compiling C object src/shared/libsystemd-shared-254.a.p/switch-root.c.o [350/452] Compiling C object src/shared/libsystemd-shared-254.a.p/udev-util.c.o [351/452] Compiling C object src/shared/libsystemd-shared-254.a.p/user-record-show.c.o [352/452] Compiling C object src/shared/libsystemd-shared-254.a.p/tpm2-util.c.o [353/452] Compiling C object src/shared/libsystemd-shared-254.a.p/userdb-dropin.c.o [354/452] Compiling C object src/shared/libsystemd-shared-254.a.p/userdb.c.o In file included from ../src/basic/string-util.h:8, from ../src/basic/siphash24.h:10, from ../src/basic/stat-util.h:14, from ../src/basic/path-util.h:9, from ../src/basic/dirent-util.h:9, from ../src/shared/userdb.c:6: ../src/shared/userdb.c: In function 'userdb_iterator_new': ../src/shared/userdb.c:110:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 110 | i = new(UserDBIterator, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/userdb.c:110:17: note: earlier argument should specify number of elements, later size of each element 110 | i = new(UserDBIterator, 1); | ^~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [355/452] Compiling C object src/shared/libsystemd-shared-254.a.p/verb-log-control.c.o [356/452] Compiling C object src/shared/libsystemd-shared-254.a.p/verbs.c.o [357/452] Compiling C object src/shared/libsystemd-shared-254.a.p/user-record.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/basic/hashmap.h:8, from ../src/basic/set.h:5, from ../src/basic/cgroup-util.h:13, from ../src/shared/user-record.c:6: ../src/shared/user-record.c: In function 'user_record_new': ../src/shared/user-record.c:29:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 29 | h = new(UserRecord, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/user-record.c:29:17: note: earlier argument should specify number of elements, later size of each element 29 | h = new(UserRecord, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/user-record.c: In function 'json_dispatch_rlimits': ../src/shared/user-record.c:353:44: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 353 | limits[l] = newdup(struct rlimit, &rl, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/user-record.c:353:44: note: earlier argument should specify number of elements, later size of each element 353 | limits[l] = newdup(struct rlimit, &rl, 1); | ^~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [358/452] Compiling C object src/shared/libsystemd-shared-254.a.p/volatile-util.c.o [359/452] Compiling C object src/shared/libsystemd-shared-254.a.p/varlink.c.o In file included from ../src/shared/varlink.c:6: ../src/shared/varlink.c: In function 'varlink_new': ../src/shared/varlink.c:324:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 324 | v = new(Varlink, 1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:324:17: note: earlier argument should specify number of elements, later size of each element 324 | v = new(Varlink, 1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_read': ../src/shared/varlink.c:674:33: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 674 | b = new(char, v->input_buffer_size + add); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:674:33: note: earlier argument should specify number of elements, later size of each element 674 | b = new(char, v->input_buffer_size + add); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_format_json': ../src/shared/varlink.c:1477:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1477 | n = new(char, new_size); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:1477:25: note: earlier argument should specify number of elements, later size of each element 1477 | n = new(char, new_size); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_format_queue': ../src/shared/varlink.c:1535:40: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1535 | array = newdup(int, q->fds, q->n_fds); | ^~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/varlink.c:1535:40: note: earlier argument should specify number of elements, later size of each element 1535 | array = newdup(int, q->fds, q->n_fds); | ^~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_server_new': ../src/shared/varlink.c:2448:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2448 | s = new(VarlinkServer, 1); | ^~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:2448:17: note: earlier argument should specify number of elements, later size of each element 2448 | s = new(VarlinkServer, 1); | ^~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_server_create_listen_fd_socket': ../src/shared/varlink.c:2682:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2682 | ss = new(VarlinkServerSocket, 1); | ^~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:2682:18: note: earlier argument should specify number of elements, later size of each element 2682 | ss = new(VarlinkServerSocket, 1); | ^~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c: In function 'varlink_server_deserialize_one': ../src/shared/varlink.c:3067:18: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3067 | ss = new(VarlinkServerSocket, 1); | ^~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/varlink.c:3067:18: note: earlier argument should specify number of elements, later size of each element 3067 | ss = new(VarlinkServerSocket, 1); | ^~~~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [360/452] Compiling C object src/shared/libsystemd-shared-254.a.p/vlan-util.c.o [361/452] Compiling C object src/shared/libsystemd-shared-254.a.p/xml.c.o [362/452] Compiling C object src/shared/libsystemd-shared-254.a.p/web-util.c.o [363/452] Compiling C object src/shared/libsystemd-shared-254.a.p/wifi-util.c.o [364/452] Compiling C object src/shared/libsystemd-shared-254.a.p/watchdog.c.o [365/452] Compiling C object src/shared/libsystemd-shared-254.a.p/tests.c.o [366/452] Compiling C object src/shared/libsystemd-shared-254.a.p/devnode-acl.c.o [367/452] Compiling C object src/shared/libsystemd-shared-254.a.p/utmp-wtmp.c.o [368/452] Compiling C object src/shared/libsystemd-shared-254.a.p/firewall-util-iptables.c.o [369/452] Compiling C object src/shared/libsystemd-shared-254.a.p/module-util.c.o [370/452] Compiling C object src/shared/libsystemd-shared-254.a.p/pam-util.c.o In file included from ../src/shared/pam-util.c:7: ../src/shared/pam-util.c: In function 'pam_acquire_bus_connection': ../src/shared/pam-util.c:155:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 155 | d = new(PamBusData, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/shared/pam-util.c:155:17: note: earlier argument should specify number of elements, later size of each element 155 | d = new(PamBusData, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [371/452] Compiling C object src/shared/libsystemd-shared-254.a.p/nscd-flush.c.o [372/452] Compiling C object src/udev/libudev-core.a.p/meson-generated_.._link-config-gperf.c.o [373/452] Compiling C object src/udev/libudev-core.a.p/udev-ctrl.c.o In file included from ../src/udev/udev-ctrl.c:13: ../src/udev/udev-ctrl.c: In function 'udev_ctrl_new_from_fd': ../src/udev/udev-ctrl.c:60:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 60 | uctrl = new(UdevCtrl, 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-ctrl.c:60:21: note: earlier argument should specify number of elements, later size of each element 60 | uctrl = new(UdevCtrl, 1); | ^~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [374/452] Compiling C object src/udev/libudev-core.a.p/udev-node.c.o [375/452] Compiling C object src/udev/libudev-core.a.p/udev-watch.c.o [376/452] Compiling C object src/udev/libudev-core.a.p/udev-event.c.o In file included from ../src/udev/udev-event.c:14: ../src/udev/udev-event.c: In function 'udev_event_new': ../src/udev/udev-event.c:60:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 60 | event = new(UdevEvent, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-event.c:60:21: note: earlier argument should specify number of elements, later size of each element 60 | event = new(UdevEvent, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/udev/udev-event.c: In function 'get_subst_type': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'ret_attr' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/udev/udev-event.c:164:9: note: in expansion of macro 'assert' 164 | assert(ret_attr); | ^~~~~~ [377/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin.c.o [378/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-hwdb.c.o [379/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-btrfs.c.o [380/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-input_id.c.o [381/452] Compiling C object src/udev/libudev-core.a.p/udev-rules.c.o In file included from ../src/udev/udev-rules.c:5: ../src/udev/udev-rules.c: In function 'rule_line_add_token': ../src/udev/udev-rules.c:559:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 559 | token = new(UdevRuleToken, 1); | ^~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c:559:21: note: earlier argument should specify number of elements, later size of each element 559 | token = new(UdevRuleToken, 1); | ^~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c: In function 'rule_add_line': ../src/udev/udev-rules.c:1219:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1219 | rule_line = new(UdevRuleLine, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c:1219:25: note: earlier argument should specify number of elements, later size of each element 1219 | rule_line = new(UdevRuleLine, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c: In function 'udev_rules_parse_file': ../src/udev/udev-rules.c:1489:25: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1489 | rule_file = new(UdevRuleFile, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c:1489:25: note: earlier argument should specify number of elements, later size of each element 1489 | rule_file = new(UdevRuleFile, 1); | ^~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c: In function 'udev_rules_new': ../src/udev/udev-rules.c:1582:32: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1582 | UdevRules *rules = new(UdevRules, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udev-rules.c:1582:32: note: earlier argument should specify number of elements, later size of each element 1582 | UdevRules *rules = new(UdevRules, 1); | ^~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ In file included from ../src/basic/macro.h:13, from ../src/basic/alloc-util.h:10: ../src/udev/udev-rules.c: In function 'attr_subst_subdir': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'attr' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/udev/udev-rules.c:1813:9: note: in expansion of macro 'assert' 1813 | assert(attr); | ^~~~~~ [382/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-keyboard.c.o [383/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-net_setup_link.c.o [384/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-net_id.c.o [385/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-usb_id.c.o [386/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-path_id.c.o [387/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-uaccess.c.o [388/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-kmod.c.o [389/452] Compiling C object src/udev/libudev-core.a.p/net_link-config.c.o In file included from ../src/udev/net/link-config.c:10: ../src/udev/net/link-config.c: In function 'link_config_ctx_new': ../src/udev/net/link-config.c:96:19: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 96 | ctx = new(LinkConfigContext, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c:96:19: note: earlier argument should specify number of elements, later size of each element 96 | ctx = new(LinkConfigContext, 1); | ^~~~~~~~~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c: In function 'link_parse_wol_password': ../src/udev/net/link-config.c:118:17: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 118 | p = new(uint8_t, SOPASS_MAX); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c:118:17: note: earlier argument should specify number of elements, later size of each element 118 | p = new(uint8_t, SOPASS_MAX); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c: In function 'link_load_one': ../src/udev/net/link-config.c:234:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 234 | config = new(LinkConfig, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c:234:22: note: earlier argument should specify number of elements, later size of each element 234 | config = new(LinkConfig, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c: In function 'link_new': ../src/udev/net/link-config.c:381:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 381 | link = new(Link, 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/net/link-config.c:381:20: note: earlier argument should specify number of elements, later size of each element 381 | link = new(Link, 1); | ^~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [390/452] Compiling C object src/udev/libudev-core.a.p/udev-builtin-blkid.c.o [391/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-device.c.o In file included from ../src/libudev/libudev-device.c:22: ../src/libudev/libudev-device.c: In function 'udev_device_new': ../src/libudev/libudev-device.c:224:27: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 224 | udev_device = new(struct udev_device, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-device.c:224:27: note: earlier argument should specify number of elements, later size of each element 224 | udev_device = new(struct udev_device, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [392/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-enumerate.c.o In file included from ../src/libudev/libudev-enumerate.c:16: ../src/libudev/libudev-enumerate.c: In function 'udev_enumerate_new': ../src/libudev/libudev-enumerate.c:70:30: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 70 | udev_enumerate = new(struct udev_enumerate, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-enumerate.c:70:30: note: earlier argument should specify number of elements, later size of each element 70 | udev_enumerate = new(struct udev_enumerate, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [393/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-hwdb.c.o In file included from ../src/libudev/libudev-hwdb.c:7: ../src/libudev/libudev-hwdb.c: In function 'udev_hwdb_new': ../src/libudev/libudev-hwdb.c:51:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 51 | hwdb = new(struct udev_hwdb, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-hwdb.c:51:20: note: earlier argument should specify number of elements, later size of each element 51 | hwdb = new(struct udev_hwdb, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [394/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-list.c.o In file included from ../src/libudev/libudev-list.c:3: ../src/libudev/libudev-list.c: In function 'udev_list_new': ../src/libudev/libudev-list.c:60:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 60 | list = new(struct udev_list, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-list.c:60:20: note: earlier argument should specify number of elements, later size of each element 60 | list = new(struct udev_list, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-list.c: In function 'udev_list_entry_add': ../src/libudev/libudev-list.c:88:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 88 | entry = new(struct udev_list_entry, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-list.c:88:21: note: earlier argument should specify number of elements, later size of each element 88 | entry = new(struct udev_list_entry, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-list.c: In function 'udev_list_get_entry': ../src/libudev/libudev-list.c:156:35: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 156 | buf = new(struct udev_list_entry *, n); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-list.c:156:35: note: earlier argument should specify number of elements, later size of each element 156 | buf = new(struct udev_list_entry *, n); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [395/452] Linking static target src/basic/libbasic-compress.a [396/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-util.c.o [397/452] Linking static target src/basic/libbasic.a [398/452] Linking static target src/libsystemd/libsystemd_static.a [399/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-monitor.c.o In file included from ../src/libudev/libudev-monitor.c:8: ../src/libudev/libudev-monitor.c: In function 'udev_monitor_new_from_netlink': ../src/libudev/libudev-monitor.c:80:28: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 80 | udev_monitor = new(struct udev_monitor, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-monitor.c:80:28: note: earlier argument should specify number of elements, later size of each element 80 | udev_monitor = new(struct udev_monitor, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [400/452] Compiling C object src/libudev/libudev-basic.a.p/libudev.c.o In file included from ../src/libudev/libudev.c:11: ../src/libudev/libudev.c: In function 'udev_new': ../src/libudev/libudev.c:72:20: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 72 | udev = new(struct udev, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev.c:72:20: note: earlier argument should specify number of elements, later size of each element 72 | udev = new(struct udev, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [401/452] Compiling C object src/libudev/libudev-basic.a.p/libudev-queue.c.o In file included from ../src/libudev/libudev-queue.c:11: ../src/libudev/libudev-queue.c: In function 'udev_queue_new': ../src/libudev/libudev-queue.c:46:26: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 46 | udev_queue = new(struct udev_queue, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/libudev/libudev-queue.c:46:26: note: earlier argument should specify number of elements, later size of each element 46 | udev_queue = new(struct udev_queue, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [402/452] Linking static target src/udev/libudev-core.a [403/452] Linking static target src/shared/libsystemd-shared-254.a [404/452] Compiling C object src/udev/fido_id.p/fido_id_fido_id_desc.c.o [405/452] Compiling C object src/udev/ata_id.p/ata_id_ata_id.c.o [406/452] Compiling C object src/udev/cdrom_id.p/cdrom_id_cdrom_id.c.o [407/452] Compiling C object src/udev/fido_id.p/fido_id_fido_id.c.o [408/452] Compiling C object src/udev/iocost.p/iocost_iocost.c.o [409/452] Compiling C object src/udev/v4l_id.p/v4l_id_v4l_id.c.o [410/452] Compiling C object src/udev/scsi_id.p/scsi_id_scsi_id.c.o [411/452] Compiling C object src/udev/scsi_id.p/scsi_id_scsi_serial.c.o In file included from ../src/basic/macro.h:13, from ../src/basic/stdio-util.h:9, from ../src/basic/devnum-util.h:8, from ../src/udev/scsi_id/scsi_serial.c:23: ../src/udev/scsi_id/scsi_serial.c: In function 'append_vendor_model': ../src/fundamental/macro-fundamental.h:34:41: warning: 'nonnull' argument 'buf' compared to NULL [-Wnonnull-compare] 34 | #define _unlikely_(x) (__builtin_expect(!!(x), 0)) | ^~~~~ ../src/basic/macro.h:177:21: note: in expansion of macro '_unlikely_' 177 | if (_unlikely_(!(expr))) \ | ^~~~~~~~~~ ../src/basic/macro.h:194:22: note: in expansion of macro 'assert_message_se' 194 | #define assert(expr) assert_message_se(expr, #expr) | ^~~~~~~~~~~~~~~~~ ../src/udev/scsi_id/scsi_serial.c:407:9: note: in expansion of macro 'assert' 407 | assert(buf); | ^~~~~~ [412/452] Linking static target src/libudev/libudev-basic.a [413/452] Compiling C object src/udev/mtd_probe.p/mtd_probe_probe_smartmedia.c.o [414/452] Compiling C object src/udev/mtd_probe.p/mtd_probe_mtd_probe.c.o [415/452] Compiling C object udevadm.p/src_udev_udevadm.c.o [416/452] Compiling C object src/udev/dmi_memory_id.p/dmi_memory_id_dmi_memory_id.c.o [417/452] Compiling C object systemd-hwdb.p/src_hwdb_hwdb.c.o [418/452] Compiling C object udevadm.p/src_udev_udevadm-control.c.o [419/452] Compiling C object udevadm.p/src_udev_udevadm-hwdb.c.o [420/452] Compiling C object udevadm.p/src_udev_udevadm-info.c.o [421/452] Compiling C object udevadm.p/src_udev_udevadm-lock.c.o [422/452] Compiling C object udevadm.p/src_udev_udevadm-settle.c.o [423/452] Compiling C object udevadm.p/src_udev_udevadm-monitor.c.o [424/452] Compiling C object udevadm.p/src_udev_udevadm-test.c.o [425/452] Compiling C object udevadm.p/src_udev_udevadm-test-builtin.c.o [426/452] Compiling C object udevadm.p/src_udev_udevadm-trigger.c.o In file included from ../src/basic/hash-funcs.h:4, from ../src/libsystemd/sd-id128/id128-util.h:9, from ../src/udev/udevadm-trigger.c:14: ../src/udev/udevadm-trigger.c: In function 'exec_list': ../src/udev/udevadm-trigger.c:129:46: warning: 'memdup_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 129 | dup = newdup(sd_id128_t, &id, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ ../src/udev/udevadm-trigger.c:129:46: note: earlier argument should specify number of elements, later size of each element 129 | dup = newdup(sd_id128_t, &id, 1); | ^~~~~~~~~~ ../src/basic/alloc-util.h:49:57: note: in definition of macro 'newdup' 49 | #define newdup(t, p, n) ((t*) memdup_multiply(p, sizeof(t), (n))) | ^ [427/452] Compiling C object udevadm.p/src_udev_udevadm-verify.c.o [428/452] Compiling C object udevadm.p/src_udev_udevadm-util.c.o [429/452] Compiling C object udevadm.p/src_udev_udevadm-wait.c.o [430/452] Compiling C object udevadm.p/src_udev_udevd.c.o In file included from ../src/udev/udevd.c:30: ../src/udev/udevd.c: In function 'worker_new': ../src/udev/udevd.c:294:22: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 294 | worker = new(Worker, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udevd.c:294:22: note: earlier argument should specify number of elements, later size of each element 294 | worker = new(Worker, 1); | ^~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udevd.c: In function 'event_queue_insert': ../src/udev/udevd.c:1134:21: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1134 | event = new(Event, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udevd.c:1134:21: note: earlier argument should specify number of elements, later size of each element 1134 | event = new(Event, 1); | ^~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udevd.c: In function 'manager_new': ../src/udev/udevd.c:1808:23: warning: 'malloc_multiply' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 1808 | manager = new(Manager, 1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ ../src/udev/udevd.c:1808:23: note: earlier argument should specify number of elements, later size of each element 1808 | manager = new(Manager, 1); | ^~~~~~~ ../src/basic/alloc-util.h:24:48: note: in definition of macro 'new' 24 | #define new(t, n) ((t*) malloc_multiply(sizeof(t), (n))) | ^ [431/452] Linking target src/udev/cdrom_id FAILED: src/udev/cdrom_id cc -o src/udev/cdrom_id src/udev/cdrom_id.p/cdrom_id_cdrom_id.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status [432/452] Linking target src/udev/ata_id FAILED: src/udev/ata_id cc -o src/udev/ata_id src/udev/ata_id.p/ata_id_ata_id.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status [433/452] Linking target src/udev/scsi_id FAILED: src/udev/scsi_id cc -o src/udev/scsi_id src/udev/scsi_id.p/scsi_id_scsi_id.c.o src/udev/scsi_id.p/scsi_id_scsi_serial.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status [434/452] Linking target src/udev/iocost FAILED: src/udev/iocost cc -o src/udev/iocost src/udev/iocost.p/iocost_iocost.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status [435/452] Linking target src/udev/fido_id FAILED: src/udev/fido_id cc -o src/udev/fido_id src/udev/fido_id.p/fido_id_fido_id.c.o src/udev/fido_id.p/fido_id_fido_id_desc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status [436/452] Linking target src/udev/v4l_id FAILED: src/udev/v4l_id cc -o src/udev/v4l_id src/udev/v4l_id.p/v4l_id_v4l_id.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -fstack-protector -O2 -g0 -pipe -Wall -fexceptions -fPIC -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -mbranch-protection=standard -Wl,--start-group src/shared/libsystemd-shared-254.a src/libsystemd/libsystemd_static.a src/basic/libbasic.a src/basic/libbasic-compress.a -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -pthread /usr/lib/libacl.so /usr/lib/libblkid.so /usr/lib/libcap.so /usr/lib/libcrypt.so -ldl /lib/libip4tc.so /lib/libip6tc.so /usr/lib/libkmod.so /usr/lib/libmount.so /usr/lib/libssl.so /usr/lib/libcrypto.so /usr/lib/libpam.so -lrt /usr/lib/liblzma.so /usr/lib/libzstd.so -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -lm -Wl,--end-group -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections -Wl,--fatal-warnings -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--gc-sections /usr/lib/libcrypto.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /usr/lib/libzstd.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. make: *** [udev:86: /usr/src/log/systemd-254] Error 1 make: Leaving directory '/usr/src/lfs'