HEADSUP: new 802.11 work committed

Maxime Henrion mux at FreeBSD.org
Tue Jun 12 09:57:51 UTC 2007


John Nielsen wrote:
> On Monday 11 June 2007 03:03:44 pm David Wolfskill wrote:
> > On Sun, Jun 10, 2007 at 09:16:20PM -0700, Sam Leffler wrote:
> > > From UPDATING:
> > >
> > > 20070610:
> > >         The net80211 layer has changed significantly and all wireless
> > >         drivers that depend on it need to be recompiled.....
> > > Send problems to this mailing list; I will be occupied this week and
> > > other folks have promised to cover any fallout from these changes.
> > >...
> >
> > Caveat:  When I reported this for the first test patchset, I was
> > informed that I was the only one reporting the issues in question.  So
> > this may not apply to anyone else.
> >
> > OK; as was the case for each of the test patchsets, after rebuilding the
> > world & kernel & rebooting the result, I see the following:
> >
> > * /sbin/ifconfig dumps core.
> >   With each of the test patchsets, I tried building a debug version of
> >   ifconfig(8) (using "-g" as the CFLAGS value), which caused a version
> >   of ifconfig to be installed that no longer dumps core.  The following
> >   sequence was sufficient to accomplish this:
> >
> >   * Modify /etc/make.conf to include the line "CFLAGS = -g"
> 
> Note that this clobbers any existing CFLAGS, which by default includes things 
> like -O2, -pipe, and -fno-strict-aliasing. I would try the debug route again 
> but use:
> 
> CFLAGS+= -g
> 
> in make.conf.

For the record, unless things have changed recently, the best way to
accomplish this is to set DEBUG_FLAGS=-g.  It will get added to CFLAGS
without changing the rest, and it will also disable the stripping of
binaries.

Maxime


More information about the freebsd-current mailing list