gnome2/x11 slow after optimization!

Steve Kargl sgk at
Thu Aug 21 18:10:40 UTC 2008

On Thu, Aug 21, 2008 at 08:03:27PM +0200, Kris Kennaway wrote:
> Rohit Tripathi wrote:
> >I have a core2duo laptop on which out of curiosity I decided to
> >recompile x11 and gnome2. After a few hours when it was ready, I found
> >gnome crawling painfully slow. I'd click a menu and it'll take 2
> >seconds to appear, I try running terminal, and it take 10 seconds to
> >come up, try typing and keyboard lags by 5-6 seconds.....what I find
> >is really cool is that the ports installed by FreeBSD release are
> >waaaay's my make.conf: (do you see a culprit?)
> >ARCH=core2 #nocona
> >MACHINE=core2 #nocona
> >MACHINE_ARCH=core2 #nocona
> >CFLAGS= -O3 -pipe -mtune=core2 -m128bit-long-double -mfpmath=sse
> >-ftree-vectorize
> > CXXFLAGS+= -fconserve-space
> > COPTFLAGS       =       -O -pipe -mtune=core2 -m128bit-long-double 
> -mfpmath=sse
> Revert all this rampant craziness, you broke something.

It also appears that he's not using the base system C compiler.

troutmask:kargl[203] cc -mtune=core2 -o z h.c
h.c:1: error: bad value (core2) for -mtune= switch


More information about the freebsd-current mailing list