using -ftracer stops buildworld at shutdown.c

2005-07-26 Thread jason henson
Adding -ftracer to my make.conf causes problems with /src/sbin/shutdown/shutdown.c This is my make.conf settings CPUTYPE=athlon-xp CFLAGS=-O2 -pipe -ffast-math -funroll-loops -ftracer COPTFLAGES=-O2 -pipe -funroll-loops -ffast-math -ftracer Doing a little research I found these items: -ftrace

Re: using -ftracer stops buildworld at shutdown.c

2005-07-27 Thread Stefan Farfeleder
On Tue, Jul 26, 2005 at 06:46:55PM -0400, jason henson wrote: > To avoid this warning, the variables and/or arguments should be > prevented from being optimized by declaring them as volatile. > > So I sprinkled some volatiles around, but mostly got more errors that > said "gcc volatile discard