NetBSD Problem Report #50282
From jnemeth@cornerstoneservice.ca Sun Sep 27 10:42:08 2015
Return-Path: <jnemeth@cornerstoneservice.ca>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 4F50BA5864
for <gnats-bugs@gnats.netbsd.org>; Sun, 27 Sep 2015 10:42:08 +0000 (UTC)
Message-Id: <201509271122.t8RBMBaX002354@server.CornerstoneService.ca>
Date: Sun, 27 Sep 2015 04:22:11 -0700 (PDT)
From: jnemeth@CornerstoneService.ca
Reply-To: jnemeth@CornerstoneService.ca
To: gnats-bugs@gnats.NetBSD.org
Subject: can't compile 7.0 Xen kernel without DDB
X-Send-Pr-Version: 3.95
>Number: 50282
>Category: port-xen
>Synopsis: can't compile 7.0 Xen kernel without DDB
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-xen-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 27 10:45:00 +0000 2015
>Closed-Date: Sat Jun 23 16:01:06 +0000 2018
>Last-Modified: Fri Apr 30 14:25:01 +0000 2021
>Originator: John Nemeth
>Release: NetBSD 7.0
>Organization:
>Environment:
System: NetBSD rel7build 7.0 NetBSD 7.0 (XEN3_DOMU) #0: Sat Sep 26 06:19:12 PDT 2015 jnemeth@rel7build:/usr/local/NetBSD-7/amd64-objdir/sys/arch/amd64/compile/XEN3_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:
Trying to build a Xen kernel without DDB fails to link.
# link ADG_7_DOMU/netbsd
ld -Map netbsd.map --cref -T ../../../../arch/amd64/conf/kern.ldscript.Xen -Ttext 0xffffffff80100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
locore.o: In function `cpu_switchto':
(.text+0x20bd): undefined reference to `cpu_Debugger'
xen_ipi.o: In function `xen_ipi_ddb':
xen_ipi.c:(.text+0xcc): undefined reference to `ddb_ipi'
*** Error code 1
Stop.
make: stopped in /sys/arch/amd64/compile/ADG_7_DOMU
>How-To-Repeat:
Create a custom kernel config without DDB and try to build it.
>Fix:
Wrap calls to DDB with appropriate protection.
>Release-Note:
>Audit-Trail:
From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50282 CVS commit: src/sys/arch/xen/x86
Date: Sat, 23 Jun 2018 15:53:14 +0000
Module Name: src
Committed By: jdolecek
Date: Sat Jun 23 15:53:14 UTC 2018
Modified Files:
src/sys/arch/xen/x86: xen_ipi.c
Log Message:
make compile without DDB
PR port-xen/50282
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/xen/x86/xen_ipi.c
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: jdolecek@NetBSD.org
State-Changed-When: Sat, 23 Jun 2018 16:01:06 +0000
State-Changed-Why:
Fixed, thanks.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50282 CVS commit: [netbsd-8] src/sys/arch/xen/x86
Date: Fri, 30 Apr 2021 14:22:24 +0000
Module Name: src
Committed By: martin
Date: Fri Apr 30 14:22:24 UTC 2021
Modified Files:
src/sys/arch/xen/x86 [netbsd-8]: xen_ipi.c
Log Message:
Pull up following revision(s) (requested by kre in ticket #1675):
sys/arch/xen/x86/xen_ipi.c: revision 1.24 (patch)
make compile without DDB
PR port-xen/50282
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.10.1 src/sys/arch/xen/x86/xen_ipi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.