HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0

Jie Gao jeffgaofreebsd at gmail.com
Sat Nov 6 10:45:35 PST 2004


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 <mezz7 at cox.net> wrote:
> On Fri, 5 Nov 2004 12:22:00 -0700, Jie Gao <jeffgaofreebsd at gmail.com>
> 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 <ahze at ahze.net> 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 at cox.net  -  mezz at FreeBSD.org
> FreeBSD GNOME Team
> http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
>


More information about the freebsd-ports mailing list