Page MenuHomeFreeBSD

Create symlinks to host tools on non-FreeBSD hosts
ClosedPublic

Authored by arichardson on Jan 21 2021, 10:34 AM.
Tags
None
Referenced Files
F105784169: D28267.id82682.diff
Fri, Dec 20, 3:56 PM
Unknown Object (File)
Mon, Dec 9, 2:06 PM
Unknown Object (File)
Thu, Nov 28, 10:44 AM
Unknown Object (File)
Thu, Nov 28, 10:44 AM
Unknown Object (File)
Thu, Nov 28, 10:44 AM
Unknown Object (File)
Thu, Nov 28, 10:42 AM
Unknown Object (File)
Thu, Nov 28, 10:23 AM
Unknown Object (File)
Nov 19 2024, 4:37 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
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