From owner-freebsd-ports@FreeBSD.ORG Sun Feb 6 09:22:05 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D0C16A4CE for ; Sun, 6 Feb 2005 09:22:05 +0000 (GMT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id E85F543D49 for ; Sun, 6 Feb 2005 09:22:04 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0C944E1137; Sun, 6 Feb 2005 10:22:04 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id E55DF9ABFD; Sun, 6 Feb 2005 10:22:03 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id D14F292E0E; Sun, 6 Feb 2005 10:22:03 +0100 (CET) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0EFDFD8672; Sun, 6 Feb 2005 10:22:03 +0100 (CET) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.1/8.13.1) with ESMTP id j169M2Uf011922; Sun, 6 Feb 2005 10:22:02 +0100 (CET) (envelope-from q@uni.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.1/8.13.1) with ESMTP id j169M2UY002225; Sun, 6 Feb 2005 10:22:02 +0100 (CET) (envelope-from q@uni.de) Received: (from q@localhost) by roadrunner.q.local (8.13.1/8.13.1/Submit) id j169M1mq002218; Sun, 6 Feb 2005 10:22:01 +0100 (CET) (envelope-from q@uni.de) Date: Sun, 6 Feb 2005 10:22:01 +0100 From: Ulrich Spoerlein To: Jeremy Tregunna Message-ID: <20050206092201.GA910@galgenberg.net> Mail-Followup-To: Jeremy Tregunna , freebsd-ports@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) cc: freebsd-ports@freebsd.org Subject: Re: Ruby 1.8.2_2 segfault X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 09:22:05 -0000 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?