Skip site navigation (1)Skip section navigation (2)
Date:      07 Mar 2003 22:47:17 +0800
From:      Khairil Yusof <kaeru@pd.jaring.my>
To:        Bruce Cran <bruce@cran.org.uk>
Cc:        current@freebsd.org
Subject:   Re: -O2 broke ppp NAT
Message-ID:  <1047048436.715.38.camel@daemon.home.net>
In-Reply-To: <20030306172428.GA3146@fourtytwo.brucec.backnet>
References:  <20030305220020.GA647@gw.tex.bogus> <1046956926.26378.4.camel@daemon.home.net> <20030306172428.GA3146@fourtytwo.brucec.backnet>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-de4uvvF0gkwTvtPZ1X64
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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:
> >=20
> > > For the first time I compile current-p3 -> current-p4 with
> > > -march=3Dpentium2 -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.
> >=20
> > 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 optimization=
s
> > 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. :(

--=20
Khairil Yusof <kaeru@pd.jaring.my>

--=-de4uvvF0gkwTvtPZ1X64
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+aLD0DAqnLW/+/X8RAoDFAKDSIikWOi4n1BK4syrL3xxcIjmGyACguvlI
CKEkNxuSqGPxR2BkoKzxzRw=
=RpGj
-----END PGP SIGNATURE-----

--=-de4uvvF0gkwTvtPZ1X64--


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?1047048436.715.38.camel>