[erlang-questions] Error building R12B-4 on SPARC T1

Vance Shipley <>
Sat Sep 13 22:37:49 CEST 2008


Building R12B-4 is failing for me on a Sun T1000 server:

   gcc  -g  -O3 -fomit-frame-pointer
   -I/usr/local/src/otp_src_R12B-4/erts/sparc-sun-solaris2.10
   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -DERTS_SMP -DHAVE_CONFIG_H
   -Wall -Wstrict-prototypes -Wmissing-prototypes
   -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
   -D_POSIX_PTHREAD_SEMANTICS -Wa,-xarch=v8plusa -Ibeam -Isys/unix
   -Isys/common -Isparc-sun-solaris2.10/opt/smp -Isparc-sun-solaris2.10
   -Izlib -Ipcre -Ihipe -I../include/internal
   -I../include/internal/sparc-sun-solaris2.10 -c beam/erl_bif_info.c -o
   obj/sparc-sun-solaris2.10/opt/smp/erl_bif_info.o
   gcc: Internal error: Segmentation Fault (program cg)
   Please submit a full bug report to
    <URL:http://forum.java.sun.com/forum.jspa?forumID=905>.
   make[3]: *** [obj/sparc-sun-solaris2.10/opt/smp/erl_bif_info.o] Error 1
   make[3]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts/emulator'
   make[2]: *** [opt] Error 2
   make[2]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts/emulator'
   make[1]: *** [smp] Error 2
   make[1]: Leaving directory `/usr/local/src/otp_src_R12B-4/erts'
   gmake: *** [emulator] Error 2

This is using SUNWgccfss v4.2.0 although it failed identically with v4.0.3.
I did submit a bug report to Sun as suggested.

	-Vance



More information about the erlang-questions mailing list