[MDEV-6053] Debug info for static libraries is not included into Windows packages Created: 2014-04-09 Updated: 2018-02-06 Resolved: 2018-02-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling, Packaging |
| Affects Version/s: | 5.5.37, 10.0.10 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Elena Stepanova | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | debug-info, packaging, windows | ||
| Environment: |
Windows, cmake 2.8.12+ |
||
| Issue Links: |
|
||||||||
| Description |
|
This is an offspring of However, it means that static libraries won't have debug information, which might be sometimes needed. Since including the debug info costs considerable increase of the package size, I think it makes sense to keep it open for now and see if anybody actually requests it. Here is Wlad's comment and proposed fix (from comments to
Here are results of my measurements for package size change:
|
| Comments |
| Comment by Daniel Black [ 2018-02-05 ] | |||||||||||||
|
Seems like an easy add wlad. Also the cmake bug for
| |||||||||||||
| Comment by Vladislav Vaintroub [ 2018-02-05 ] | |||||||||||||
|
danblack, we use /Z7 since long time now. With it, the debug symbols are inside the object files, and thus inside the static libraries. We also distribute only one static library now, the client library (we do not include embedded into packages anymore), so the size problem no more acute. | |||||||||||||
| Comment by Daniel Black [ 2018-02-06 ] | |||||||||||||
|
Ah ok. so this can be closed now? | |||||||||||||
| Comment by Vladislav Vaintroub [ 2018-02-06 ] | |||||||||||||
|
danblack, yes, I'm closing it since it is not longer a problem |