From owner-freebsd-ports@FreeBSD.ORG Fri Jan 28 05:28:36 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 6C22A16A4CE for ; Fri, 28 Jan 2005 05:28:36 +0000 (GMT) Received: from web41205.mail.yahoo.com (web41205.mail.yahoo.com [66.218.93.38]) by mx1.FreeBSD.org (Postfix) with SMTP id 38E2A43D53 for ; Fri, 28 Jan 2005 05:28:36 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 14825 invoked by uid 60001); 28 Jan 2005 05:28:03 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=QUeF/uOA41eNcvHcr54HfJojr+QoVVW8ppIZMGndOK+FJBV8RTVXNidntWhcK19KWZ+exeS5zktWodG7N6GtBkedhLfVKwqyo/uwKM1YSLReTsgZF87bYNsPZl7ku1kaUbS6V9x1bRRctkv0/Az3YL0PKErF9VON/N3nmkcThew= ; Message-ID: <20050128052803.14823.qmail@web41205.mail.yahoo.com> Received: from [213.54.139.49] by web41205.mail.yahoo.com via HTTP; Thu, 27 Jan 2005 21:28:03 PST Date: Thu, 27 Jan 2005 21:28:03 -0800 (PST) From: Arne "Wörner" To: ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: devel/mob / builds but crashes 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: Fri, 28 Jan 2005 05:28:36 -0000 Hi! The port devel/mob builds but crashes at run time. Somehow the current gcc optimizes better than an earlier version, so that some inline-asm instructions get lost. I found the following bug fix: Instead of using the "goto out:" trick to ignore those special instructions, I used "if (iiii==0) { NOP_BLOCK; RET_BLOCK; JMP_BLOCK; }" where "iiii" is a global variable, that is initialized to 1 and never changed (at opt level -O this trick works fine; -O3 works bad). Furthermore "mob" does not detect the Athlon XP 2400 data cache (L1/L2) correctly (it says, there is no data cache, which is most likely wrong). Bye Arne __________________________________ Do you Yahoo!? All your favorites on one personal page – Try My Yahoo! http://my.yahoo.com