https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/systemd-utils-251.9 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 843521 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: src/boot/efi/linuxx64.efi.stub Program jekyll found: NO Program kexec /usr/sbin/kexec /sbin/kexec found: NO Program quotacheck /usr/sbin/quotacheck /sbin/quotacheck found: NO Program quotaon /usr/sbin/quotaon /sbin/quotaon found: NO Program rpm found: NO Program rpmspec found: NO Run-time dependency libbpf found: NO (tried pkgconfig and cmake) Run-time dependency tss2-esys tss2-rc tss2-mu found: NO (tried pkgconfig and cmake) /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-objcopy: error: unknown argument '--section-alignment=512'
I think we need objcopy from binutils, not llvm-objcopy.
*** Bug 905087 has been marked as a duplicate of this bug. ***
This should be fixed with the next upstream release of systemd. It no longer uses gnuefi/objcopy. https://github.com/systemd/systemd/pull/26641