From owner-cvs-all Fri Aug 2 14:35:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8564737B400; Fri, 2 Aug 2002 14:35:15 -0700 (PDT) Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id C985043E75; Fri, 2 Aug 2002 14:35:14 -0700 (PDT) (envelope-from mi+mx@aldan.algebra.com) Received: from misha.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g72LZ9HV017179 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Fri, 2 Aug 2002 17:35:10 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: corbulon.video-collage.com: Host 250-217.customer.cloud9.net [168.100.250.217] claimed to be misha.murex.com Content-Type: text/plain; charset="koi8-u" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Gerald Pfeifer Subject: Re: cvs commit: ports/lang/gcc31 Makefile distinfo Date: Fri, 2 Aug 2002 17:35:37 -0400 User-Agent: KMail/1.4.2 Cc: "David E. O'Brien" , , References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208021735.37278.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.15 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 02 August 2002 04:21 pm, Gerald Pfeifer wrote: = On Fri, 2 Aug 2002, Mikhail Teterin wrote: = > stage2/xgcc -Bstage2/ -B/opt/i386-portbld-freebsd5.0/bin/ -c -DIN_GCC -g = > -O2 -W -Wall -Wwrite-strings [...] = > [...] = > Mmm, it builds with "-g -O2" instead of the make.conf's CFLAGS. Is = > that intentional, or is it simply too hard to fight? = = I suppose intentional, in that this is how GCC is supposed to build = itself, and in that this is the only exhaustively tested way of = building GCC, by dozens (if not hundreds) of regular testers. This certainly would not be the policy applied to any other port I've heard of... Some of them, actually, go try very hard to use the specified CFLAGS. Also, the -O2 was proven dangerous on more than one occasion before. Is it considered safe now? = It would be easy to override, though. I'd welcome that. If you insist, the use of GNU's "-g -O2" can be left as an option. -mi = Gerald -- Как, Вы разве без шпаги пришли? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message