Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 06:51:20 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   option DDB broken between r214547 - r214596
Message-ID:  <20101031135120.GC26123@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--TiqCXmo5T1hvSQQg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On one of my machines, I've been having some issues such that I adjusted
the kernel config to include some debugging options:

options         KDB
options         KDB_TRACE
options         KDB_UNATTENDED
options         DDB
options         DDB_NUMSYM
options         GDB
options         DEBUG_REDZONE

Now, I actually build for the system in question on my build machine
(which builds a GENERIC kernel for itself, as well as kernels for the
above-mentioned machine and another).

This morning, it was running FreeBSD 8.1-STABLE r214547, building
8.1-STABLE r214596.  The GENERIC build succeeded, and went on to the
kernel "ALBERT".

That failed, thus:

=2E..
>>> stage 3.2: building everything
=2E..
cc -c -O -pipe  -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wst=
rict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =
 -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sy=
s -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -inclu=
de opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growt=
h=3D100 --param large-function-growth=3D1000  -mno-align-long-strings -mpre=
ferred-stack-boundary=3D2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3=
 -ffreestanding -fstack-protector -Werror  /usr/src/sys/net/if_debug.c
/usr/src/sys/net/if_debug.c: In function 'if_show_ifnet':
/usr/src/sys/net/if_debug.c:65: error: 'struct ifnet' has no member named '=
if_index_reserved'
*** Error code 1

Stop in /common/S1/obj/usr/src/sys/ALBERT.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.




Commenting out the "DDB" option in the config avoided the failure.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--TiqCXmo5T1hvSQQg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkzNdFcACgkQmprOCmdXAD2j9ACdFS0V/yQNyyoalxbXrwfpvKQO
qXUAn3cMvQXkXou3QVYtxkhHvE7rW1bv
=NDxE
-----END PGP SIGNATURE-----

--TiqCXmo5T1hvSQQg--



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