Page MenuHomeFreeBSD

Allow bootstrapping mtree on Linux systems

Authored by arichardson on Aug 3 2020, 2:43 PM.



Linux glibc has a dummy lchmod that always fails and emitting a linker
warning when used. Don't fail the build due to that warning when
bootstrapping by setting LD_FATAL_WARNINGS=no.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.

This is fine with me, although I wonder if we should just turn off Werror / LD_FATAL_WARNINGS etc. completely in the cross-bootstrapping case?

This revision is now accepted and ready to land.Aug 3 2020, 5:03 PM
This revision was automatically updated to reflect the committed changes.