Bug 982075
| Summary: | Debuginfo missing for binaries in llvm | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mamoru TASAKA <mtasaka> |
| Component: | llvm | Assignee: | Jan Včelák <jv+fedora> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | ajax, bos, dkholia, dmalcolm, jv+fedora, michel, petersen, scottt.tw |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | llvm-3.3-3.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-14 03:47:28 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
With the above change, size for debuginfo rpm actually changes: 306514320 7月 8 14:19 llvm-debuginfo-3.3-0.6.rc3.fc19.debuginfo.i686.rpm 117459084 6月 12 03:37 llvm-debuginfo-3.3-0.6.rc3.fc19.i686.rpm By the way, the formal llvm 3.3 is released on 2013-06-17. llvm-3.3-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/llvm-3.3-2.fc20 Package llvm-3.3-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing llvm-3.3-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-22023/llvm-3.3-2.fc20 then log in and leave karma (feedback). llvm-3.3-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/llvm-3.3-2.fc19 llvm-3.3-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/llvm-3.3-3.fc19 llvm-3.3-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. llvm-3.3-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Many binary files generated from llvm src.rpm lacks debuginfo information. Looking at llvm-debuginfo binary rpm, there is no /usr/lib/debug/usr/bin directory, which means that debuginfos for /usr/bin/* genererated from llvm.src are missing. Version-Release number of selected component (if applicable): llvm-debuginfo-3.3-0.6.rc3.fc19.i686 How reproducible: 100% Steps to Reproduce: 1. Install llvm-debuginfo, clang, gdb 2. gdb clang 3. Actual results: gdb complains that no debugging info is available. Expected results: Debuginfo should be available Additional info: The following works for me. diff --git a/llvm.spec b/llvm.spec index f29a500..d64d9fe 100644 --- a/llvm.spec +++ b/llvm.spec @@ -39,7 +39,7 @@ Name: llvm Version: 3.3 -Release: 0.6.%{prerel}%{?dist} +Release: 0.6.%{prerel}%{?dist}.debuginfo Summary: The Low Level Virtual Machine Group: Development/Languages @@ -335,6 +335,7 @@ sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config sed -i 's|ActiveLibDir = ActivePrefix + "/lib"|ActiveLibDir = ActivePrefix + "/%{_lib}/%{name}"|g' tools/llvm-config/llvm-config.cpp make %{_smp_mflags} REQUIRES_RTTI=1 VERBOSE=1 \ + KEEP_SYMBOLS=1 \ %ifarch ppc OPTIMIZE_OPTION="%{optflags} -UPPC" %else @@ -349,6 +350,7 @@ cp -p bindings/ocaml/llvm/META.llvm bindings/ocaml/llvm/Release/ %endif make install DESTDIR=%{buildroot} \ + KEEP_SYMBOLS=1 \ PROJ_docsdir=/moredocs # multilib fixes See llvm.src/Makefile.rules . Scratch build results: http://koji.fedoraproject.org/koji/taskinfo?taskID=5583338