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
[EMAIL PROTECTED]         Usergroup           [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to