[MacPorts] #21682: i386-elf-gcc @4.3.2 build failure - ld: duplicate symbol in libbackend.a and tree-inline.o
MacPorts
noreply at macports.org
Wed Oct 14 20:17:50 PDT 2009
#21682: i386-elf-gcc @4.3.2 build failure - ld: duplicate symbol in libbackend.a
and tree-inline.o
-----------------------------------+----------------------------------------
Reporter: slategrey@… | Owner: stepan@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snowleopard | Port: i386-elf-gcc
-----------------------------------+----------------------------------------
Comment(by cshowalter@…):
I tried something similar to what is described in #20816. Specifically,
1. Edit
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/gcc-4.3.2/gcc/cp/Make-lang.in to remove tree-inline.o from
CXX_C_OBJS.
2. Continue compiling.
I got a different error:
...
checking for i386-elf-strip... /opt/local/i386-elf/bin/strip
checking whether ln -s works... yes
checking for i386-elf-gcc...
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/build/./gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/build/./gcc/ -nostdinc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/build/i386-elf/newlib/ -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/build/i386-elf/newlib/targ-include -isystem
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386
-elf-gcc/work/gcc-4.3.2/newlib/libc/include -B/opt/local/i386-elf/bin/
-B/opt/local/i386-elf/lib/ -isystem /opt/local/i386-elf/include -isystem
/opt/local/i386-elf/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make: *** [all] Error 2
while executing
"command_exec build"
(procedure "portbuild::build_main" line 9)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for i386-elf-gcc):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
Error: Status 1 encountered during processing.
--
Ticket URL: <http://trac.macports.org/ticket/21682#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list