Page MenuHomeFreeBSD

Bootstrap crunchgen for builds from older trees
ClosedPublic

Authored by kevans on Sep 16 2020, 5:15 PM.
Tags
None
Referenced Files
F98287699: D26455.diff
Wed, Oct 2, 10:27 PM
F98177538: D26455.diff
Wed, Oct 2, 2:24 PM
Unknown Object (File)
Tue, Oct 1, 9:20 PM
Unknown Object (File)
Tue, Oct 1, 6:57 PM
Unknown Object (File)
Tue, Oct 1, 5:00 PM
Unknown Object (File)
Mon, Sep 30, 11:13 PM
Unknown Object (File)
Fri, Sep 27, 2:55 AM
Unknown Object (File)
Fri, Sep 27, 2:55 AM

Details

Summary

A near-future change will switch the default WARNS to 6 globally, including for the rescue build. This change ensures that we bootstrap crunchgen on older trees so that the output is WARNS-clean.

To complete the change, wipe out the entire rescue objdir if we detect an older rescue.c skeleton -- the crunched_stub_t typedef was added in the WARNS fix, so it should be present in all corrected output from crunchgen.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 33595

Event Timeline

tools/build/depend-cleanup.sh
53

perhaps we should drop the rXXXXXX references form these and put them in the same commit as the change that requires it - svn / git blame will find the right match and really the date is sufficient for the purpose of deciding it's been sufficiently long that we can delete it.

Fine with me, modulo revision comment

This revision is now accepted and ready to land.Sep 16 2020, 5:18 PM
tools/build/depend-cleanup.sh
53

Sure, +1. I'll drop that from this one and merge this change with the next one.

I do have some concern because we often historically add these post-mortem, but to be honest we can just tack on the revision in the brief summary part if it really matters. I suspect it doesn't matter, though.