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
F103197459: D2003.diff
Fri, Nov 22, 3:51 AM
Unknown Object (File)
Mon, Nov 18, 1:48 AM
Unknown Object (File)
Sep 28 2024, 1:27 AM
Unknown Object (File)
Sep 24 2024, 4:13 AM
Unknown Object (File)
Sep 23 2024, 9:24 PM
Unknown Object (File)
Sep 22 2024, 7:34 PM
Unknown Object (File)
Sep 22 2024, 2:47 AM
Unknown Object (File)
Sep 21 2024, 9:50 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

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.