[MacPorts] #22848: duplicate symbol _saved_program_buf in obj/i386-apple-darwin10.2.0/opt/smp/erl_pbifs.o and obj/i386-apple-darwin10.2.0/opt/smp/erl_main.o
MacPorts
noreply at macports.org
Sun Dec 13 11:10:09 PST 2009
#22848: duplicate symbol _saved_program_buf in obj/i386-apple-
darwin10.2.0/opt/smp/erl_pbifs.o and obj/i386-apple-
darwin10.2.0/opt/smp/erl_main.o
------------------------------------+---------------------------------------
Reporter: cerieljacobs@… | Owner: bfulgham@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: erlang
------------------------------------+---------------------------------------
Comment(by cerieljacobs@…):
/usr/bin/gcc-4.2 -o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
/erlang-R13B03/bin/i686-apple-darwin10/beam.smp \
-m64 -L/opt/local/lib -framework CoreFoundation -pagezero_size
0x400000 obj/i686-apple-darwin10/opt/smp/erl_main.o obj/i686
-apple-darwin10/opt/smp/preload.o obj/i686-apple-
darwin10/opt/smp/erl_pbifs.o obj/i686-apple-
darwin10/opt/smp/benchmark.o obj/i686-apple-darwin10/opt/smp/erl_alloc.o
obj/i686-apple-darwin10/opt/smp/erl_mtrace.o obj/i686-apple-
darwin10/opt/smp/erl_alloc_util.o obj/i686-apple-
darwin10/opt/smp/erl_goodfit_alloc.o obj/i686-apple-
darwin10/opt/smp/erl_bestfit_alloc.o obj/i686-apple-
darwin10/opt/smp/erl_afit_alloc.o obj/i686-apple-
darwin10/opt/smp/erl_instrument.o obj/i686-apple-
darwin10/opt/smp/erl_init.o obj/i686-apple-
darwin10/opt/smp/erl_atom_table.o obj/i686-apple-
darwin10/opt/smp/erl_bif_table.o obj/i686-apple-
darwin10/opt/smp/erl_bif_ddll.o obj/i686-apple-
darwin10/opt/smp/erl_bif_guard.o obj/i686-apple-
darwin10/opt/smp/erl_bif_info.o obj/i686-apple-
darwin10/opt/smp/erl_bif_op.o obj/i686-apple-darwin10/opt/smp/erl_bif_os.o
obj/i686-apple-darwin10/opt/smp/erl_bif_lists.o obj/i686-apple-
darwin10/opt/smp/erl_bif_trace.o obj/i686-apple-
darwin10/opt/smp/erl_bif_wrap.o obj/i686-apple-
darwin10/opt/smp/erl_trace.o obj/i686-apple-darwin10/opt/smp/copy.o
obj/i686-apple-darwin10/opt/smp/utils.o obj/i686-apple-
darwin10/opt/smp/bif.o obj/i686-apple-darwin10/opt/smp/io.o
obj/i686-apple-darwin10/opt/smp/erl_printf_term.o obj/i686-apple-
darwin10/opt/smp/erl_debug.o obj/i686-apple-
darwin10/opt/smp/erl_md5.o obj/i686-apple-darwin10/opt/smp/erl_message.o
obj/i686-apple-darwin10/opt/smp/erl_process.o obj/i686-apple-
darwin10/opt/smp/erl_process_dict.obj/i686-apple-
darwin10/opt/smp/erl_process_lock.o obj/i686-apple-
darwin10/opt/smp/erl_port_task.o obj/i686-apple-
darwin10/opt/smp/erl_arith.o obj/i686-apple-darwin10/opt/smp/time.o
obj/i686-apple-darwin10/opt/smp/erl_time_sup.o obj/i686-apple-
darwin10/opt/smp/external.o obj/i686-apple-darwin10/opt/smp/dist.o
obj/i686-apple-darwin10/opt/smp/binary.o obj/i686-apple-
darwin10/opt/smp/erl_db.o obj/i686-apple-darwin10/opt/smp/erl_db_util.o
obj/i686-apple-darwin10/opt/smp/erl_db_hash.o obj/i686-apple-
darwin10/opt/smp/erl_db_tree.o obj/i686-apple-
darwin10/opt/smp/fix_alloc.o obj/i686-apple-darwin10/opt/smp/big.o
obj/i686-apple-darwin10/opt/smp/hash.o obj/i686-apple-
darwin10/opt/smp/index.o obj/i686-apple-darwin10/opt/smp/atom.o
obj/i686-apple-darwin10/opt/smp/module.o obj/i686-apple-
darwin10/opt/smp/export.o obj/i686-apple-darwin10/opt/smp/register.o
obj/i686-apple-darwin10/opt/smp/break.o obj/i686-apple-
darwin10/opt/smp/erl_async.o obj/i686-apple-
darwin10/opt/smp/erl_lock_check.o obj/i686-apple-darwin10/opt/smp/erl_gc.o
obj/i686-apple-darwin10/opt/smp/erl_lock_count.o obj/i686-apple-
darwin10/opt/smp/erl_nmgc.o obj/i686-apple-
darwin10/opt/smp/erl_posix_str.o obj/i686-apple-
darwin10/opt/smp/erl_bits.o obj/i686-apple-
darwin10/opt/smp/erl_math.o obj/i686-apple-darwin10/opt/smp/erl_fun.o
obj/i686-apple-darwin10/opt/smp/erl_bif_port.o obj/i686-apple-
darwin10/opt/smp/erl_term.o obj/i686-apple-
darwin10/opt/smp/erl_node_tables.o obj/i686-apple-
darwin10/opt/smp/erl_monitors.obj/i686-apple-
darwin10/opt/smp/erl_process_dump.o obj/i686-apple-
darwin10/opt/smp/erl_obsolete.o obj/i686-apple-
darwin10/opt/smp/erl_bif_timer.o obj/i686-apple-
darwin10/opt/smp/erl_drv_thread.o obj/i686-apple-
darwin10/opt/smp/erl_bif_chksum.o obj/i686-apple-
darwin10/opt/smp/erl_bif_re.o obj/i686-apple-
darwin10/opt/smp/erl_unicode.o obj/i686-apple-
darwin10/opt/smp/packet_parser.o obj/i686-apple-
darwin10/opt/smp/safe_hash.o obj/i686-apple-darwin10/opt/smp/erl_zlib.o
obj/i686-apple-darwin10/opt/smp/erl_nif.o obj/i686-apple-
darwin10/opt/smp/beam_emu.o obj/i686-apple-
darwin10/opt/smp/beam_opcodes.o obj/i686-apple-
darwin10/opt/smp/beam_load.o obj/i686-apple-
darwin10/opt/smp/beam_bif_load.o obj/i686-apple-
darwin10/opt/smp/beam_debug.o obj/i686-apple-
darwin10/opt/smp/beam_bp.o obj/i686-apple-darwin10/opt/smp/beam_catches.o
obj/i686-apple-darwin10/opt/smp/sys.o obj/i686-apple-
darwin10/opt/smp/driver_tab.o obj/i686-apple-darwin10/opt/smp/unix_efile.o
obj/i686-apple-darwin10/opt/smp/gzio.o obj/i686-apple-
darwin10/opt/smp/elib_malloc.o obj/i686-apple-
darwin10/opt/smp/elib_memmove.o obj/i686-apple-
darwin10/opt/smp/sys_float.o obj/i686-apple-darwin10/opt/smp/sys_time.o
obj/i686-apple-darwin10/opt/smp/erl_poll.kp.o obj/i686-apple-
darwin10/opt/smp/erl_check_io.kp.o obj/i686-apple-
darwin10/opt/smp/erl_poll.nkp.o obj/i686-apple-
darwin10/opt/smp/erl_check_io.nkp.o obj/i686-apple-
darwin10/opt/smp/erl_mseg.o obj/i686-apple-
darwin10/opt/smp/erl_unix_sys_ddll.o obj/i686-apple-
darwin10/opt/smp/erl_mtrace_sys_wrap.o obj/i686-apple-
darwin10/opt/smp/efile_drv.o obj/i686-apple-darwin10/opt/smp/inet_drv.o
obj/i686-apple-darwin10/opt/smp/zlib_drv.o obj/i686-apple-
darwin10/opt/smp/ram_file_drv.o obj/i686-apple-darwin10/opt/smp/ttsl_drv.o
-lutil -ldl -lm -lncurses -L../lib/internal/i686-apple-darwin10
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang
$ sudo port -v install erlang configure.args="--enable-m64-build --enable-
darwin-64bit --build=i686-apple-darwin10"
does better do the intended job, but still fails with the "duplicate
symbol _saved_program_buf in obj/i686-apple-darwin10/opt/smp/erl_pbifs.o
and obj/i686-apple-darwin10/opt/smp/erl_main.o" error.
/work/erlang-R13B03/erts/emulator/zlib/obj/i686-apple-darwin10/opt/libz.a
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
/erlang-R13B03/erts/emulator/pcre/obj/i686-apple-darwin10/opt/libepcre.a
-lethread -lpthread -lerts_internal_r
ld: duplicate symbol _saved_program_buf in obj/i686-apple-
darwin10/opt/smp/erl_pbifs.o and obj/i686-apple-
darwin10/opt/smp/erl_main.o
collect2: ld returned 1 exit status
make[3]: ***
[/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_erlang/work
/erlang-R13B03/bin/i686-apple-darwin10/beam.smp] Error 1
--
Ticket URL: <http://trac.macports.org/ticket/22848#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list