Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 879685

Summary: dev-util/unicorn: possible configure breakage with Clang 16
Product: Gentoo Linux Reporter: Matt Jolly <kangie>
Component: Current packagesAssignee: mario.haustein
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=877259
https://github.com/gentoo/gentoo/pull/33245
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 906027    
Attachments: clang-14.log
clang-15.log
clang.diff

Description Matt Jolly gentoo-dev 2022-11-04 22:10:38 UTC
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]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:10:39 UTC
Created attachment 827303 [details]
clang-14.log

build log
Comment 2 Matt Jolly gentoo-dev 2022-11-04 22:10:41 UTC
Created attachment 827305 [details]
clang-15.log

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:10:44 UTC
Created attachment 827307 [details]
clang.diff

build log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-06 00:26:38 UTC
The discussion in bug 877259 and the linked upstream bug for systemd + llvm is relevant.