| Summary: | strip destroys static libraries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andreas Schneider <asn> |
| Component: | binutils | Assignee: | Nick Clifton <nickc> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 16 | CC: | jakub, nalin, nickc, robatino |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-14 02:32:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Hi Andreas, I am unable to reproduce this problem. Please could you upload a (unstripped) copy of libgssapi.a for me to try ? (The libgssapi rpm has been replaced by libgssglue, so I do not have a copy of my own to use). Cheers Nick Hi Andreas, Thanks for the upload - I have now tracked down the problem. It had been reported on the FSF binutils bug system, but the patch had not been imported into Fedora. I have now fixed this, and if you would like to try out the new binutils-2.21.53.0.1-6.fc16 rpm you should find that strip no longer corrupts libraries. Cheers Nick I've tested it and it works for me. You should make sure that this is pushed to the build environments (koji, mock) too. This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: 'strip -g libfoo.a' destroys the static libraries. Checking the symbols of libgssapi.a with 'nm -s' gives the output for one object file: asn1_GSSAPIContextToken.o: U _GLOBAL_OFFSET_TABLE_ 00000000000004ad T copy_GSSAPIContextToken U copy_heim_any_set 00000000000001a3 T decode_GSSAPIContextToken U decode_heim_any_set U der_copy_oid U der_free_oid U der_get_oid U der_length_len U der_length_oid U der_match_tag_and_length U der_put_length_and_tag U der_put_oid 0000000000000000 T encode_GSSAPIContextToken U encode_heim_any_set 00000000000003e5 T free_GSSAPIContextToken U free_heim_any_set 000000000000040f T length_GSSAPIContextToken U length_heim_any_set If I strip it with it with 'strip -g libgssapi.a'and check the static library with 'nm' I get: nm: asn1_GSSAPIContextToken.o: Bad value rpmbuild calls 'strip -g' so every package providing a static lib is broken. Steps to Reproduce: 1. Build a static lib 2. nm -s libfoo.a 3. strip -g libfoo.a 4. nm -s libfoo.a