From owner-freebsd-current Wed Apr 5 13:49:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from alcanet.com.au (mail.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 29F9637BD59 for ; Wed, 5 Apr 2000 13:49:17 -0700 (PDT) (envelope-from jeremyp@pc0640.alcatel.com.au) Received: by border.alcanet.com.au id <115212>; Thu, 6 Apr 2000 06:49:23 +1000 From: Peter Jeremy Subject: Re: Kernel trace question (kernel doesn't compile _without_ -O) In-reply-to: <14560.64806.608659.960815@trooper.velocet.net>; from dgilbert@velocet.ca on Wed, Mar 29, 2000 at 04:44:08AM +1000 To: David Gilbert Cc: freebsd-current@FreeBSD.ORG Message-Id: <00Apr6.064923est.115212@border.alcanet.com.au> MIME-version: 1.0 X-Mailer: Mutt 1.0i Content-type: text/plain; charset=us-ascii References: <14560.64806.608659.960815@trooper.velocet.net> Date: Thu, 6 Apr 2000 06:49:22 +1000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 29, 2000 at 04:44:08AM +1000, David Gilbert wrote: >Also... I have noticed that several modules don't want to compile in >the kernel without -O, including kern_synch.c (undefined reference to >__cursig) and atomic.c (inconsistent operand constraints in an `asm'). I am aware of problems with atomic.c, but haven't had the time to fix it properly. My original problem was trying to make the code work in both 3.x and 4.x since gcc 2.7.x and egcs/gcc 2.9.x have imcompatible constraint requirements. I suspect the current approach (inline functions) may not be optimal, but haven't spent enough time experimenting to be certain. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message