From owner-freebsd-current@FreeBSD.ORG Tue Mar 16 11:27:41 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 2C96C16A4CE; Tue, 16 Mar 2004 11:27:41 -0800 (PST) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FBC143D31; Tue, 16 Mar 2004 11:27:40 -0800 (PST) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.10/8.12.9) with ESMTP id i2GJVree047138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Mar 2004 21:31:55 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i2GJRX5r002866; Tue, 16 Mar 2004 21:27:33 +0200 (EET) (envelope-from ru) Date: Tue, 16 Mar 2004 21:27:33 +0200 From: Ruslan Ermilov To: ticso@cicely.de, Dag-Erling Smorgrav Message-ID: <20040316192733.GE2178@ip.net.ua> References: <63357.66.11.183.182.1079448584.squirrel@wettoast.net> <20040316173612.GG610@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BZaMRJmqxGScZ8Mx" Content-Disposition: inline In-Reply-To: <20040316173612.GG610@cicely12.cicely.de> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: Mike Jakubik cc: freebsd-current@FreeBSD.org Subject: Re: 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 19:27:41 -0000 --BZaMRJmqxGScZ8Mx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 16, 2004 at 06:36:12PM +0100, Bernd Walter wrote: > On Tue, Mar 16, 2004 at 09:49:44AM -0500, Mike Jakubik wrote: > > Hello, > >=20 > > 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 f= bsd > > 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: >=20 > Yes - libalias doesn't like -O2. > Recompile libalias without -O2 and maybe without setting CPUTYPE and > you are fine. > IIRC packets go out fine, but incoming packets just get into natd and > never come out again. >=20 Yes, I see a lot of warnings in libalias if compiled with -O2 and with WARNS=3D2. As such, I think it's unsafe to declare world as -O2 safe just yet. Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --BZaMRJmqxGScZ8Mx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAV1UlUkv4P6juNwoRAvE+AKCByigTddUugLqe8yyptb91lAfuwgCfYNAi Rgjmn+yOWvpfX0z7/FLu8bw= =6cVz -----END PGP SIGNATURE----- --BZaMRJmqxGScZ8Mx--