[erlang-questions] Can't build on new Sun T2?

Tim Bray <>
Thu Oct 4 22:55:23 CEST 2007


Any advice?  This should be a good erlang box, I want to run some tests.

sca12-3200a-32 ~/dev/otp_src_R11B-5/> uname -a
SunOS sca12-3200a-32 5.10 Generic_120011-13 sun4v sparc SUNW,SPARC- 
Enterprise-****

./configure showed no problems.

sca12-3200a-32 ~/dev/otp_src_R11B-5/> gmake
... hundreds of lines omitted ...

ld: fatal: relocation error: R_SPARC_32: file obj/sparc-sun- 
solaris2.10/opt/hybrid/hipe_sparc_glue.o: symbol <unknown>: offset  
0xfcec0f6e 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  
0xfcec0fdb 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  
0xfcec0fe1 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  
0xfcec0fe5 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  
0xfcec0fe9 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  
0xfcfbf232 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  
0xfcfbf35d 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  
0xfd0012f6 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  
0xfd001316 is non-aligned
collect2: ld returned 1 exit status
gmake[3]: *** [/home/tb151547/dev/otp_src_R11B-5/bin/sparc-sun- 
solaris2.10/beam.hybrid] Error 1
gmake[3]: Leaving directory `/home/tb151547/dev/otp_src_R11B-5/erts/ 
emulator'
gmake[2]: *** [opt] Error 2
gmake[2]: Leaving directory `/home/tb151547/dev/otp_src_R11B-5/erts/ 
emulator'
gmake[1]: *** [hybrid] Error 2
gmake[1]: Leaving directory `/home/tb151547/dev/otp_src_R11B-5/erts'
gmake: *** [emulator] Error 2

Here's the actual gcc line that blew up:

gcc -o /home/tb151547/dev/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/tb151547/dev/otp_src_R11B-5/erts/obj/sparc-sun- 
solaris2.10/libz.a -lsctp -lethread -lpthread -lerts_internal_r





More information about the erlang-questions mailing list