Date: Sat, 13 Mar 2021 20:41:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254259] make buildworld fails in rescue.c Message-ID: <bug-254259-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: shurd@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254259-227>
