Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 23:45:47 +0200
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        Sean Chittenden <sean@chittenden.org>
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>
In-Reply-To: <20020415114631.E67242@ninja1.internal>
References:  <20020415115431.GA8405@nemesis.informatik.unibw-muenchen.de> <20020415114631.E67242@ninja1.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
* Sean Chittenden <sean@chittenden.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020415214547.GA12354>