Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Aug 2001 06:32:03 +1000
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        GB Clark II <gclarkii@geektech.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Current stable (fresh sup) broken for no opt
Message-ID:  <20010808063203.M506@gsmx07.alcatel.com.au>
In-Reply-To: <0108070132380H.03705@prime.vsservices.com>; from gclarkii@geektech.com on Tue, Aug 07, 2001 at 01:32:38AM -0500
References:  <0108070132380H.03705@prime.vsservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2001-Aug-07 01:32:38 -0500, GB Clark II <gclarkii@geektech.com> wrote:
>When I compile a kernel with no optimiztion(sp) it will bomb in
>atomic with a problem in the asm.  With -O it works fine.

I presume you're talking about the i386 here...

There are problems with gcc's constraint checking - last time I tried,
I couldn't write a set of operand constraints (for these atomic
operations) that would compile both with and without "-O".  You could
try using the "gcc <= 2.8 version" of the ATOMIC_ASM macro - based on
a quick check, this appears to work correctly with "-O0".

Peter

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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