Page MenuHomeFreeBSD

installworld: improve portability of ldd use
ClosedPublic

Authored by brooks on Jun 28 2022, 12:40 AM.
Tags
None
Referenced Files
F115440594: D35618.id107457.diff
Wed, Apr 23, 8:53 PM
F115429325: D35618.id107639.diff
Wed, Apr 23, 5:53 PM
F115415997: D35618.diff
Wed, Apr 23, 2:10 PM
Unknown Object (File)
Mon, Apr 21, 2:57 AM
Unknown Object (File)
Mon, Apr 21, 1:43 AM
Unknown Object (File)
Mon, Apr 21, 1:29 AM
Unknown Object (File)
Mon, Apr 21, 12:48 AM
Unknown Object (File)
Fri, Apr 18, 11:08 PM
Subscribers

Details

Summary

b3b462229f97 added a case statement to ignore lines containing strings
in square brackets such as "[vdso]" and "[preloaded]". On MacOS
Monterey where /bin/sh may be zsh, this fails with:

/bin/sh: -c: line 0: syntax error near unexpected token `;;'

Invoke grep in the pipeline to remove such lines instead.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable