[erlang-questions] Solaris 10 build issues - otp_src_R11B-5
raocheng
rc.china@REDACTED
Wed Sep 19 02:51:30 CEST 2007
Hi,
I have searched the mail list and found two similar questions:
http://erlang.org/pipermail/erlang-questions/2007-May/026675.html
http://erlang.org/pipermail/erlang-questions/2007-June/027354.html
I have tried my best to solve my problem according the above two mail
but failed. So I have to trouble you again:)
This is the compile result:
$ uname -a
SunOS suntest05 5.10 Generic_232931-16 sun4u sparc SUNW,Sun-Blade-100
Solaris
$ which as ; which ld ; which cc ; which gmake ; which gcc
/usr/ccs/bin/as
/usr/ucb/ld
/usr/ucb/cc
/opt/sfw/bin/gmake
/opt/sfw/bin/gcc
$ echo $PATH
/usr/ucb:/opt/sfw/bin:...
$ gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
...
$ gmake --version
GNU Make 3.80
...
$ cd /home/test/otp_src_R11B-5
$ ./configure --enable-smp-support
$ gmake
...
gcc -o /home/test/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/hybrid/erl_alloc_util.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_goodfit_alloc.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_bestfit_alloc.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_afit_alloc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_instrument.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_init.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_atom_table.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_table.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_bif_ddll.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_guard.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_info.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_bif_op.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_os.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_lists.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_bif_trace.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_wrap.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_trace.o obj/sparc-
sun-solaris2.10/opt/hybrid/copy.o
obj/sparc-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_message.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_process.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_process_dict.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_arith.o
obj/sparc-sun-solaris2.10/opt/hybrid/time.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_time_sup.o obj/sparc-
sun-solaris2.10/opt/hybrid/external.o
obj/sparc-sun-solaris2.10/opt/hybrid/dist.o
obj/sparc-sun-solaris2.10/opt/hybrid/binary.o obj/sparc-
sun-solaris2.10/opt/hybrid/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-solaris2.10/opt/hybrid/index.o
obj/sparc-sun-solaris2.10/opt/hybrid/atom.o
obj/sparc-sun-solaris2.10/opt/hybrid/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/sparc-sun-solaris2.10/opt/hybrid/erl_lock_check.o obj/sparc-
sun-solaris2.10/opt/hybrid/ggc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_gc.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_nmgc.o obj/sparc-
sun-solaris2.10/opt/hybrid/erl_posix_str.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bits.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_math.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_fun.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_bif_port.o obj/sparc-
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/hybrid/erl_port_task.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_emu.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_opcodes.o obj/sparc-
sun-solaris2.10/opt/hybrid/beam_load.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_bif_load.o
obj/sparc-sun-solaris2.10/opt/hybrid/beam_debug.o obj/sparc-
sun-solaris2.10/opt/hybrid/beam_bp.o
obj/sparc-sun-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/hybrid/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/sparc-sun-solaris2.10/opt/hybrid/erl_check_io.kp.o
obj/sparc-sun-solaris2.10/opt/hybrid/erl_poll.nkp.o obj/sparc-
sun-solaris2.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-solaris2.10/opt/hybrid/hipe_debug.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_gc.o
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_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-solaris2.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
obj/sparc-sun-solaris2.10/opt/hybrid/ram_file_drv.o obj/sparc-
sun-solaris2.10/opt/hybrid/ttsl_drv.o -ldl -lm -lsocket -lnsl -lpthread
-lcurses -L../lib/internal/sparc-sun-solaris2.10/home/test/otp_src_R11B-5/erts/obj/sparc-
sun-solaris2.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>: offset 0xfcec0cfa is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfcec0d5f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfcec0d65 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfcec0d69 is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfcec0d6d is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfcfbf90f is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_glue.o:
symbol <unknown>: offset 0xfd00191e is non-aligned
ld: fatal: relocation error: R_SPARC_32: file
obj/sparc-sun-solaris2.10/opt/hybrid/hipe_sparc_bifs.o:
symbol <unknown>: offset 0xfd00193e is non-aligned
collect2: ld returned 1 exit status
gmake[3]: *** [/home/test/otp_src_R11B-5/bin/sparc-sun-solaris2.10/beam.hybrid]
Error 1
gmake[3]: Leaving directory `/home/test/otp_src_R11B-5/erts/emulator'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory `/home/test/otp_src_R11B-5/erts/emulator'
gmake[1]: *** [hybrid] Error 2
gmake[1]: Leaving directory `/home/test/otp_src_R11B-5/erts'
Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070919/e9e60af7/attachment.htm>
More information about the erlang-questions
mailing list