This package has been identified via automation as potentially impacted by upcoming Clang 16 changes. The following have been identified as potential issues: [-Werror,-Wimplicit-function-declaration] [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_compare_exchange_16'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_compare_exchange_8'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_exchange_8'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_fetch_add_8'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_load_16'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_load_8'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_store_16'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] error: call to undeclared function '__atomic_store_8'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Created attachment 827303 [details] clang-14.log build log
Created attachment 827305 [details] clang-15.log build log
Created attachment 827307 [details] clang.diff build log
The discussion in bug 877259 and the linked upstream bug for systemd + llvm is relevant.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3dd74e856564aac2414a3fca1fd859961ee162f commit d3dd74e856564aac2414a3fca1fd859961ee162f Author: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> AuthorDate: 2023-10-08 11:54:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 06:31:24 +0000 dev-util/unicorn: fix modern C issue Closes: https://bugs.gentoo.org/879685 Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Signed-off-by: Sam James <sam@gentoo.org> .../unicorn-2.0.1-old-style-declaration.patch | 45 ++++ .../files/unicorn-2.0.1-strict-prototypes.patch | 299 +++++++++++++++++++++ dev-util/unicorn/unicorn-2.0.1-r1.ebuild | 95 +++++++ 3 files changed, 439 insertions(+)