From owner-freebsd-current Thu Mar 6 5:22:38 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 4592437B401 for ; Thu, 6 Mar 2003 05:22:37 -0800 (PST) Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by mx1.FreeBSD.org (Postfix) with SMTP id EC84343FB1 for ; Thu, 6 Mar 2003 05:22:35 -0800 (PST) (envelope-from kaeru@pd.jaring.my) Received: from unknown (HELO ?219.94.74.164?) (khairil?yusof@219.94.74.164 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 6 Mar 2003 13:22:33 -0000 Subject: Re: -O2 broke ppp NAT From: Khairil Yusof Reply-To: kaeru@pd.jaring.my To: Nuno Teixeira Cc: freebsd-current@freebsd.org In-Reply-To: <20030305220020.GA647@gw.tex.bogus> References: <20030305220020.GA647@gw.tex.bogus> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-XGPcdgbvRPsPTPl3r9Tw" Organization: Message-Id: <1046956926.26378.4.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 06 Mar 2003 21:22:06 +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 --=-XGPcdgbvRPsPTPl3r9Tw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-03-06 at 06:00, Nuno Teixeira wrote: > 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. 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. --=20 Khairil Yusof --=-XGPcdgbvRPsPTPl3r9Tw 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+Z0t9DAqnLW/+/X8RAkUeAJ9JxVnI62ugZPeabvK21jHKjQPueQCdGnLC jbmep7vtMBS/RavaM5NsjM0= =mlRV -----END PGP SIGNATURE----- --=-XGPcdgbvRPsPTPl3r9Tw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message