Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jan 2005 21:28:03 -0800 (PST)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        ports@FreeBSD.org
Subject:   devel/mob / builds but crashes
Message-ID:  <20050128052803.14823.qmail@web41205.mail.yahoo.com>

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



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