From owner-freebsd-current@FreeBSD.ORG Sat Aug 7 16:00:27 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 70BAE16A4CE for ; Sat, 7 Aug 2004 16:00:27 +0000 (GMT) Received: from av4-2-sn3.vrr.skanova.net (av4-2-sn3.vrr.skanova.net [81.228.9.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00DB943D53 for ; Sat, 7 Aug 2004 16:00:27 +0000 (GMT) (envelope-from lothrandil@n00b.apagnu.se) Received: by av4-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 2FABB37E60; Sat, 7 Aug 2004 18:00:26 +0200 (CEST) Received: from smtp1-1-sn3.vrr.skanova.net (smtp1-1-sn3.vrr.skanova.net [81.228.9.177]) by av4-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 1EB2937E60; Sat, 7 Aug 2004 18:00:26 +0200 (CEST) Received: from [217.208.32.172] (h172n2fls31o926.telia.com [217.208.32.172]) by smtp1-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 39A6D3800A; Sat, 7 Aug 2004 18:00:21 +0200 (CEST) Message-ID: <4114FC87.8060308@n00b.apagnu.se> Date: Sat, 07 Aug 2004 18:00:07 +0200 From: Niclas User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Steve Kargl References: <4114D5D9.5000400@n00b.apagnu.se> <4114F3AF.4030708@samsco.org> <20040807154236.GA26944@troutmask.apl.washington.edu> In-Reply-To: <20040807154236.GA26944@troutmask.apl.washington.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: gcc 3.4.2 with -fmemoize-lookup and -fsave-memoized 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: Sat, 07 Aug 2004 16:00:27 -0000 Steve Kargl wrote: > On Sat, Aug 07, 2004 at 09:22:23AM -0600, Scott Long wrote: > >>Niclas wrote: >> >>>Hi! >>>I tried to upgrade my system from 5.2.1 to current a couple of hours >>>ago. The build died yelling about unrecognized command line options >>>-fmemoize-lookup and -fsave-memoized. It seems that those options is >>>removed, and some more investigation seemed to prove that. >>>Now I'm just wondering, are those options really removed, or am I just >>>being stupid and overlooking something? If they are removed, shouldn't >>>they be removed from src/share/examples/etc/make.conf be removed as well >>>so nobody uses them? >>> >>>Cheers! >>>//Niclas >> >>How exactly are you doing your upgrade? >> > > > Niclas refers to src/share/examples/etc/make.conf, which suggests > that he has CXXFLAGS defined in /etc/make.conf. > >>From src/share/examples/etc/make.con, we find > > # CXXFLAGS controls the compiler settings used when compiling C++ code. > # Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish > # to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" > # alone will remove the often needed contents of CFLAGS from CXXFLAGS. > # > #CXXFLAGS+= -fmemoize-lookups -fsave-memoized > > kargl[193] c++ -fmemoize-lookups -fsave-memoized a.c > cc1plus: error: unrecognized command line option "-fmemoize-lookups" > cc1plus: error: unrecognized command line option "-fsave-memoized" > That's what I was refering to. I'm sorry i wasn't clear enough, should have mentioned that too. I also noticed my computer clock was of by 2 hours, so the time on my previous e-mails is wrong, hope it didn't cause confusions. //Niclas