Bug 185096
Summary: | ld --as-needed causes either crash or BFD internal error | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dmitry V. Levin <ldv> |
Component: | binutils | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-05-09 14:58:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dmitry V. Levin
2006-03-10 16:39:46 UTC
Even more simple test causes ld to crash in BFD: $ g++ -shared -Wl,--as-needed -Wl,--whole-archive `gcc -print-file-name=libsupc++.a` -Wl,--no-whole-archive collect2: ld terminated with signal 11 [Segmentation fault] /usr/bin/ld: BFD 2.16.91.0.6 20060212 assertion fail elflink.c:2317 /usr/bin/ld: BFD 2.16.91.0.6 20060212 assertion fail elflink.c:2318 [last two lines repeated 149 times] Fixed upstream in 2.17.50.0.1-1. |