From owner-p4-projects@FreeBSD.ORG Thu May 29 15:23:25 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1E94D37B404; Thu, 29 May 2003 15:23:25 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C38CE37B401 for ; Thu, 29 May 2003 15:23:24 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B43D43FBF for ; Thu, 29 May 2003 15:23:24 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4TMNO0U067326 for ; Thu, 29 May 2003 15:23:24 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4TMNN60067323 for perforce@freebsd.org; Thu, 29 May 2003 15:23:23 -0700 (PDT) Date: Thu, 29 May 2003 15:23:23 -0700 (PDT) Message-Id: <200305292223.h4TMNN60067323@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 32062 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 22:23:26 -0000 http://perforce.freebsd.org/chv.cgi?CH=32062 Change 32062 by peter@peter_hammer on 2003/05/29 15:22:29 Add -fno-asynchronous-unwind-tables to stop generating the wasteful (since we dont use it yet) dwarf2 unwind tables. Detect DDB and add -fno-omit-frame-pointer if so. I'm not sure that I can really do this, but lets find out. :-) Affected files ... .. //depot/projects/hammer/sys/conf/Makefile.amd64#11 edit .. //depot/projects/hammer/sys/conf/kern.mk#11 edit Differences ... ==== //depot/projects/hammer/sys/conf/Makefile.amd64#11 (text+ko) ==== @@ -31,6 +31,11 @@ .endif .include "$S/conf/kern.pre.mk" +DDB_ENABLED!= grep DDB opt_ddb.h +.if ${DDB_ENABLED} != "" +CFLAGS+= -fno-omit-frame-pointer +.endif + MKMODULESENV+= MACHINE=amd64 %BEFORE_DEPEND ==== //depot/projects/hammer/sys/conf/kern.mk#11 (text+ko) ==== @@ -58,7 +58,8 @@ # .if ${MACHINE_ARCH} == "amd64" CFLAGS+= -mcmodel=kernel -mno-red-zone \ - -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float + -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float \ + -fno-asynchronous-unwind-tables .endif #