[erlang-questions] Re: Error building R12B-4 on SPARC T1000

Vance Shipley vances@REDACTED
Tue Jun 23 00:12:33 CEST 2009


I see that in the README it says:

     gcc-4.3.0 has a serious optimizer bug. It produces an
     Erlang emulator that will crash immediately. The bug
     is supposed to be fixed in gcc-4.3.1.

I'm going to get that this is the problem I'm having with
the latest GCCFSS (v4.2.1).  The erlc compiler runs the
emulator but it crashes and it gets hung.

	-Vance

On Mon, Jun 22, 2009 at 04:56:11PM -0400, Vance Shipley wrote:
}  The latest version of the GCCFSS package seems to resolve this problem:
}  
}  	http://cooltools.sunsource.net/gcc
}  
}  This is not a package but a tarball which I untarred and put in my path:
}  
}  $ gcc --version
}  sparc-sun-solaris2.10-gcc (GCC) 4.2.1 (20090222) (gccfss)
}  
}  $ gcc -v
}  Using built-in specs.
}  Target: sparc-sun-solaris2.10
}  Configured with: /net/clpt-v490-1/export/data/bldmstr/20090222_ceres_gcc421/src/configure --prefix= --enable-shared --with-system-zlib --enable-checking=release --disable-libmudflap --enable-languages=c,c++ --with-cpu=v9 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --disable-gnattools --with-mpfr=/ws/gccfss/tools --with-gmp=/ws/gccfss/tools --enable-tls
}  
}  Using this compiler we get past the former problem however a build 
}  still does not succeed.  It hangs here:
}  
}  === Entering application hipe
}  gmake[3]: Entering directory `/export/home/vances/otp_src_R13B01/lib/hipe/misc'
}  erlc -W  +debug_info +warn_exported_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl


More information about the erlang-questions mailing list