recent libalias changes

Dag-Erling Smørgrav des at des.no
Mon Jul 5 08:30:59 PDT 2004


Divacky Roman <xdivac02 at 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="-O2 -pipe -fno-reorder-functions") and
test the resulting libalias.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list