HomeFreeBSD

depend-cleanup.sh: Handle commit cbdec8db18b5

Description

depend-cleanup.sh: Handle commit cbdec8db18b5

That commit changed libc to use the MI pdfork implementation, but with
an incremental build the object file for the pdfork.S stub lingers and
causes a linker error.

Cleaning the depend file is not enouch, so modify clean_deps() to remove
object files as well, and add a call to ensure that pdfork.*o is
cleaned. The new file is _pdfork.o.

Reported by: jhb
Reviewed by: emaste
Fixes: cbdec8db18b5 ("libc: Add pdfork to the list of interposed system calls")
Sponsored by: The FreeBSD Foundation

(cherry picked from commit 187fe192ce0ab1fc9787840ddb4f721a72de5942)

Details

Provenance
markjAuthored on Dec 7 2021, 4:18 PM
Parents
rGa5659943e37a: libc: Add pdfork to the list of interposed system calls
Branches
Unknown
Tags
Unknown