[systemd-devel] New developer building systemd
Cristian Rodríguez
crrodriguez at opensuse.org
Mon Sep 13 16:19:03 UTC 2021
The function is used.. only when HAVE_LIBCRYPTSETUP.
You either need to define it on an #ifdef HAVE_LIBCRYPTSETUP or add add an
__attribute__(__unused__) to it, then the warning will shut up and the
linker may garbage collect it later.
On Fri, Sep 10, 2021 at 12:50 PM Marcus Harrison <marcus at harrisonland.co.uk>
wrote:
> Hey folks,
>
> I've downloaded the systemd sources and am attempting to build with GCC
> 9.4 on
> KDE Neon and am receiving the build error described in build-error.txt on
> updated main branch (as of writing).
>
> I've patched around it using the change described in
> remove_unused_function.patch, which allows the build to follow through,
> but
> the test suite has multiple failures, and requires manual intervention
> multiple times - for example, dropping to a BusyBox recovery shell or
> log-in
> shell, and some of the tests will hang indefinitely.
>
> I'm wondering how much of this is intended, and if my patch broke anything.
>
> Cheers,
> Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20210913/8c0d2fc6/attachment.htm>
More information about the systemd-devel
mailing list