https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287991
Bug ID: 287991
Summary: Remove brk and sbrk default symbols
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Src: https://github.com/brooksdavis/freebsd/tree/nobrk
Ports: https://github.com/brooksdavis/freebsd-ports/tree/nobrk
The source branch further deprecates the obsolete brk and sbrk interfaces by
removing the default symbols making it impossible to link to them with pure
C/C++ code.
The ports branch adds a libsbrk which allows programs using sbrk to link to the
libc implementation through some assembly tricks and a wrapper function. It
also adds infrastructure to use libsbrk automatically based on USES=sbrk:lib
and fixes ports I was able to test to use this functionality.
--
You are receiving this mail because:
You are the assignee for the bug.