[erlang-questions] Trouble building R11B5 on solaris sparc 10
PJ Durai
pjdtech2000@REDACTED
Fri Jun 15 17:28:55 CEST 2007
Hello
I am encountering problems when I try to build build the recent source
tarball in solaris sparc 10 (this is also a recent version, full
install.)
$ uname -a
SunOS goliath 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-80
$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Build breaks like this.
=================
gmake[5]: Nothing to be done for `all'.
gmake[5]: Leaving directory
`/home/pjdurai/software/otp_src_R11B-5/erts/emulator/zlib'
gmake[4]: Leaving directory
`/home/pjdurai/software/otp_src_R11B-5/erts/emulator/zlib'
gcc -o /home/pjdurai/software/otp_src_R11B-5/bin/sparc-sun-solaris2.10/beam.hybrid
\
obj/sparc-sun-solaris2.10/opt/hybrid/erl_main.o
obj/sparc-sun-solaris2.10/opt/hybrid/preload.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_pbifs.o
obj/sparc-sun-solaris2.10/opt/hybrid/benchmark.o
obj/sparc-sun-solaris2.10 /opt/hybrid/erl_alloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_mtrace.o
obj/sparc-sun-solaris2.10/opt/hyb
rid/erl_alloc_util.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_goodfit_alloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_be
stfit_alloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_afit_alloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_instru
ment.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_init.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_atom_table.o obj/sp
arc-sun-solaris2.10/opt/hybrid/erl_bif_table.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_ddll.o
obj/sparc-sun-s
olaris2.10/opt/hybrid/erl_bif_guard.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_info.o
obj/sparc-sun-solaris2.1 0/opt/hybrid/erl_bif_op.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_os.o
obj/sparc-sun-solaris2.10/opt/hyb
rid/erl_bif_lists.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_trace.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_b
if_wrap.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_trace.o
obj/sparc-sun-solaris2.10/opt/hybrid/copy.o obj/spa
rc-sun-solaris2.10/opt/hybrid/utils.o
obj/sparc-sun-solaris2.10/opt/hybrid/bif.o obj/sparc-sun-solaris2.10
/opt/hybrid/io.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_printf_term.o
obj/sparc-sun-solaris2.10/opt/ hybrid/erl_debug.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_md5.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_messag
e.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_process.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_process_dic
t.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_arith.o
obj/sparc-sun-solaris2.10/opt/hybrid/time.o obj/spar
c-sun-solaris2.10/opt/hybrid/erl_time_sup.o
obj/sparc-sun-solaris2.10/opt/hybrid/external.o
obj/sparc-sun-sol aris2.10/opt/hybrid/dist.o
obj/sparc-sun-solaris2.10/opt/hybrid/binary.o
obj/sparc-sun-solaris2.10/opt/hybr id/erl_db.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_db_util.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_db
_hash.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_db_tree.o
obj/sparc-sun-solaris2.10/opt/hybrid/fix_alloc.o obj
/sparc-sun-solaris2.10/opt/hybrid/big.o
obj/sparc-sun-solaris2.10/opt/hybrid/hash.o obj/sparc-sun-sol
aris2.10/opt/hybrid/index.o
obj/sparc-sun-solaris2.10/opt/hybrid/atom.o
obj/sparc-sun-solaris2.10/opt/hybr id/module.o
obj/sparc-sun-solaris2.10/opt/hybrid/export.o
obj/sparc-sun-solaris2.10/opt/hybrid/register.o
obj/sparc-sun-solaris2.10/opt/hybrid/break.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_async.o obj/spar
c-sun-solaris2.10/opt/hybrid/erl_lock_check.o
obj/sparc-sun-solaris2.10/opt/hybrid/ggc.o
obj/sparc-sun-sol aris2.10/opt/hybrid/erl_gc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_nmgc.o
obj/sparc-sun-solaris2.10/opt/hybr
id/erl_posix_str.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_bits.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_ma
th.o obj/sparc-sun-solaris2.10/opt/hybrid/erl_fun.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_port.o obj/s
parc-sun-solaris2.10/opt/hybrid/erl_term.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_node_tables.o obj/sparc-sun-
solaris2.10/opt/hybrid/erl_monitors.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_process_dump.o
obj/sparc-sun-solaris2
.10/opt/hybrid/erl_obsolete.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_timer.o
obj/sparc-sun-solaris2.10/opt/hybr
id/erl_port_task.o obj/sparc-sun-solaris2.10/opt/hybrid/beam_emu.o
obj/sparc-sun-solaris2.10/opt/hybrid/bea
m_opcodes.o obj/sparc-sun-solaris2.10/opt/hybrid/beam_load.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_bif_loa
d.o obj/sparc-sun-solaris2.10/opt/hybrid/beam_debug.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_bp.o obj/sparc-s
un-solaris2.10/opt/hybrid/beam_catches.o
obj/sparc-sun-solaris2.10/opt/hybrid/sys.o
obj/sparc-sun-solaris2.10/opt/hybrid/ driver_tab.o
obj/sparc-sun-solaris2.10/opt/hybrid/unix_efile.o
obj/sparc-sun-solaris2.10/opt/hybrid/gzio.o obj/sparc-sun-
solaris2.10/opt/hybrid/elib_malloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/elib_memmove.o
obj/sparc-sun-solaris2.10/opt/hy brid/sys_float.o
obj/sparc-sun-solaris2.10/opt/hybrid/sys_time.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_poll.kp.o obj/s
parc-sun-solaris2.10/opt/hybrid/erl_check_io.kp.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_poll.nkp.o
obj/sparc-sun-solar
is2.10/opt/hybrid/erl_check_io.nkp.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_mseg.o
obj/sparc-sun-solaris2.10/opt/hybrid
/erl_unix_sys_ddll.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_mtrace_sys_wrap.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe _bif0.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_bif1.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_bif2.o obj/sparc-sun-s
olaris2.10/opt/hybrid/hipe_debug.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_gc.o
obj/sparc-sun-solaris2.10/opt/hybrid/hi
pe_mode_switch.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_native_bif.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_stack.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_glue.o obj/sparc-sun-s
olaris2.10/opt/hybrid/hipe_sparc_bifs.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_stack.o
obj/sparc-sun-solaris2.10 /opt/hybrid/efile_drv.o
obj/sparc-sun-solaris2.10/opt/hybrid/inet_drv.o
obj/sparc-sun-solaris2.10/opt/hybrid/zlib_drv.o o
bj/sparc-sun-solaris2.10/opt/hybrid/ram_file_drv.o
obj/sparc-sun-solaris2.10/opt/hybrid/ttsl_drv.o -ldl -lm -lsocket -l
nsl -lpthread -lcurses
-L../lib/internal/sparc-sun-solaris2.10
/home/pjdurai/software/otp_src_R11B-5/erts/obj/sparc-sun-s
olaris2.10/libz.a -lsctp -lethread -lpthread -lerts_internal_r
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_glue.o: symbol
<unknown>: o ffset 0xfcec0d12 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfcec0d83 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfcec0d89 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfcec0d8d is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfcec0d91 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_glue.o: symbol
<unknown>: o ffset 0xfcfbef76 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfcfbf0a1 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_glue.o: symbol
<unknown>: o ffset 0xfd001036 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o: symbol
<unknown>: o ffset 0xfd001056 is non-aligned
collect2: ld returned 1 exit status
gmake[3]: *** [/home/pjdurai/software/otp_src_R11B-5/bin/sparc-sun-solaris2.10/beam.hybrid]
Error 1
gmake[3]: Leaving directory
`/home/pjdurai/software/otp_src_R11B-5/erts/emulator'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory
`/home/pjdurai/software/otp_src_R11B-5/erts/emulator'
gmake[1]: *** [hybrid] Error 2
gmake[1]: Leaving directory `/home/pjdurai/software/otp_src_R11B-5/erts'
gmake: *** [emulator] Error 2
I googled around and couldn't find any information about this.
Any ideas?
thanks
pj
More information about the erlang-questions
mailing list