Page MenuHomeFreeBSD

Do not strip crunched binary; it will be done by install
ClosedPublic

Authored by emaste on Mar 3 2015, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 25, 8:21 AM
Unknown Object (File)
Tue, May 14, 6:39 AM
Unknown Object (File)
Thu, May 9, 1:36 AM
Unknown Object (File)
Tue, May 7, 9:45 PM
Unknown Object (File)
Mon, May 6, 7:33 PM
Unknown Object (File)
Wed, May 1, 3:57 PM
Unknown Object (File)
Mar 22 2024, 8:56 PM
Unknown Object (File)
Mar 22 2024, 8:56 PM

Details

Summary

In cross-build cases it is possible we won't have a cross-strip during the the rescue build. Binaries are already stripped on install anyhow, so there is no need to strip during the build.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Do not strip crunched binary; it will be done by install.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: andrew, imp.
emaste added a subscriber: Unknown Object (MLST).
imp edited edge metadata.

Looks good to me.

This revision is now accepted and ready to land.Mar 3 2015, 10:57 PM

How is install(1) executed? What controls "stripping" via install(1) is the STRIP make variable, so if I set that to null, won't that also avoid stripping crunched binaries? Is that expected?

In D2003#7, @rpaulo wrote:

How is install(1) executed? What controls "stripping" via install(1) is the STRIP make variable, so if I set that to null, won't that also avoid stripping crunched binaries? Is that expected?

Isn't it? If I set STRIP= to avoid stripping binaries, that should apply to the crunched binaries too, shouldn't it?

emaste added a reviewer: bdrewery.
emaste added a subscriber: adrian.

rebase after rS284356, rS285986

This revision now requires review to proceed.Sep 29 2016, 8:55 PM
adrian added a reviewer: adrian.
This revision is now accepted and ready to land.Sep 29 2016, 10:01 PM
This revision was automatically updated to reflect the committed changes.