On Tue, May 10, 2011 at 4:06 PM, Mage <m...@mage.hu> wrote: > On 05/10/2011 09:55 PM, Pierre-Luc Drouin wrote: > > > > If the -O3 argument in the command above comes from your make.conf, it is > > possible that this level of optimisation causes gcc46 to crash for these > > particular input files... You can try lowering the level of optimisation > as > > a whole when building ruby, or to reduce the optimisation level only when > > linking miniruby > gcc46 -O2 -fno-strict-aliasing -pipe -march=native -fPIC -L. > -rdynamic main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o > array.o bignum.o class.o compar.o complex.o dir.o dln_find.o > enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o > hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o > pack.o parse.o process.o random.o range.o rational.o re.o > regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o > ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o > struct.o time.o transcode.o util.o variable.o compile.o debug.o > iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o > utf_8.o newline.o close.o dmyext.o -lthr -lrt -lcrypt -lm -o miniruby > *** Signal 4 > > gcc46 -O1 -fno-strict-aliasing -pipe -march=native -fPIC -L. > -rdynamic main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o > array.o bignum.o class.o compar.o complex.o dir.o dln_find.o > enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o > hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o > pack.o parse.o process.o random.o range.o rational.o re.o > regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o > ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o > struct.o time.o transcode.o util.o variable.o compile.o debug.o > iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o > utf_8.o newline.o close.o dmyext.o -lthr -lrt -lcrypt -lm -o miniruby > *** Signal 4 > > > I the meanwhile I made a new world, I will try that too. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" >
It is not necessarily the -O. It can also be the -march=native ... _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"