[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion Compiler Optimizations Affect Execution

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2005-04-07 16:18:08 CEST

On Thu, 2005-04-07 at 09:45 -0400, Mike Schroll wrote:
> 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 <irc://irc.freenode.net/OneOfOne,isnick>
> -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)

O2 implies -funit-at-a-time
-pipe is just a compilation speed option.
-ftracer isn't necessarily useful without profiling information.
Not that this stops people from trying it anyway.

--Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 7 16:20:27 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.