From owner-freebsd-current@FreeBSD.ORG Fri Aug 22 08:45:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F9EE1065678 for ; Fri, 22 Aug 2008 08:45:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id E44CE8FC1D for ; Fri, 22 Aug 2008 08:45:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A55D8B.dip.t-dialin.net [84.165.93.139]) by redbull.bpaserver.net (Postfix) with ESMTP id E71BE2E274; Fri, 22 Aug 2008 10:45:40 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 6003E130627; Fri, 22 Aug 2008 10:45:38 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m7M8jcmv033129; Fri, 22 Aug 2008 10:45:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 22 Aug 2008 10:45:38 +0200 Message-ID: <20080822104538.17193cp6rqvza65s@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 22 Aug 2008 10:45:38 +0200 From: "Alexander Leidinger" To: "Rohit Tripathi" References: <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> In-Reply-To: <33615c8e0808211038l7b9ab665l67f0439d3f40e6a6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: E71BE2E274.C5224 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-12.904, required 6, BAYES_00 -15.00, J_CHICKENPOX_83 0.60, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: gnome2/x11 slow after optimization! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2008 08:45:48 -0000 Quoting "Rohit Tripathi" (from Thu, 21 Aug 2008 =20 13:38:09 -0400): Adding some more info to what other people already told... > KERNCONF=3DWAV > NO_WERROR=3DYES > WERROR=3D-Wno-error If there's an error in the default setup with the default compiler =20 with the default warning options, it's a problem. You better fail than =20 fall on your nose after installing what was produced. If you use a =20 non-default compiler you are on your own, and using non-default =20 warning options does not make sense if you don't develop new stuff. > #NO_CLEAN=3Dyes > #NO_CLEANDIR=3Dyes > CPUTYPE=3Dcore2 #nocona > ARCH=3Dcore2 #nocona > MACHINE=3Dcore2 #nocona > MACHINE_ARCH=3Dcore2 #nocona Only set one of them (CPUTYPE), the rest will be set automatically if =20 necessary. Don't mess with this. > CFLAGS=3D -O3 -pipe -mtune=3Dcore2 -m128bit-long-double -mfpmath=3Dsse > -ftree-vectorize > CXXFLAGS+=3D -fconserve-space > BDECFLAGS=3D -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-alig= n \ > -Wcast-qual -Wchar-subscripts -Winline \ > -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ > -Wredundant-decls -Wshadow -Wstrict-prototypes =20 > -Wwrite-strings Normally you don't need the BDECFLAGS (only additional warning), =20 except you want to improve the code. > #CFLAGS +=3D ${BDECFLAGS} > COPTFLAGS =3D -O -pipe -mtune=3Dcore2 -m128bit-long-double =20 > -mfpmath=3Dsse Very big no-no! Do not use floating point stuff in COPTFLAGS. This is =20 for the kernel, and you ware not allowed to use floating point stuff =20 in the kernel. Let the CPUTYPE handle the tuning. > DISABLE_SIZE =3D YES > FETCH_CMD =3D /usr/local/bin/wget -c --passive-ftp > ftp_proxy=3D$ftp_proxy Fetch is able to do passive ftp too (and this is the default). You =20 should set the ftp proxy in FETCH_ENV instead, this way it's also =20 available in case you revert pack to the normal FETCH_CMD. Bye, Alexander. --=20 Song Title of the Week: =09"They're putting dimes in the hole in my head to see the change in me." http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137