From owner-freebsd-ports@FreeBSD.ORG Fri Apr 8 01:37:11 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 A3A1016A4CE for ; Fri, 8 Apr 2005 01:37:11 +0000 (GMT) Received: from mail.imcc.ca (mail.imcc.ca [69.9.174.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B7C43D39 for ; Fri, 8 Apr 2005 01:37:10 +0000 (GMT) (envelope-from FreeBSD@LogicX.us) Received: (qmail 42737 invoked by uid 89); 8 Apr 2005 01:37:08 -0000 Received: from unknown (HELO ?192.168.1.18?) (LogicX@LogicX.us@69.162.20.209) by mail.imcc.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Apr 2005 01:37:08 -0000 Message-ID: <4255E04B.6020601@LogicX.us> Date: Thu, 07 Apr 2005 21:37:15 -0400 From: Mike Schroll User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Xu References: <425564D9.5050504@LogicX.us> <4255DC88.6060608@freebsd.org> In-Reply-To: <4255DC88.6060608@freebsd.org> 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:37:11 -0000 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" >> >> >