[Bug 254259] make buildworld fails in rescue.c
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 13 20:41:55 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254259
Bug ID: 254259
Summary: make buildworld fails in rescue.c
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: shurd at FreeBSD.org
Doing a source upgrade on a system with 13.0-CURRENT r339441 to 13c22f749
(releng/13.0), buildworld fails with -Werror warnings in rescue.c, mostly
related to missing void parameter.
rescue.c:46:13: error: this function declaration is not a prototype
[-Werror,-Wstrict-prototypes]
rescue.c:79:1: error: no previous prototype for function 'crunched_main'
[-Werror,-Wmissing-prototypes]
crunched_main(int argc, char **argv, char **envp)
But also some unused variables:
rescue.c:82:18: error: unused variable 'ep' [-Werror,-Wunused-variable]
struct stub *ep;
rescue.c:83:9: error: unused variable 'columns' [-Werror,-Wunused-variable]
int columns, len;
rescue.c:83:18: error: unused variable 'len' [-Werror,-Wunused-variable]
int columns, len;
My assumption is that this is due to /usr/bin/crunchgen being used instead of a
newly built crunchgen, I've built the new crunchgen and replaced
/usr/bin/crunchgen with it to test this theory, and will update this PR when I
have a result.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list