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 697685
Summary: | gcc 4.5.1 doesn't compile on arm 5tel | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 14 | CC: | jakub | ||||
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: | 2011-05-31 15:57:02 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: | 245418 | ||||||
Attachments: |
|
Description
Peter Robinson
2011-04-18 22:11:18 UTC
Created attachment 500281 [details] [PATCH] Pass --allow-multiple-definition to the linker when compiling libgcc_post_upgrade Linking libgcc_post_upgrade fails because there are multiple definitions of __libc_start_main, __libc_csu_fini and __libc_csu_init. These functions are defined in libgcc_post_upgrade.c and in libc.a. From "man ld" on --allow-multiple-definition: > Normally when a symbol is defined multiple times, the linker will > report a fatal error. These options allow multiple definitions and the > first definition will be used. I do not think this should be a final solution, but at least it makes it possible to build gcc on ARM. --- gcc.spec | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) gcc-4.6.0-9 doesn't have libgcc_post_upgrade any longer, being replaced by <lua> scriptlet. SO this problem is gone in F15 updates testing and F16. |