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)
Thu, Apr 24, 9:43 PM
Unknown Object (File)
Thu, Apr 24, 3:42 PM
Unknown Object (File)
Mon, Apr 21, 8:24 PM
Unknown Object (File)
Thu, Apr 17, 6:22 PM
Unknown Object (File)
Mon, Apr 14, 7:29 AM
Unknown Object (File)
Mon, Apr 14, 6:47 AM
Unknown Object (File)
Mon, Apr 14, 5:35 AM
Unknown Object (File)
Mon, Apr 14, 2:41 AM

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.