From owner-freebsd-current@FreeBSD.ORG Tue Mar 16 06:50:24 2004 Return-Path: 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 8E75616A4CE for ; Tue, 16 Mar 2004 06:50:24 -0800 (PST) Received: from fep02-mail.bloor.is.net.cable.rogers.com (fep02-mail.bloor.is.net.cable.rogers.com [66.185.86.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24B5743D45 for ; Tue, 16 Mar 2004 06:50:24 -0800 (PST) (envelope-from mikej@rogers.com) Received: from wettoast.net ([63.139.3.63]) by fep02-mail.bloor.is.net.cable.rogers.comESMTP <20040316144851.XPHB434741.fep02-mail.bloor.is.net.cable.rogers.com@wettoast.net> for ; Tue, 16 Mar 2004 09:48:51 -0500 Received: from 66.11.183.182 (SquirrelMail authenticated user mikej) by wettoast.net with HTTP; Tue, 16 Mar 2004 09:49:44 -0500 (EST) Message-ID: <63357.66.11.183.182.1079448584.squirrel@wettoast.net> Date: Tue, 16 Mar 2004 09:49:44 -0500 (EST) From: "Mike Jakubik" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep02-mail.bloor.is.net.cable.rogers.com from [63.139.3.63] using ID at Tue, 16 Mar 2004 09:48:51 -0500 Subject: NAT problems when world+kernel compiled with -O2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 14:50:24 -0000 Hello, I ran a cvsup on current yesterday at around 9:50pm EST. Being curious if the world compiles with -O2 yet, I gave it a shot. everything compiled fine, no errors. After a mergemaster, and the reboot everything seemed fine. At this point I went over to my windows machine (which uses the fbsd box as a nat gateway) and I noticed that internet was not working. I was unable to establish any TCP connections to the internet. DNS however was working fine and TCP connections to the box itself worked as well. Internet was also accessible from the fbsd box. I couldn’t find any obvious errors in the configuration (it was not changed since the last cvsup, ~3 weeks ago), so I decided to recompile without -O2, and everything started working ok again. I understand that -O2 is not officially supported, but maybe this can point out some problem that should be looked in to. Here are my make.conf options that were used: CPUTYPE?=athlon CFLAGS= -O2 -pipe Thanks.