From owner-svn-src-head@freebsd.org Wed Mar 28 05:21:03 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E486F5D5A0; Wed, 28 Mar 2018 05:21:03 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9320275D72; Wed, 28 Mar 2018 05:21:02 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with ESMTPA id 13VzfoGwIYxCT13W1fKIfN; Tue, 27 Mar 2018 23:20:54 -0600 X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=v2DPQv5-lfwA:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=_RjAawW3LSUfK_qug2oA:9 a=iEftzS5lTzf907dh:21 a=Xk4QBb-rx3vUO4Uu:21 a=UM1k_8dLX-k8ut9f:21 a=CjuIK1q_8ugA:10 a=ObycXa6Y4eVlmf85thwA:9 a=lq-CBCgAEkoObFiM:21 a=Rs5RPl2N3c-OZ47p:21 a=WQy7hhfgomKDNVS9:21 a=_W_S_7VecoQA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from [10.196.232.159] (unknown [24.244.29.166]) by spqr.komquats.com (Postfix) with ESMTPSA id 8B3CD143; Tue, 27 Mar 2018 22:20:50 -0700 (PDT) MIME-Version: 1.0 From: Cy Schubert Subject: RE: svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32amd64/linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtracecddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/inc... Date: Tue, 27 Mar 2018 23:20:53 -0600 To: "O. Hartmann" , John Baldwin CC: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Message-Id: <20180328052050.8B3CD143@spqr.komquats.com> X-CMAE-Envelope: MS4wfMbSnLmornqtuovjUO06nbr8dgLl9hxJANwsSj/AkWO40PNBo4XRpYeMggo6zigOYWy8FqUILq7MGCK6qo3/oldTvPDLT+BaiPKgcnEksw4fDrQC+VdL d2Q3bOM9voxC60vvarm/VXTJ64aZVoXLhXRW33IJbnhBAPbIIW+kHl6lrkx9K2R7qTzgMJLCPlI+4EJfm66BT2vc4rZrgBArfqpoR65gG0GAQttPpjahKEc+ R6xjtMFg0SmHAvDBv6apulYAzSXULpeJETTUIs8J/YWIHMBRK9TivGjuU20u6/vgglY6NniV4uqgvKicFsbkCUOCiwHH7pbVPI+9IQBZClY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 05:21:03 -0000 Have you disabled DDB in your kernel config? --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Also, this old phone only supports top post. Apologies. Cy Schubert or The need of the many outweighs the greed of the few. --- -----Original Message----- From: O. Hartmann Sent: 27/03/2018 22:45 To: John Baldwin Cc: src-committers@freebsd.org; svn-src-all@freebsd.org; svn-src-head@freeb= sd.org Subject: Re: svn commit: r331650 - in head/sys: amd64/amd64 amd64/ia32amd64= /linux amd64/linux32 cddl/contrib/opensolaris/uts/intel/dtracecddl/dev/dtra= ce/amd64 cddl/dev/dtrace/i386 i386/i386 i386/linux x86/inc... On Tue, 27 Mar 2018 20:57:51 +0000 (UTC) John Baldwin wrote: > Author: jhb > Date: Tue Mar 27 20:57:51 2018 > New Revision: 331650 > URL: https://svnweb.freebsd.org/changeset/base/331650 >=20 > Log: > Remove very old and unused signal information codes. > =20 > These have been supplanted by the MI signal information codes in > since 7.0. The FPE_*_TRAP ones were deprecated even > earlier in 1999. > =20 > PR: 226579 (exp-run) > Reviewed by: kib > Differential Revision: https://reviews.freebsd.org/D14637 >=20 > Modified: > head/sys/amd64/amd64/trap.c > head/sys/amd64/ia32/ia32_signal.c > head/sys/amd64/linux/linux_sysvec.c > head/sys/amd64/linux32/linux32_sysvec.c > head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c > head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c > head/sys/cddl/dev/dtrace/i386/dtrace_subr.c > head/sys/i386/i386/trap.c > head/sys/i386/linux/linux_sysvec.c > head/sys/x86/include/signal.h > head/sys/x86/include/trap.h >=20 > Modified: head/sys/amd64/amd64/trap.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/amd64/trap.c Tue Mar 27 20:54:57 2018 > (r331649) +++ head/sys/amd64/amd64/trap.c Tue Mar 27 20:57:51 > 2018 (r331650) @@ -95,6 +95,7 @@ PMC_SOFT_DEFINE( , , page_fault, > write); #include > #endif > #include > +#include > #include > =20 > #ifdef KDTRACE_HOOKS > @@ -338,14 +339,14 @@ trap(struct trapframe *frame) > ucode =3D SEGV_ACCERR; > } else { > signo =3D SIGBUS; > - ucode =3D BUS_PAGE_FAULT; > + ucode =3D T_PAGEFLT; > } > } else if (prot_fault_translation =3D=3D 1) { > /* > * Always compat mode. > */ > signo =3D SIGBUS; > - ucode =3D BUS_PAGE_FAULT; > + ucode =3D T_PAGEFLT; > } else { > /* > * Always SIGSEGV mode. >=20 > Modified: head/sys/amd64/ia32/ia32_signal.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/ia32/ia32_signal.c Tue Mar 27 20:54:57 2018 > (r331649) +++ head/sys/amd64/ia32/ia32_signal.c Tue Mar 27 20:57:51 > 2018 (r331650) @@ -82,6 +82,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > =20 > #ifdef COMPAT_FREEBSD4 > static void freebsd4_ia32_sendsig(sig_t, ksiginfo_t *, sigset_t *); >=20 > Modified: head/sys/amd64/linux/linux_sysvec.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/linux/linux_sysvec.c Tue Mar 27 20:54:57 > 2018 (r331649) +++ head/sys/amd64/linux/linux_sysvec.c Tue Mar > 27 20:57:51 2018 (r331650) @@ -72,6 +72,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > =20 > #include > #include >=20 > Modified: head/sys/amd64/linux32/linux32_sysvec.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/amd64/linux32/linux32_sysvec.c Tue Mar 27 20:54:57 > 2018 (r331649) +++ head/sys/amd64/linux32/linux32_sysvec.c Tue > Mar 27 20:57:51 2018 (r331650) @@ -75,6 +75,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > =20 > #include > #include >=20 > Modified: head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa= .c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c > Tue Mar 27 20:54:57 2018 (r331649) +++ > head/sys/cddl/contrib/opensolaris/uts/intel/dtrace/fasttrap_isa.c Tue > Mar 27 20:57:51 2018 (r331650) @@ -52,6 +52,7 @@ #include > #include > #include > +#include > #endif > #include > #ifdef illumos >=20 > Modified: head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c Tue Mar 27 20:54:57 > 2018 (r331649) +++ head/sys/cddl/dev/dtrace/amd64/dtrace_subr.c > Tue Mar 27 20:57:51 2018 (r331650) @@ -44,6 +44,7 @@ > #include > #include > #include > +#include > #include > =20 > extern void dtrace_getnanotime(struct timespec *tsp); >=20 > Modified: head/sys/cddl/dev/dtrace/i386/dtrace_subr.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/cddl/dev/dtrace/i386/dtrace_subr.c Tue Mar 27 20:54:57 > 2018 (r331649) +++ head/sys/cddl/dev/dtrace/i386/dtrace_subr.c > Tue Mar 27 20:57:51 2018 (r331650) @@ -45,6 +45,7 @@ > #include > #include > #include > +#include > #include > =20 > extern uintptr_t kernelbase; >=20 > Modified: head/sys/i386/i386/trap.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/i386/i386/trap.c Tue Mar 27 20:54:57 2018 (r331649) > +++ head/sys/i386/i386/trap.c Tue Mar 27 20:57:51 2018 (r331650) > @@ -97,6 +97,7 @@ PMC_SOFT_DEFINE( , , page_fault, write); > #include > #endif > #include > +#include > #include > #include > =20 > @@ -416,14 +417,14 @@ user_trctrap_out: > ucode =3D SEGV_ACCERR; > } else { > signo =3D SIGBUS; > - ucode =3D BUS_PAGE_FAULT; > + ucode =3D T_PAGEFLT; > } > } else if (prot_fault_translation =3D=3D 1) { > /* > * Always compat mode. > */ > signo =3D SIGBUS; > - ucode =3D BUS_PAGE_FAULT; > + ucode =3D T_PAGEFLT; > } else { > /* > * Always SIGSEGV mode. >=20 > Modified: head/sys/i386/linux/linux_sysvec.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/i386/linux/linux_sysvec.c Tue Mar 27 20:54:57 2018 > (r331649) +++ head/sys/i386/linux/linux_sysvec.c Tue Mar 27 20:57:51 > 2018 (r331650) @@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$"); > #include > #include > #include > +#include > =20 > #include > #include >=20 > Modified: head/sys/x86/include/signal.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/x86/include/signal.h Tue Mar 27 20:54:57 2018 > (r331649) +++ head/sys/x86/include/signal.h Tue Mar 27 20:57:51 > 2018 (r331650) @@ -43,10 +43,6 @@ > #include > #include > =20 > -#if __BSD_VISIBLE > -#include /* codes for SIGILL, SIGFPE */ > -#endif > - > #ifdef __i386__ > typedef int sig_atomic_t; > =20 >=20 > Modified: head/sys/x86/include/trap.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/x86/include/trap.h Tue Mar 27 20:54:57 2018 > (r331649) +++ head/sys/x86/include/trap.h Tue Mar 27 20:57:51 > 2018 (r331650) @@ -66,30 +66,6 @@ > #define T_RESERVED 30 /* reserved (unknown) */ > #define T_DTRACE_RET 32 /* DTrace pid return */ > =20 > -/* XXX most of the following codes aren't used, but could be. */ > - > -/* definitions for */ > -#define ILL_RESAD_FAULT T_RESADFLT > -#define ILL_PRIVIN_FAULT T_PRIVINFLT > -#define ILL_RESOP_FAULT T_RESOPFLT > -#define ILL_ALIGN_FAULT T_ALIGNFLT > -#define ILL_FPOP_FAULT T_FPOPFLT /* coprocessor > operand fault */ - > -/* old FreeBSD macros, deprecated */ > -#define FPE_INTOVF_TRAP 0x1 /* integer overflow */ > -#define FPE_INTDIV_TRAP 0x2 /* integer divide by zero */ > -#define FPE_FLTDIV_TRAP 0x3 /* floating/decimal divide > by zero */ -#define FPE_FLTOVF_TRAP 0x4 /* floating > overflow */ -#define FPE_FLTUND_TRAP 0x5 /* floating > underflow */ -#define FPE_FPU_NP_TRAP 0x6 /* floating > point unit not present */ -#define FPE_SUBRNG_TRAP > 0x7 /* subrange out of bounds */ - > -/* codes for SIGBUS */ > -#define BUS_PAGE_FAULT T_PAGEFLT /* page fault > protection base */ -#define BUS_SEGNP_FAULT > T_SEGNPFLT /* segment not present */ -#define > BUS_STK_FAULT T_STKFLT /* stack segment */ -#define > BUS_SEGM_FAULT T_RESERVED /* segment protection base */ - > /* Trap's coming from user mode */ > #define T_USER 0x100 > =20 > _______________________________________________ > svn-src-head@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" make buildkernel fails now with the error: [...] --- machdep.o --- /usr/src/sys/amd64/amd64/machdep.c:520:20: error: use of undeclared identif= ier 'T_PROTFLT' ksi.ksi_trapno =3D T_PROTFLT; ^ --- modules-all --- [...]