NetBSD Problem Report #31097

From fun@mail.fukaumi.org  Tue Aug 30 14:31:06 2005
Return-Path: <fun@mail.fukaumi.org>
Received: from mail.fukaumi.org (mail.fukaumi.org [221.186.40.204])
	by narn.netbsd.org (Postfix) with ESMTP id E1E4863B11E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 30 Aug 2005 14:31:05 +0000 (UTC)
Message-Id: <200508301430.j7UEUnX15304@mail.fukaumi.org>
Date: Tue, 30 Aug 2005 23:30:49 +0900 (JST)
From: fun@naobsd.org
Reply-To: fun@naobsd.org
To: gnats-bugs@netbsd.org
Subject: [PATCH] INSTALL_OPENBLOCKS266 compile failure
X-Send-Pr-Version: 3.95

>Number:         31097
>Category:       port-evbppc
>Synopsis:       [PATCH] INSTALL_OPENBLOCKS266 compile failure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-evbppc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 14:32:00 +0000 2005
>Closed-Date:    Wed Aug 31 15:24:28 +0000 2005
>Last-Modified:  Wed Aug 31 15:24:28 +0000 2005
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 3.99.7 / 2005-08-29 -current source
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD turion64.naobsd.org 3.99.7 NetBSD 3.99.7 (TURION64) #2: Tue Aug 16 19:43:57 JST 2005 root@turion64.naobsd.org:/usr/obj/amd64/sys/arch/amd64/compile/TURION64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	  ./build.sh -m evbppc release
	was failed as,
  :
#   compile  INSTALL_OPENBLOCKS266/kern_subr.o
/home/t/bin/powerpc--netbsd-gcc -mcpu=403 -msoft-float -Wa,-maltivec -ffreestand
ing -g -O2 -Wreturn-type -Werror -Wall -Wno-main -Wno-format-zero-length -Wpoint
er-arith -Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshado
w -Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss -D_
_obs405__ -Devbppc=evbppc -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DPPC
_INTR_IMPL=<powerpc/ibm4xx/ibm4xx_intr.h> -DPPC_PCI_MACHDEP_IMPL=<powerpc/ibm4xx
/pci_machdep.h> -DKERNBASE=0x25000 -DSPILLSTK=1024 -DDEBUG -DTRAP_PANICWAIT -DEX
T2FS_SYSTEM_FLAGS -DEMAC_EVENT_COUNTERS -DDIAGNOSTIC -DMALLOC_NOINLINE -DMAXUSER
S=32 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/kern/kern_s
ubr.c
/usr/src/sys/kern/kern_subr.c: In function `setroot':
/usr/src/sys/kern/kern_subr.c:761: error: `fakemdrootdev' undeclared (first use 
in this function)
/usr/src/sys/kern/kern_subr.c:761: error: (Each undeclared identifier is reporte
d only once
/usr/src/sys/kern/kern_subr.c:761: error: for each function it appears in.)
/usr/src/sys/kern/kern_subr.c: In function `finddevice':
/usr/src/sys/kern/kern_subr.c:1084: error: `fakemdrootdev' undeclared (first use
 in this function)
  :

>How-To-Repeat:
	See above.
>Fix:
Index: sys/arch/evbppc/conf/INSTALL_OPENBLOCKS266
===================================================================
RCS file: /home/fun/cvsroot/NetBSD/src/sys/arch/evbppc/conf/INSTALL_OPENBLOCKS266,v
retrieving revision 1.1
diff -u -r1.1 INSTALL_OPENBLOCKS266
--- sys/arch/evbppc/conf/INSTALL_OPENBLOCKS266	3 Aug 2005 14:55:37 -0000	1.1
+++ sys/arch/evbppc/conf/INSTALL_OPENBLOCKS266	30 Aug 2005 14:26:15 -0000
@@ -26,3 +26,5 @@
 options 	MEMORY_DISK_SERVER=0		# no userspace memory disk
 #options 	MEMORY_DISK_ROOT_SIZE=8192	# size of memory disk, in blocks
 options 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
+
+pseudo-device	md		1	# memory disk device

>Release-Note:

>Audit-Trail:
From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/31097 CVS commit: src/sys/arch/evbppc/conf
Date: Wed, 31 Aug 2005 15:23:06 +0000 (UTC)

 Module Name:	src
 Committed By:	he
 Date:		Wed Aug 31 15:23:06 UTC 2005

 Modified Files:
 	src/sys/arch/evbppc/conf: INSTALL_OPENBLOCKS266

 Log Message:
 This one needs "pseudo-device md 1".  Patch taken from PR evbppc/31097.
 Fixes build problem.


 To generate a diff of this commit:
 cvs rdiff -r1.1 -r1.2 src/sys/arch/evbppc/conf/INSTALL_OPENBLOCKS266

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: he@netbsd.org
State-Changed-When: Wed, 31 Aug 2005 15:24:28 +0000
State-Changed-Why:
Patch from PR applied -- thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.