From owner-freebsd-ports@FreeBSD.ORG Fri Nov 5 19:38:22 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49BB716A4CE for ; Fri, 5 Nov 2004 19:38:22 +0000 (GMT) Received: from lakermmtao01.cox.net (lakermmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEC8443D53 for ; Fri, 5 Nov 2004 19:38:21 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao01.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20041105193821.IXVT16044.lakermmtao01.cox.net@mezz.mezzweb.com>; Fri, 5 Nov 2004 14:38:21 -0500 Date: Fri, 05 Nov 2004 13:38:45 -0600 To: "Jie Gao" References: <20041102222000.GA65845@xor.obsecurity.org> <639522fe041103144732ea6683@mail.gmail.com> <1099522198.59328.4.camel@blueheron.ahze.net> <200411050919.09547.freebsd.nospam@mekanix.dk> <79D46B84-2F34-11D9-8D06-000A958C81C6@ahze.net> <639522fe041105112218c5c9f8@mail.gmail.com> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <639522fe041105112218c5c9f8@mail.gmail.com> User-Agent: Opera M2/7.54 (Linux, build 751) cc: Michael Johnson cc: freebsd-ports@freebsd.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 19:38:22 -0000 On Fri, 5 Nov 2004 12:22:00 -0700, Jie Gao wrote: > gstreamer-plugins really has problems with particular compiler flags. > On my system I cannot use -O -pipe -march=pentium4 otherwise > gst-register will fail. Try either remove CPUTYPE or switch to -O2 to fix this problem. The -O2 w/ CPUTYPE and -O w/out CPUTYPE run better than -O w/ CPUTYPE in GNOME2 (include gstreamer-plugins). But, I don't know about p4, it might be different case from athlon-xp. Cheers, Mezz > On Fri, 5 Nov 2004 09:10:41 -0500, Michael Johnson wrote: >> >> >> >> On Nov 5, 2004, at 3:19 AM, Bjarne Wichmann Petersen wrote: >> >> > On Wednesday 03 November 2004 23:49, Michael Johnson wrote: >> >> On Wed, 2004-11-03 at 15:47 -0700, Jie Gao wrote: >> >>> I just wonder if it is safe to use -O2 -pipe for kernel + world on >> >>> 5-STABLE now. >> >> works okay for me >> > >> > And ports on 5-STABLE? >> yes, I just started doing this a while back by accident when I trying >> to fix gstreamer-plugins >> and I built world and kernel with -O2 and nothing broke for me so I >> left it. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org