Re: New developer building systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx> 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

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux