Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879767 - sys-apps/iproute2: possible configure breakage with Clang 16
Summary: sys-apps/iproute2: possible configure breakage with Clang 16
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2022-11-04 22:15 UTC by Matt Jolly
Modified: 2023-05-09 13:16 UTC (History)
0 users

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


Attachments
clang-14.log (clang-14.log,854 bytes, text/plain)
2022-11-04 22:15 UTC, Matt Jolly
Details
clang-15.log (clang-15.log,635 bytes, text/plain)
2022-11-04 22:15 UTC, Matt Jolly
Details
clang.diff (clang.diff,1.11 KB, text/plain)
2022-11-04 22:15 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:15:39 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 library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
Comment 1 Matt Jolly gentoo-dev 2022-11-04 22:15:40 UTC
Created attachment 827549 [details]
clang-14.log

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

build log
Comment 3 Matt Jolly gentoo-dev 2022-11-04 22:15:42 UTC
Created attachment 827553 [details]
clang.diff

build log
Comment 4 Mike Gilbert gentoo-dev 2022-11-14 16:06:10 UTC
On BSD, strlcpy is part of libc and is declared in string.h.

On Linux/glibc, strlcpy is not a libc function.

The configure script does a compile/link test, and that still fails correctly on glibc. There is nothing to fix here.