From owner-freebsd-current@FreeBSD.ORG Wed Jul 28 15:24:19 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6F4B16A4CE for ; Wed, 28 Jul 2004 15:24:19 +0000 (GMT) Received: from cpanel.ezone.ru (cpanel.ezone.ru [213.85.31.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id E256643D55 for ; Wed, 28 Jul 2004 15:24:18 +0000 (GMT) (envelope-from mcsi@mcsi.pp.ru) Received: from [172.16.4.28] (zombie.ezone.ru [195.128.162.78]) (authenticated bits=0) by cpanel.ezone.ru (8.13.0/8.12.11) with ESMTP id i6SFOEII086008 for ; Wed, 28 Jul 2004 19:24:14 +0400 (MSD) (envelope-from mcsi@mcsi.pp.ru) Message-ID: <4107C519.5040101@mcsi.pp.ru> Date: Wed, 28 Jul 2004 19:24:09 +0400 From: Maxim Maximov User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040720 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: current@freebsd.org References: <41078B9E.2030603@mcsi.pp.ru> <20040728113014.GV82302@elvis.mu.org> <4107BE27.6050003@mcsi.pp.ru> In-Reply-To: <4107BE27.6050003@mcsi.pp.ru> Content-Type: multipart/mixed; boundary="------------030902020205030106060402" X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail3.ezone.ru Subject: Re: build is broken after gcc import X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 15:24:19 -0000 This is a multi-part message in MIME format. --------------030902020205030106060402 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Maxim Maximov wrote: > > > Now traceroute builds fine, thanks! But buildkernel fails (after > successful buildworld): > > -------------------------------------------------------------- > >>> stage 3.1: making dependencies > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/ULTRA; MAKEOBJDIRPREFIX=/usr/obj > MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= > GROFF_BIN_PATH=/usr/obj/usr/src/i386/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/i386/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/i386/legacy/usr/share/tmac > DESTDIR=/usr/obj/usr/src/i386 _SHLIBDIRPREFIX=/usr/obj/usr/src/i386 > INSTALL="sh /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > /usr/obj/usr/src/make.i386/make KERNEL=kernel depend -DNO_MODULES_OBJ > rm -f .olddep > if [ -f .depend ]; then mv .depend .olddep; fi > /usr/obj/usr/src/make.i386/make _kernel-depend > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath > -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm > -D_KERNEL -include opt_global.h -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding > /usr/src/sys/i386/i386/genassym.c > cc1: error: unrecognized command line option "-fformat-extensions" > *** Error code 1 And attached patch fixes the problem. -- Maxim Maximov --------------030902020205030106060402 Content-Type: text/plain; name="kern.mk.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kern.mk.patch" Index: kern.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.mk,v retrieving revision 1.42 diff -u -r1.42 kern.mk --- kern.mk 14 May 2004 13:35:46 -0000 1.42 +++ kern.mk 28 Jul 2004 15:21:26 -0000 @@ -12,7 +12,7 @@ .else CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ - -fformat-extensions -std=c99 + -std=c99 .endif # # The following flags are next up for working on: --------------030902020205030106060402--