NetBSD Problem Report #7811

Received: (qmail 14455 invoked from network); 19 Jun 1999 03:49:14 -0000
Message-Id: <199906190344.UAA19113@bullball.heeia.hi.us>
Date: Fri, 18 Jun 1999 20:44:43 -0700 (PDT)
From: Jon Buller <jonb@metronet.com>
Reply-To: jonb@metronet.com
To: gnats-bugs@gnats.netbsd.org
Subject: Kernel will not build without compat_13 if using compat_sunos
X-Send-Pr-Version: 3.95

>Number:         7811
>Category:       port-sparc
>Synopsis:       Kernel will not build without compat_13 if using compat_sunos
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 18 20:50:00 +0000 1999
>Closed-Date:    Sun Jun 20 16:30:54 +0000 1999
>Last-Modified:  Sun Jun 20 16:31:45 +0000 1999
>Originator:     Jon Buller
>Release:        current around 06/07/1999
>Organization:

>Environment:

System: NetBSD bullball.heeia.hi.us 1.4C NetBSD 1.4C (GENERIC) #1: Wed May 26 18:18:37 MEST 1999 pk@flambard:/usr/src/sys/arch/sparc/compile/GENERIC sparc


>Description:
	compile a kernel with compat_sunos but no compat_13.  (I'm assuming
	from the error message during the compile.)

ld -Ttext F0004000 -e start -n -X -o netbsd ${SYSTEM_OBJ} vers.o
sunos_machdep.o: In function `sunos_sys_sigreturn':
sunos_machdep.o(.text+0x14c): undefined reference to `compat_13_sys_sigreturn'
aout_sysent.o(.data+0x33c): undefined reference to `compat_13_sys_sigreturn'
*** Error code 1

>How-To-Repeat:
	I'll send the entire config file if desired, I just recompiled the
	kernel with compat_13 added and it linked fine.
>Fix:
	Workaround: add compat_13 if you want compat_sunos.  Perhaps
	compat_sunos should define compat_13 in the signal handling code.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pk 
State-Changed-When: Sun Jun 20 09:30:54 PDT 1999 
State-Changed-Why:  
Fixed in arch/sparc/conf/files.sparc, rev 1.77 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.