Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900396 - dev-debug/valgrind-3.23.0 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM)
Summary: dev-debug/valgrind-3.23.0 has implicit function declarations in configure log...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard: fixed in 3.22.0-r2
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-03-08 14:09 UTC by Agostino Sarubbo
Modified: 2024-11-03 21:26 UTC (History)
0 users

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


Attachments
build.log (build.log,432.61 KB, text/plain)
2023-03-08 14:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-08 14:09:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/valgrind-3.20.0-r2 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-08 14:09:31 UTC
Created attachment 856832 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-04 15:45:33 UTC
clang-lld_tinderbox has reproduced this issue with version 3.22.0-r2 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2024-04-27 07:56:03 UTC
ci has reproduced this issue with version 3.23.0 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-05-26 23:12:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dacecf376120d114419b41885bcfa01ed1d981e

commit 7dacecf376120d114419b41885bcfa01ed1d981e
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-05-26 22:17:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-26 23:11:05 +0000

    dev-debug/valgrind: add whitelist for false positive configure implicit decls
    
    The issue here is, yet again, that clang is a trash compiler and cannot
    handle sensible diagnostic output. It warns you for implicit function
    decls because it doesn't permit nested function definitions, *after* it
    tells you that it doesn't permit the nested function. Instead of just
    telling you that the former is forbidden.
    
    Closes: https://bugs.gentoo.org/900396
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/valgrind/valgrind-3.22.0-r2.ebuild | 7 +++++++
 dev-debug/valgrind/valgrind-3.23.0.ebuild    | 7 +++++++
 dev-debug/valgrind/valgrind-9999.ebuild      | 7 +++++++
 3 files changed, 21 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-11-03 21:26:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17d65d904507210e4554755951ef1d8934ef0ed8

commit 17d65d904507210e4554755951ef1d8934ef0ed8
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-03 20:59:25 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-03 21:25:41 +0000

    dev-debug/valgrind: drop 3.21.0-r2
    
    Bug: https://bugs.gentoo.org/900396
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-debug/valgrind/Manifest                  |   2 -
 dev-debug/valgrind/valgrind-3.21.0-r2.ebuild | 139 ---------------------------
 2 files changed, 141 deletions(-)