Page MenuHomeFreeBSD

Create symlinks to host tools on non-FreeBSD hosts
ClosedPublic

Authored by arichardson on Jan 21 2021, 10:34 AM.

Details

Summary

This is unnecessary when cross-building from Linux/macOS.
Additionally, cp -p appears to be broken on macOS Big Sur
(https://openradar.appspot.com/8957219).

For some unknown reason this commit appears to fix
freezes when building on macOS Big Sur.
This also fixes building in docker with volume mounts
with ACLs, since setting the ACL with cp -p fails otherwise.

Obtained From: CheriBSD
Tested By: gnn (macOS Big Sur), Nathaniel Wesley Filardo (docker)

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson retitled this revision from Create symlinks to host tools (#896) to Create symlinks to host tools.Jan 21 2021, 10:38 AM
arichardson retitled this revision from Create symlinks to host tools to Create symlinks to host tools on non-FreeBSD hosts.Jan 21 2021, 10:42 AM
arichardson edited the summary of this revision. (Show Details)
arichardson added a reviewer: imp.
arichardson added a subscriber: gnn.

We only need the copies on FreeBSD to avoid the issue you cited. On other systems, symlinks are fine.

This revision is now accepted and ready to land.Jan 22 2021, 4:26 PM

"freezes when building failures on macOS" in the commit message needs fixing