Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2007 11:57:32 +0200
From:      Maxime Henrion <mux@FreeBSD.org>
To:        John Nielsen <lists@jnielsen.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADSUP: new 802.11 work committed
Message-ID:  <20070612095732.GA89572@elvis.mu.org>
In-Reply-To: <200706111513.04693.lists@jnielsen.net>
References:  <466CCC94.5050500@errno.com> <20070611190344.GR44064@bunrab.catwhisker.org> <200706111513.04693.lists@jnielsen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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