Subject: port-macppc/7891: macppc lacks definition of _insque
To: None <gnats-bugs@gnats.netbsd.org>
From: None <erik@mediator.uni-c.dk>
List: netbsd-bugs
Date: 07/01/1999 13:05:46
>Number:         7891
>Category:       port-macppc
>Synopsis:       macppc lacks definition of _insque
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-macppc-maintainer (NetBSD/macppc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul  1 13:05:01 1999
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 1 July 1999
>Environment:
	
System: NetBSD q610.ebe.uni-c.dk 1.4D NetBSD 1.4D (Q610) #147: Wed Jun 30 22:07:14 MEST 1999 erik@q610.ebe.uni-c.dk:/home/src/sys/arch/mac68k/compile/Q610 mac68k


>Description:
	While trying to build a kernel based on today's supped sources
	with options INET6, the link phase was aborted because the macppc
	port lacks the definitions of _insque and _remque and these
	functions are used by some of itojun's new code.
>How-To-Repeat:
	
>Fix:
	Some ports (m68k, sparc, mips) define these functions in assembly
	in support.s, locore.s, and locore.S respectively.
	By copying the version in i386/machdep.c to macppc/machdep.c,
	linking succeeded. It seems to run, but probably I have not yet
	exercises the insque/remque calls as I have not yet any IPv6
	router or other IPv6 machine on my home network. 

regards
Erik Bertelsen
>Audit-Trail:
>Unformatted: