From owner-freebsd-ports@FreeBSD.ORG Fri Nov 5 23:03:23 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 5B31C16A4D0 for ; Fri, 5 Nov 2004 23:03:23 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 974D743D54 for ; Fri, 5 Nov 2004 23:03:22 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 32550 invoked by uid 65534); 5 Nov 2004 23:02:25 -0000 Received: from p5087DCE1.dip.t-dialin.net (EHLO lofi.dyndns.org) (80.135.220.225) by mail.gmx.net (mp019) with SMTP; 06 Nov 2004 00:02:25 +0100 X-Authenticated: #443188 Received: from kiste.my.domain (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id iA5N1K81033786 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 6 Nov 2004 00:01:21 +0100 (CET) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: Kris Kennaway Date: Sat, 6 Nov 2004 00:01:03 +0100 User-Agent: KMail/1.7.50 References: <20041102222000.GA65845@xor.obsecurity.org> <200411052316.53025.michaelnottebrock@gmx.net> <20041105222350.GA43977@xor.obsecurity.org> In-Reply-To: <20041105222350.GA43977@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5698984.8Gce4ajqfP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411060001.07644.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: FreeBSD ports cc: Michael Johnson cc: freebsd-current@freebsd.org cc: current@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 23:03:23 -0000 --nextPart5698984.8Gce4ajqfP Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday, 5. November 2004 23:23, Kris Kennaway wrote: > On Fri, Nov 05, 2004 at 11:16:51PM +0100, Michael Nottebrock wrote: > > On Friday, 5. November 2004 22:56, Michael Johnson wrote: > > > On Nov 5, 2004, at 4:52 PM, Kris Kennaway wrote: > > > > Same as on 6.x - the bugs are in the ports themselves. Don't do it > > > > if you want your ports to work correctly. > > > > > > Is there a list of what's broke with -O2 in ports anywhere? > > > > It's kinda hard to come up with one based on compiler warnings & > > paranoia. :) > > It might be hard to come up with a definitive list of problems, but > the fact that there are bugs in many ports that are manifested when > they are compiled with -O2 is undeniable. I'd s/many/some, but that's just me (the fact that there are bugs in many=20 ports that are manifested by just compiling them, regardless of CFLAGS, is= =20 undeniable, too ;)). Anyway, regarding the question of the OP, at least KDE should be -O2-safe,= =20 it's been the default optimization level of the project for a long time. Th= at=20 said, I never noticed any cool speed gains from that at runtime - I did=20 notice the increase of compilation-time though (and I notice it more with=20 each gcc update). =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart5698984.8Gce4ajqfP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBjAYzXhc68WspdLARApnAAJ0S5geSG+t8VsE41Y9HVJexRaXTPACgp0K5 9xzWhy1U9FLIWEz0u6+KtIQ= =XPtE -----END PGP SIGNATURE----- --nextPart5698984.8Gce4ajqfP--