From owner-freebsd-ports Mon Apr 15 15: 0:35 2002 Delivered-To: freebsd-ports@freebsd.org Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBw-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 6657D37B404 for ; Mon, 15 Apr 2002 15:00:31 -0700 (PDT) Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id g3FLjob24882; Mon, 15 Apr 2002 23:45:50 +0200 (MEST) Received: from localhost (localhost.informatik.unibw-muenchen.de [127.0.0.1]) by nemesis.informatik.unibw-muenchen.de (Postfix) with ESMTP id 1E1045A548; Mon, 15 Apr 2002 23:45:49 +0200 (CEST) Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001) id DAF095A547; Mon, 15 Apr 2002 23:45:47 +0200 (CEST) Date: Mon, 15 Apr 2002 23:45:47 +0200 From: Oliver Braun To: Sean Chittenden Cc: ports@FreeBSD.ORG Subject: Re: [Maintainer Question] How to handle this? net/rsync core dump solution Message-ID: <20020415214547.GA12354@nemesis.informatik.unibw-muenchen.de> Mail-Followup-To: Oliver Braun , Sean Chittenden , ports@freebsd.org References: <20020415115431.GA8405@nemesis.informatik.unibw-muenchen.de> <20020415114631.E67242@ninja1.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020415114631.E67242@ninja1.internal> User-Agent: Mutt/1.3.28i Organization: University of the Federal Armed Forces Munich, Germany X-Mailer: Mutt http://www.mutt.org/ X-OS: FreeBSD 4.5-STABLE i386 http://www.freebsd.org/ X-Newsreader: SLRN http://www.slrn.org/ X-Uptime: 25 days X-URL: http://ist.unibw-muenchen.de/People/obraun X-Accept-Language: de en X-Location: Europe, Germany, Munich X-Editor: Vim-601 http://www.vim.org/ X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Sean Chittenden [2002-04-15 20:48]: > > PR 36998 reports a problem with net/rsync > > -z option core dumps on large files > > > > I could reproduce this error. The problem does not occur if you install > > manually from source. > > > > The solution on my boxes was to add -O2 to ${CFLAGS}. With -O it does > > not work. Without respection system wide CFLAGS rsync uses -O2. > > > > But how could I handle this in the port? > > > > Add > > CFLAGS+= -O2 > > to the Makefile? > > > > Any other ideas? > That's correct. The only thin you have to worry about is if someone > has -O6 or some other optimization specified in their /etc/make.conf. > I don't know if gcc does the "right thing" or even what that behavior > is. <:~) What if they've explicitly specified a -O? Will it use the > lowest specified optimization? ::shrug:: If you could somehow nuke > the -O*'s then append -O2 that'd probably be the most correct > solution. -sc Thanks, done. Regards, Olli -- Department of Computing Science Federal Armed Forces University Munich http://ist.unibw-muenchen.de/People/obraun/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message