Opened 15 years ago
Closed 15 years ago
#21682 closed defect (fixed)
i386-elf-gcc @4.3.2 build failure - ld: duplicate symbol in libbackend.a and tree-inline.o
Reported by: | slategrey@… | Owned by: | stepan@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | snowleopard | Cc: | pguyot (Paul Guyot), cshowalter@…, bjorn@…, matt.massicotte@… |
Port: | i386-elf-gcc |
Description
Platform: Intel, OS X 10.6, Macports 1.8.0
Same error as #20816 in the regular gcc43 port. Presumably the fix is also approximately the same...?
Change History (7)
comment:1 Changed 15 years ago by jmroot (Joshua Root)
Cc: | pguyot@… added |
---|---|
Keywords: | i386-elf-gcc removed |
Owner: | changed from macports-tickets@… to stepan@… |
comment:2 Changed 15 years ago by cshowalter@…
comment:5 Changed 15 years ago by bjorn@…
I also applied the patch in cl57794 that closed #20816, which got me to the same point as you describe. The problem you are now having can be addressed by updating the Portfile as described in cl59653 (which closes #21194).
After applying both patches I got the following error:
---> Activating i386-elf-gcc @4.3.2_0 Error: Unable to execute port: Image error: /opt/local/lib/x86_64/libiberty.a is being used by the active i386-elf-binutils port. Please deactivate this port first, or use 'port -f activate i386-elf-gcc' to force the activation.
I decided to force the activation, without really knowing the consequences. That seemed to work.
comment:7 Changed 15 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I tried something similar to what is described in #20816. Specifically,
I got a different error: