From owner-freebsd-ports@FreeBSD.ORG Sat Nov 6 18:45:35 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 76B9116A4CE for ; Sat, 6 Nov 2004 18:45:35 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2265743D2F for ; Sat, 6 Nov 2004 18:45:35 +0000 (GMT) (envelope-from jeffgaofreebsd@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so182716rnf for ; Sat, 06 Nov 2004 10:45:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Tt5ZRD+TFvSwF7sh0lkaYcB9XeOvurNogbC8q4U4+tgXkDcdNm0feHAhhJNbYr6HBPSr3ehycoZC5lHz5MM3vhXnkKZFG0QdzdD3Kkx9PwrUm88T8+axw/ekePYbcw467bWy7SHC101d8TJVRA1obdAjXd5aEUPc5Z2C7BNil3A= Received: by 10.38.209.23 with SMTP id h23mr1060831rng; Sat, 06 Nov 2004 10:45:30 -0800 (PST) Received: by 10.38.74.3 with HTTP; Sat, 6 Nov 2004 10:45:30 -0800 (PST) Message-ID: <639522fe041106104568ced838@mail.gmail.com> Date: Sat, 6 Nov 2004 11:45:30 -0700 From: Jie Gao To: Jeremy Messenger In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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> 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 Reply-To: Jie Gao List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2004 18:45:35 -0000 Yes, removing CPUTYPE is what I did to solve the problem. And I did the build after Oct 28's commit, so the athlon-xp fix did not help in this case. And BTW, my CPU is not a real Pentium 4 but a Xeon with SSE2 support. I assume it runs the same code as Pentium 4 (without SSE3) can run. Am I right? On Fri, 05 Nov 2004 13:38:45 -0600, Jeremy Messenger wrote: > 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 >