From yashy@yashy.com  Fri Jan  6 20:21:50 2006
Return-Path: <yashy@yashy.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 547F516A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Jan 2006 20:21:50 +0000 (GMT)
	(envelope-from yashy@yashy.com)
Received: from mail.yashy.com (mail.yashy.com [206.248.137.44])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C969143D48
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Jan 2006 20:21:49 +0000 (GMT)
	(envelope-from yashy@yashy.com)
Received: by mail.yashy.com (Postfix, from userid 1001)
	id BBDD461AA; Fri,  6 Jan 2006 15:22:29 -0500 (EST)
Message-Id: <20060106202229.BBDD461AA@mail.yashy.com>
Date: Fri,  6 Jan 2006 15:22:29 -0500 (EST)
From: Yasholomew Yashinski <yashy@yashy.com>
Reply-To: Yasholomew Yashinski <yashy@mail.yashy.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         91419
>Category:       kern
>Synopsis:       [netgraph] libnetgraph/debug.c compile error on sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 06 20:30:05 GMT 2006
>Closed-Date:    Tue Aug 28 21:15:15 GMT 2007
>Last-Modified:  Tue Aug 28 21:15:15 GMT 2007
>Originator:     Yasholomew Yashinski
>Release:        FreeBSD 6.0-STABLE sparc64
>Organization:
>Environment:
 FreeBSD proksie.yashy.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov  2 22:33:15 UTC 2005     root@s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  sparc64
>Description:

   libnetgraph/debug.c error. I see this was submitted as "i386/91250: make buildworld netgraph/build.c failure" however this issue is also occuring on sparc64.
 
 from 
 /usr/src# make buildkernel=COLONEL
 
 [snip]
 sed -e 's%@TERMINFO@%/usr/share/misc/terminfo%g'  -e 's%@NCURSES_OSPEED@%short%g
 ' < curs_window.3 | gzip -cn > curs_window.3.gz
 cat /usr/src/lib/libncurses/../../contrib/ncurses/man/ncurses.3x > ncurses.3
 sed -e 's%@TERMINFO@%/usr/share/misc/terminfo%g'  -e 's%@NCURSES_OSPEED@%short%g
 ' < ncurses.3 | gzip -cn > ncurses.3.gz
 ===> lib/libnetgraph (all)
 Warning: Object directory not changed from original /usr/src/lib/libnetgraph
 cc -O2 -fno-strict-aliasing -pipe  -Wsystem-headers -Werror -Wall -Wno-format-y2
 k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ar
 ith -Wno-uninitialized -c debug.c
 debug.c:161: error: `NGM_SPLIT_COOKIE' undeclared here (not in a function)
 debug.c:161: error: initializer element is not constant
 debug.c:161: error: (near initialization for `cookies[33].cookie')
 debug.c:161: error: initializer element is not constant
 debug.c:161: error: (near initialization for `cookies[33]')
 debug.c:162: error: initializer element is not constant
 debug.c:162: error: (near initialization for `cookies[34]')
 debug.c:163: error: initializer element is not constant
 debug.c:163: error: (near initialization for `cookies[35]')
 debug.c:164: error: initializer element is not constant
 debug.c:164: error: (near initialization for `cookies[36]')
 debug.c:165: error: initializer element is not constant
 debug.c:165: error: (near initialization for `cookies[37]')
 debug.c:166: error: initializer element is not constant
 debug.c:166: error: (near initialization for `cookies[38]')
 debug.c:167: error: initializer element is not constant
 debug.c:167: error: (near initialization for `cookies[39]')
 debug.c:174: error: initializer element is not constant
 debug.c:174: error: (near initialization for `cookies[40]')
 *** Error code 1
 
 Stop in /usr/src/lib/libnetgraph.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 
 How-To-Repeat:
 
  Try to compile /usr/src/lib/libnetgraph/debug.c
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mav 
State-Changed-When: Tue Aug 28 21:12:21 UTC 2007 
State-Changed-Why:  
Duplicates i386/91250. 
Was fixed in RELENG_6 on Nov 16 10:01:27 2005 UTC  

http://www.freebsd.org/cgi/query-pr.cgi?pr=91419 
>Unformatted:
