Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900380 - sys-apps/man-db-2.12.0 has implicit function declarations in configure logs (CLANG-17-SYSTEM)
Summary: sys-apps/man-db-2.12.0 has implicit function declarations in configure logs (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2023-03-08 14:05 UTC by Agostino Sarubbo
Modified: 2024-04-07 06:17 UTC (History)
0 users

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


Attachments
build.log (build.log,504.16 KB, text/plain)
2023-03-08 14:05 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:05:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/man-db-2.11.2 has implicit function declarations in configure logs (CLANG-17-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CLANG-17-SYSTEM) in the summary means that the bug was found on a machine that runs clang-17 but this bug MAY or MAY NOT BE related to the new compiler
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-08 14:05:06 UTC
Created attachment 856816 [details]
build.log

build log and emerge --info
Comment 2 connor-gh 2023-11-23 06:46:55 UTC
This is harmless in regards to security, but it'd be nice to fix.

The functions that are implicitly declared are:

unreachable() -- tested for in the configure only (perhaps it falls back to __builtin_unreachable() ?)

MIN -- macro tested for in the configure only

_snprintf -- obviously not used and probably just here for OS X weirdness

alignof -- only supported in c2x and clang does not default to that for obvious reasons. _Alignof works though

static_assert -- same reason as above, _Static_Assert works
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-05 08:47:17 UTC
gcc14_tinderbox has reproduced this issue with version 2.12.0 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-04-07 06:17:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b43280d288e0f1de73316e394aaa0773f3ffe5

commit 74b43280d288e0f1de73316e394aaa0773f3ffe5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-06 17:20:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-07 06:16:08 +0000

    sys-apps/man-db: add 2.12.1
    
    Closes: https://bugs.gentoo.org/900380
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/man-db/Manifest             |   1 +
 sys-apps/man-db/man-db-2.12.1.ebuild | 208 +++++++++++++++++++++++++++++++++++
 sys-apps/man-db/man-db-9999.ebuild   |   7 +-
 3 files changed, 215 insertions(+), 1 deletion(-)