Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2011 15:55:50 -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:  <BANLkTimWdndipQTr9FAyPyd3=5YfSqAVdg@mail.gmail.com>
In-Reply-To: <4DC9953F.3030401@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 10, 2011 at 3:42 PM, Mage <mage@mage.hu> wrote:

>
> > Since it core dumps with "Illegal instruction", it looks like there cvsup
> is
> > still using some of the ports you compiled with the wrong flags. I would
> try
> > the following:
> >
> > 1) Rename your file /etc/make.conf such that the system stops using it
> (just
> > in case there is still something wrong with it
> > 2) run pkg_deinstall -Rf cvsup (or cvsup-without-gui, depending on what
> you
> > installed exactly)
> > 3) cd /usr/ports/cvsup (or cvsup-without-gui)
> > 4) make clean install
> > 5) Try cvsup again
> I did these steps yesterday. The only difference was that I used
> pkg_cutleaves instead of pkg_deinstall (in several times to remove
> dependencies too).
>
> Removing the UTC zoneinfo file helped with cvsup singal 4. I have no
> idea why.
>
> I still can't compile ruby with rvm and gcc46:
>
> gcc46 -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses
> -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
> -Wno-long-long  -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 have libmap.conf as mentioned in the manual.
>
>        Mage
>
> _______________________________________________
> 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"
>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimWdndipQTr9FAyPyd3=5YfSqAVdg>