Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 119661
Summary: | gcc aborts when linking with libjvm.so | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Claus Olesen <colesen> |
Component: | binutils | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | athlon | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-05-27 11:42:24 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: | |||
Bug Depends On: | |||
Bug Blocks: | 114963 |
Description
Claus Olesen
2004-04-01 06:23:15 UTC
It is apparently the linker, not gcc that segfaults. What exact version ofbinutils do you have? rpm -qa | grep binutils binutils-2.15.90.0.1.1-2 ld -v GNU ld version 2.15.90.0.1.1 20040326 As workaround I downgraded from binutils-2.15.90.0.1.1-2 to binutils-2.14.90.0.8-8.1. After that ld as invoked by gcc complained that "-as--needed" is unrecognized. This appears to be a new option passed from gcc to ld. I did not downgrade gcc but left it at gcc-3.3.3-6. Instead I edited out "-as--needed" and "--no-as-needed" in /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs. Don't know if that's valid. But with this the problem appears to have vanished. I don't see this problem in binutils-2.15.90.0.3-5 (FC2). |