From owner-cvs-all@FreeBSD.ORG Wed May 7 21:47:08 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863F7106564A; Wed, 7 May 2008 21:47:08 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao102.cox.net (eastrmmtao102.cox.net [68.230.240.8]) by mx1.freebsd.org (Postfix) with ESMTP id CF4DB8FC18; Wed, 7 May 2008 21:47:07 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao102.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080507214707.FFNZ7199.eastrmmtao102.cox.net@eastrmimpo01.cox.net>; Wed, 7 May 2008 17:47:07 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id Nln51Z00C4iy4EG02ln5fp; Wed, 07 May 2008 17:47:06 -0400 Date: Wed, 07 May 2008 16:49:12 -0500 To: "Sergey A. Osokin" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <200805071306.m47D6CwN021711@repoman.freebsd.org> <20080507202217.GI70171@FreeBSD.org> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20080507202217.GI70171@FreeBSD.org> User-Agent: Opera Mail/9.27 (Linux) Cc: cvs-ports@freebsd.org, Alex Tutubalin , cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/graphics/libraw Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2008 21:47:08 -0000 On Wed, 07 May 2008 15:22:18 -0500, Sergey A. Osokin wrote: > On Wed, May 07, 2008 at 02:20:51PM -0500, Jeremy Messenger wrote: >> On Wed, 07 May 2008 08:06:12 -0500, Sergey A. Osokin >> wrote: >> >> >osa 2008-05-07 13:06:12 UTC >> > >> > FreeBSD ports repository >> > >> > Modified files: >> > graphics/libraw Makefile >> > Log: >> > Add documentation and examples. >> > Also, add compile optimization. [*] >> > Bump PORTREVISION. >> >> There is no such of -O4 in GCC document. You should change it to make >> sense, -O3. >> >> http://gcc.gnu.org/onlinedocs/gcc-4.2.3/gcc/Optimize-Options.html > > I've talk about compile optimization with libraw author and he said he > using > gcc 3.x and 4.x and his optimization works like a charm. > I'm also test -O4 on my FreeBSD 6.2-S box and under 8.0-C on amd64 > (sledge). > > Jeremy, do you have any problem with compiling libraw? There is no problem and I am not using it. The -O4 and above are same as with -O3, so it doesn't make any sense for anyone to get above than -O3 since it doesn't exists in ideal. Why not add -O3 instead of -O4 to be more realistic? Also, avoid the blindspot when GCC addes -O4 in future that might break other application that use libraw. It can makes difficult to debug. > I'm also Cc'ed this letter to libraw author Alex Tutubalin. > Alex, could you provide more information about compile optimization? The URL of GCC docuement isn't good enough? Unless there is an unoffical -O4 patch? Feel free to correct me. It's only a suggest, so the choice is your. Cheers, Mezz > Thank you. -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org