Re: HEADSUP: new 802.11 work committed

From: Maxime Henrion <mux_at_FreeBSD.org>
Date: Tue, 12 Jun 2007 11:57:32 +0200
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
Received on Tue Jun 12 2007 - 07:57:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC