dev-lang/smlnj-110.75 fails to build with an error from sml: Fatal error -- bogus fault not in ML: sig = 11, code = 0x5356c35d, pc = 0x5356c35d Reproducible: Always Steps to Reproduce: 1. emerge said version of smlnj Actual Results: Build failure Expected Results: Clean build The Problem seems to be limited to the 4.6 branch of gcc, I tried 2 different 4.6.x versions to confirm this. Building with 4.4/4.5 seems to work as expected.
USE flags used to build gcc are: sys-devel/gcc-4.6.3:4.6 USE="cxx fortran gcj gtk mudflap nls nptl objc objc++ openmp (-altivec) -bootstrap -build -doc (-fixed-point) -go -graphite (-hardened) (-libssp) (-multilib) -multislot -nocxx -nopie -nossp -objc-gc {-test} -vanilla"
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 329396 [details] build.log
Created attachment 329406 [details] emerge --info
I have the same problem for gcc 4.6.3 and both versions of the smlnj in the tree (110.71 110.75). There seems to be no open bug report that I could find upstream. Would temporarily setting the gcc version higher/lower merging the sml and then setting it back to 4.6 again work? Has anyone tried?
This problem seems to be restricted to gcc 4.6. I successfully compiled smlnj with 4.5.4, 4.7.2-r1 and 4.8.0 and they all appear to run without a trouble, so changing the gcc-version, compiling smlnj and changing it back is an option, but it's dirty.
I can confirm that I was able to compile smlnj-110.75 with with gcc-4.5.4 but received the error message mentioned in this bug with both gcc-4.6.3 and gcc-4.7.3.
version 110.75 no longer in the tree