Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879687 - dev-util/valgrind: possible configure breakage with Clang 16
Summary: dev-util/valgrind: possible configure breakage with Clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 905355
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:10 UTC by Matt Jolly
Modified: 2023-06-01 01:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clang-14.log (clang-14.log,22.66 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,22.65 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details
clang.diff (clang.diff,19.27 KB, text/plain)
2022-11-04 22:10 UTC, Matt Jolly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Jolly gentoo-dev 2022-11-04 22:10:46 UTC
This package has been identified via automation as potentially impacted by upcoming Clang 16 changes.
The following have been identified as potential issues:

[-Wimplicit-function-declaration]

[-Wimplicit-function-declaration]
error: use of unknown builtin '__builtin_tbegin' [-Wimplicit-function-declaration]
error: use of unknown builtin '__builtin_tend' [-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:10:47 UTC
Created attachment 827309 [details]
clang-14.log

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

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

build log
Comment 4 Matt Turner gentoo-dev 2023-05-09 23:54:16 UTC
I think the automation needs to have some knowledge of __builtin_* functions. They don't typically have prototypes in a header. I don't think there's anything to do here.
Comment 5 Larry the Git Cow gentoo-dev 2023-05-11 01:24:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=e34b593e10a86ffc61d54f113729b3fb556b46c0

commit e34b593e10a86ffc61d54f113729b3fb556b46c0
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2023-05-10 01:28:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-11 01:24:41 +0000

    install-qa-check.d/90config-impl-decl: Skip compiler built-ins
    
    Bug: https://bugs.gentoo.org/879687
    Bug: https://bugs.gentoo.org/898232
    Signed-off-by: Matt Turner <mattst88@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 bin/install-qa-check.d/90config-impl-decl | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2023-06-01 01:23:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08be91eebdbff0de0e033efe30c633219a9859ca

commit 08be91eebdbff0de0e033efe30c633219a9859ca
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-01 01:22:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-01 01:23:18 +0000

    sys-apps/portage: add 3.0.48
    
    Closes: https://bugs.gentoo.org/722270
    Closes: https://bugs.gentoo.org/879687
    Closes: https://bugs.gentoo.org/898232
    Closes: https://bugs.gentoo.org/898366
    Closes: https://bugs.gentoo.org/905355
    Closes: https://bugs.gentoo.org/905358
    Closes: https://bugs.gentoo.org/905868
    Closes: https://bugs.gentoo.org/906129
    Closes: https://bugs.gentoo.org/906156
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.48.ebuild | 296 +++++++++++++++++++++++++++++++++
 2 files changed, 297 insertions(+)