From owner-freebsd-current Fri Mar 7 6:48:30 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58B0837B401 for ; Fri, 7 Mar 2003 06:48:28 -0800 (PST) Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D43E43FB1 for ; Fri, 7 Mar 2003 06:48:26 -0800 (PST) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.94.75.29?) (khairil?yusof@219.94.75.29 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Mar 2003 14:48:18 -0000 Subject: Re: -O2 broke ppp NAT From: Khairil Yusof Reply-To: kaeru@pd.jaring.my To: Bruce Cran Cc: current@freebsd.org 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-de4uvvF0gkwTvtPZ1X64" Organization: Message-Id: <1047048436.715.38.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 07 Mar 2003 22:47:17 +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-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 --=-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