Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jul 2004 17:30:49 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc:        current@freebsd.org
Subject:   Re: recent libalias changes
Message-ID:  <xzp1xjqbhee.fsf@dwp.des.no>
In-Reply-To: <20040705133820.GA9159@stud.fit.vutbr.cz> (Divacky Roman's message of "Mon, 5 Jul 2004 15:38:20 %2B0200")
References:  <20040705133820.GA9159@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Divacky Roman <xdivac02@stud.fit.vutbr.cz> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp1xjqbhee.fsf>