Date: Fri, 7 Mar 2003 17:26:48 +0100 From: Bernd Walter <ticso@cicely9.cicely.de> To: Khairil Yusof <kaeru@pd.jaring.my> Cc: Bruce Cran <bruce@cran.org.uk>, current@FreeBSD.ORG Subject: Re: -O2 broke ppp NAT Message-ID: <20030307162648.GX886@cicely9.cicely.de> In-Reply-To: <1047048436.715.38.camel@daemon.home.net> References: <20030305220020.GA647@gw.tex.bogus> <1046956926.26378.4.camel@daemon.home.net> <20030306172428.GA3146@fourtytwo.brucec.backnet> <1047048436.715.38.camel@daemon.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 07, 2003 at 10:47:17PM +0800, Khairil Yusof wrote: > On Fri, 2003-03-07 at 01:24, Bruce Cran wrote: > > On Thu, Mar 06, 2003 at 09:22:06PM +0800, Khairil Yusof wrote: > > > On Thu, 2003-03-06 at 06:00, Nuno Teixeira wrote: > > > > > > > For the first time I compile current-p3 -> current-p4 with > > > > -march=pentium2 -O2 -mmmx -pipe and aparently everything works ok > > > > except ppp -nat. NAT just don't work on my network. All machines are > > > > able to ping except ftp, http, etc. > > > > > > I can confirm this. nat fails to work with -O2 for usr.sbin/ppp. It > > > compiles cleanly though, but I don't know enough about gcc optimizations > > > to find out how O2 might break it. > > Upon further testing (recompiling usr.sbin/ppp) with no optimizations > except -O -pipe. -nat still fails to work with anything other than ICMP > traffic. > > I'm gonna try rebuild world without -O2, but that's not gonna help trace > where the problem is. :( I can tell you for shure that the problem is in libalias. Natd is staticaly compiled so you need to relink it, for ppp it is sufficient to just replace libalias.so. I have not recompiled the binaries but replaced them with older versions, so I can't say for shure that it depend on compiler options. Someone else already found out, that the calculated checksums are wrong. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030307162648.GX886>