Page MenuHomeFreeBSD

Allow bootstrapping mtree on Linux systems
ClosedPublic

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

Details

Summary

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

Repository
rS 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 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.