[Bug 277539] Fix bitrot in tools/test
Date: Wed, 06 Mar 2024 20:41:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277539 Bug ID: 277539 Summary: Fix bitrot in tools/test Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu Created attachment 248986 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248986&action=edit Fix compilation of some tools/test programs The attached patch fixes compilation of tools/test/bsnmp, tools/test/malloc, and tools/test/net on recent versions of FreeBSD. Most of the changes pacify the compiler. The malloc test calls sbrk() which does not exist on arm64 and does not provide any useful information on amd64. I made sbrk() a weak symbol. -- You are receiving this mail because: You are the assignee for the bug.