Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 11:16:33 -0600 (CST)
From:      Kirk Strauser <kirk@strauser.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/46834: GENERIC kernel doesn't compile on Alpha as of recently
Message-ID:  <200301071716.h07HGXne006728@gopher.honeypot.net>

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

>Number:         46834
>Category:       kern
>Synopsis:       GENERIC kernel doesn't compile on Alpha as of recently
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 09:20:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser
>Release:        FreeBSD 4.7-STABLE alpha
>Organization:
The Strauser Group
>Environment:
System: FreeBSD gopher.honeypot.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Dec 29 12:31:08 CST 2002 root@gopher.honeypot.net:/usr/obj/usr/src/sys/GOPHER alpha

/usr/src updated with cvsup as of this morning.

	
>Description:
Kernel compilation fails at sys/kern/sys_process.c.  Apparently, PT_GETDBREGS
and PT_SETDBREGS are defined for i386 but not for alpha:

root@gopher:/usr/src# make buildkernel KERNCONF=GENERIC

[snip]

cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h  -mno-fp-regs -Wa,-mev56  /usr/src/sys/kern/sys_pipe.c
cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h  -mno-fp-regs -Wa,-mev56  /usr/src/sys/kern/sys_process.c
/usr/src/sys/kern/sys_process.c: In function `ptrace':
/usr/src/sys/kern/sys_process.c:221: `PT_GETDBREGS' undeclared (first use in this function)
/usr/src/sys/kern/sys_process.c:221: (Each undeclared identifier is reported only once
/usr/src/sys/kern/sys_process.c:221: for each function it appears in.)
/usr/src/sys/kern/sys_process.c:229: `PT_SETDBREGS' undeclared (first use in this function)
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

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

Stop in /usr/src.
root@gopher:/usr/src#

	
>How-To-Repeat:
Use cvsup to update the source tree.  Try to compile the GENERIC kernel on alpha.

	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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