From owner-freebsd-ports@FreeBSD.ORG Fri Apr 8 01:53:38 2005 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 4C8BA16A4CE for ; Fri, 8 Apr 2005 01:53:38 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05AEA43D39; Fri, 8 Apr 2005 01:53:38 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j381rax1083075; Fri, 8 Apr 2005 01:53:37 GMT (envelope-from davidxu@freebsd.org) Message-ID: <4255E43C.8010804@freebsd.org> Date: Fri, 08 Apr 2005 09:54:04 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Schroll References: <425564D9.5050504@LogicX.us> <4255DC88.6060608@freebsd.org> <4255E04B.6020601@LogicX.us> In-Reply-To: <4255E04B.6020601@LogicX.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: FreeBSD Port: subversion-1.1.3 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, 08 Apr 2005 01:53:38 -0000 I heard only -O works, -O2 does not work, -Os sometimes is a higher optimization level than -O2. Mike Schroll wrote: > what specifically should I avoid? and/or is there a different GCC I > should be using? > I've had no problem compiling all the other ports I use (239) with the > -Os -pipe and CPUTYPE=p4 > the only one I can tell so far that had a problem was subversion > > David Xu wrote: > >> There is rumor that that GCC can not generate useful P4 code, better >> to avoid it at the present. >> >> David Xu >> >> Mike Schroll wrote: >> >>> Subversion 1.1.4 is out, and I'm curious if it fixes this issue that >>> I submitted to the subversion devel mailing list: >>> >>> Configuring Subversion on a new i386 FreeBSD 5.3-RELEASE box I decided >>> to turn on the following optimizations in make.conf: >>> >>> CPUTYPE?=p4 >>> CFLAGS= -Os -pipe >>> >>> gcc (GCC) 3.4.2 [FreeBSD] 20040728 >>> >>> While compiling the subversion port subversion-1.1.3 with these flags, >>> compilation succeeds w/o error, however errors occur during execution. >>> While using TortoiseSVN on windows, and doing an svn+ssh checkout I >>> consistently get 'svn: Malformed network data' errors at a point, >>> and am >>> unable to further the checkout process on repeated attempts. >>> >>> I've found the only way to resolve this issue was by recompiling >>> subversion with the following: >>> >>> CPUTYPE?=p4 >>> CFLAGS= -O -pipe >>> >>> This information may be handy for anyone else getting this nondescript >>> error from subversion. I'm not knowledgeable enough in debugging to >>> try >>> to tackle where the problem might be. I encourage anyone else to >>> try to >>> duplicate this issue. I get the same issue when doing -O2. >>> >>> P.S. >>> from IRC: OneOfOne >>> -march=pentium4 -mtune=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer >>> -mfpmath=sse -ffast-math -funit-at-a-time << my cflags (gcc >>> v3.4.3-20050110) >>> In some quick, informal testing, no errors are apparant. >>> This may lead to being a FreeBSD issue, or perhaps just my particular >>> system. >>> >>> -Mike Schroll >>> >>> Applied Networking System Administration Major >>> Rochester Institute of Technology >>> Rochester, NY >>> >>> Information Sciences and Technology Major >>> Penn State University >>> University Park, PA >>> >>> FreeBSD@LogicX.us >>> AIM: L0g1cX >>> http://MSchroll.com >>> >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to >>> "freebsd-ports-unsubscribe@freebsd.org" >>> >>> >> > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > >