From owner-freebsd-current Mon May 13 12:59:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id B294337B431 for ; Mon, 13 May 2002 12:58:48 -0700 (PDT) Received: from fwd00.sul.t-online.de by mailout05.sul.t-online.com with smtp id 177Lxz-0003qA-0F; Mon, 13 May 2002 21:58:43 +0200 Received: from dialin.t-online.de (340029380333-0001@[217.226.117.234]) by fmrl00.sul.t-online.com with esmtp id 177Lxh-1RIDeTC; Mon, 13 May 2002 21:58:25 +0200 Received: from t-online.de (doom [172.23.7.254]) by dialin.t-online.de (8.11.6/8.11.6/Rock) with ESMTP id g4DJv7C00139 for ; Mon, 13 May 2002 21:57:07 +0200 (MEST) Message-ID: <3CE01A94.9000109@gmx.de> Date: Mon, 13 May 2002 21:57:08 +0200 From: Daniel Rock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.0rc1) Gecko/20020417 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: current@freebsd.org Subject: GCC-3.1 Optimization -Os broken Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 340029380333-0001@t-dialin.net 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 Hi, after a "make world" I noticed that my dialout was broken (NAT for UDP packets seems to work but not for TCP). After a few tests I finally found the bug: -Os compilation seems broken with gcc-3.1. I normally compile complete world with -Os (instead of -O) (via CFLAGS=-Os in /etc/make.conf). I narrowed the ppp dialout down to libalias: - recompile libalias with -Os => NAT broken - recompile libalias with -O => NAT works again. I know any other optimization than -O isn't supported but this bug (either in libalias or in gcc) should be investigated. Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message