Date: Thu, 15 Mar 2001 13:34:11 -0800 (PST) From: Matt Dillon <dillon@earth.backplane.com> To: Tim Zingelman <zingelman@fnal.gov> Cc: <freebsd-stable@FreeBSD.ORG> Subject: Re: can't build 4.3-BETA GENERIC kernel with -g Message-ID: <200103152134.f2FLYB447164@earth.backplane.com> References: <Pine.GSO.4.30.0103150109370.15223-100000@nova.fnal.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
:> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103152134.f2FLYB447164>