From owner-freebsd-current@FreeBSD.ORG Mon Jul 5 15:30:59 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 19FF216A4CE for ; Mon, 5 Jul 2004 15:30:59 +0000 (GMT) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6988443D31 for ; Mon, 5 Jul 2004 15:30:58 +0000 (GMT) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 3F09B531A; Mon, 5 Jul 2004 17:30:57 +0200 (CEST) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 52F535309; Mon, 5 Jul 2004 17:30:50 +0200 (CEST) Received: by dwp.des.no (Postfix, from userid 2602) id 0411DB860; Mon, 5 Jul 2004 17:30:49 +0200 (CEST) To: Divacky Roman References: <20040705133820.GA9159@stud.fit.vutbr.cz> From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Mon, 05 Jul 2004 17:30:49 +0200 In-Reply-To: <20040705133820.GA9159@stud.fit.vutbr.cz> (Divacky Roman's message of "Mon, 5 Jul 2004 15:38:20 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR autolearn=no version=2.63 cc: current@freebsd.org Subject: Re: recent libalias changes 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: Mon, 05 Jul 2004 15:30:59 -0000 Divacky Roman writes: > I can sadly report that recent changes to libalias made by des doesnt > help me use natd with -Os built libalias.. it still doesnt work ;( Could you please try to figure out exactly which optimization option breaks libalias? It is most likely one of these: -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks -fgcse -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves -fforce-mem -fpeephole2 -fschedule-insns -fschedule-insns-after-reload -fregmove -fstrict-aliasing -fdelete-null-pointer-checks -freorder-functions Unfortunately, there's no easy way to do this - you have to turn them off one by one (e.g. CFLAGS=3D"-O2 -pipe -fno-reorder-functions") and test the resulting libalias. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no