| Summary: | devtool: deploy-target: installs unstripped files | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Tobias Hagelborn <tobiasha> |
| Component: | Scripts and Tools | Assignee: | Tobias Hagelborn <tobiasha> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | daniel, ross.burton |
| Version: | 2.1.3 | ||
| Target Milestone: | 2.1.3 | ||
| Hardware: | x86 | ||
| OS: | x86_64 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Tobias Hagelborn
2017-03-23 14:32:43 UTC
This is pretty much intentional. devtool is a development tool - it's expected that you'd want to be able to debug your code on the target, which means you need the debugging symbols. Another thing to consider is we're deliberately bypassing the packaging step by taking the files from the output of do_install, so that you don't have to have that fully working when you use devtool deploy-target (and thus you can get to testing your code on the target faster) - but that is in advance of the normal stripping that happens during packaging time. Thanks for the explanation Paul, At our organization, we debug the target using the normal unstripped libs and executables via gdbserver and have the full set of debug symbol files available only on host, thus eliminating the need for larger, unstripped target files. I'll see if we can provide a patch where stripping can be an option to the deploy-target command. Would that be something of interest/trade-off? Certainly, yes, and your use case does make sense. In addition to a command line option, we could even have a config option (read from conf/devtool.conf) in order to turn on stripping during deploy by default so you don't have to remember to use the option every time. Tobias, I'm reassigning this to you since you're implementing this (the v1 on the list looks good so far apart from RP's review comments). Thanks. Merged to master on 20:th of June |