Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2005 10:22:01 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        Jeremy Tregunna <jtregunna@blurgle.ca>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Ruby 1.8.2_2 segfault
Message-ID:  <20050206092201.GA910@galgenberg.net>
In-Reply-To: <e3e93e2a9b1547fbab04adc9e7677710@blurgle.ca>
References:  <e3e93e2a9b1547fbab04adc9e7677710@blurgle.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05.02.2005 at 09:02:35 -0500, Jeremy Tregunna wrote:
> Receiving a segfault when trying to portupgrade, relevant information 
> shown below (no errors prior):
> 
> cc -shared -Wl,-soname,libruby18.so.18  array.o  bignum.o  class.o  
> compar.o  dir.o  dln.o  enum.o  error.o  eval.o  file.o  gc.o  hash.o  
> inits.o  io.o  marshal.o  math.o  numeric.o  object.o  pack.o  parse.o  
> process.o  prec.o  random.o  range.o  re.o  regex.o  ruby.o  signal.o  
> sprintf.o  st.o  string.o  struct.o  time.o  util.o  variable.o  
> version.o   dmyext.o -lpthread -lcrypt -lm   -o libruby18.so.18
> ./lib/ftools.rb:204: [BUG] Segmentation fault
> ruby 1.8.2 (2004-12-25) [sparc64-freebsd5]
> 
> Abort trap (core dumped)

This happend to me when building with -Os, any flags above -O would seem
to trigger this.

Compiling it with icc and insane optimizations works ok, btw.

Ulrich Spoerlein
-- 
 PGP Key ID: F0DB9F44				Encrypted mail welcome!
Fingerprint: F1CE D062 0CA9 ADE3 349B  2FE8 980A C6B5 F0DB 9F44
Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."
didn't you understand?



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