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)
Mar 22 2024, 8:56 PM
Unknown Object (File)
Mar 22 2024, 8:56 PM
Unknown Object (File)
Mar 22 2024, 8:56 PM
Unknown Object (File)
Mar 17 2024, 7:57 AM
Unknown Object (File)
Mar 9 2024, 7:32 AM
Unknown Object (File)
Mar 3 2024, 7:31 AM
Unknown Object (File)
Mar 3 2024, 7:08 AM
Unknown Object (File)
Jan 26 2024, 10:18 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.