Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 16:16:18 -0400
From:      Pierre-Luc Drouin <pldrouin@gmail.com>
To:        Mage <mage@mage.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel and buildworld questions
Message-ID:  <BANLkTik6nOOQKNJSWTs7x-NnG8Nw_ETiQA@mail.gmail.com>
In-Reply-To: <4DC99ABA.5010703@mage.hu>
References:  <4DC97839.6010108@mage.hu> <BANLkTi=1GiVgq4Uzd=yuAXpym59gPAzmyg@mail.gmail.com> <4DC982B2.6090303@mage.hu> <BANLkTik8Lu35DpHaGFiaVbB4tFgVe-uYAw@mail.gmail.com> <4DC98B05.7080503@mage.hu> <BANLkTinTyMmBOcmEdFrSt6SZDJjb7yW5Hw@mail.gmail.com> <4DC9953F.3030401@mage.hu> <BANLkTimWdndipQTr9FAyPyd3=5YfSqAVdg@mail.gmail.com> <4DC99ABA.5010703@mage.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 10, 2011 at 4:06 PM, Mage <mage@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-unsubscribe@freebsd.org"
>


It is not necessarily the -O. It can also be the -march=native ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik6nOOQKNJSWTs7x-NnG8Nw_ETiQA>