Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 22:06:18 +0200
From:      Mage <mage@mage.hu>
To:        freebsd-questions@freebsd.org
Subject:   Re: kernel and buildworld questions
Message-ID:  <4DC99ABA.5010703@mage.hu>
In-Reply-To: <BANLkTimWdndipQTr9FAyPyd3=5YfSqAVdg@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





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