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)
Mon, May 27, 6:05 AM
Unknown Object (File)
Sat, May 25, 8:21 AM
Unknown Object (File)
May 14 2024, 6:39 AM
Unknown Object (File)
May 9 2024, 1:36 AM
Unknown Object (File)
May 7 2024, 9:45 PM
Unknown Object (File)
May 6 2024, 7:33 PM
Unknown Object (File)
May 1 2024, 3:57 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

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.