From owner-freebsd-stable Thu Mar 15 13:37: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 7280D37B719 for ; Thu, 15 Mar 2001 13:36:54 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2FLYB447164; Thu, 15 Mar 2001 13:34:11 -0800 (PST) (envelope-from dillon) Date: Thu, 15 Mar 2001 13:34:11 -0800 (PST) From: Matt Dillon Message-Id: <200103152134.f2FLYB447164@earth.backplane.com> To: Tim Zingelman Cc: Subject: Re: can't build 4.3-BETA GENERIC kernel with -g References: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> NOT make.conf. :> makeoptions DEBUG="-g" : :The result is the same... : :make.conf now has: : CFLAGS= -pipe : COPTFLAGS= -pipe You can keep CFLAGS in /etc/make.conf, but I recommend removing COPTFLAGS from make.conf. Just put COPTFLAGS in the kernel config along with the DEBUG makeoption. :and I just removed the # from the line: : makeoptions DEBUG=-g :in /usr/src/sys/i386/conf/GENERIC :... :make kernel KERNCONF=GENERIC :... :cc -c -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes :-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual :-fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include :-D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 :-fomit-frame-pointer ../../i386/i386/atomic.c :In file included from ../../i386/i386/atomic.c:47: :machine/atomic.h: In function `atomic_set_char': :machine/atomic.h:106: inconsistent operand constraints in an `asm' :... : : - Tim The cc line has a -g in it. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message