NetBSD Problem Report #26945

Received: (qmail 15584 invoked by uid 605); 14 Sep 2004 11:16:04 -0000
Message-Id: <20040914111600.B1F6215DA2@thanos.sis.pasteur.fr>
Date: Tue, 14 Sep 2004 13:16:00 +0200 (CEST)
From: njoly@pasteur.fr
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: njoly@pasteur.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: assembler warnings during kernel compilation (pci_eb??_intr.s)
X-Send-Pr-Version: 3.95

>Number:         26945
>Category:       port-alpha
>Synopsis:       assembler warnings during kernel compilation (pci_eb??_intr.s)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-alpha-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 14 11:17:00 +0000 2004
>Closed-Date:    Tue Sep 14 11:28:10 +0000 2004
>Last-Modified:  Tue Sep 14 11:29:01 +0000 2004
>Originator:     Nicolas Joly
>Release:        NetBSD 2.0G
>Organization:
Institut Pasteur
>Environment:
System: NetBSD thanos.sis.pasteur.fr 2.0G NetBSD 2.0G (THANOS) #0: Tue Sep 14 11:17:16 CEST 2004 njoly@thanos.sis.pasteur.fr:/local/src/NetBSD/obj/alpha/sys/arch/alpha/compile/THANOS alpha
Architecture: alpha
Machine: alpha
>Description:
During kernel compilation, 2 assembler files generate some warnings messages:

/local/src/NetBSD/tool/alpha/bin/alpha--netbsd-cpp  -traditional  -D_LOCORE  -Da
lpha -I.  -I/local/src/NetBSD/src/sys/arch -I/local/src/NetBSD/src/sys -nostdinc
 -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT /local/src/NetBSD/src/
sys/arch/alpha/pci/pci_eb64plus_intr.s | sed -e 's,^#.*,,' |  /local/src/NetBSD/
tool/alpha/bin/alpha--netbsd-as -o pci_eb64plus_intr.o
{standard input}: Assembler messages:
{standard input}:393: Warning: .end directive names different symbol than .ent
[...]
/local/src/NetBSD/tool/alpha/bin/alpha--netbsd-cpp  -traditional  -D_LOCORE  -Da
lpha -I.  -I/local/src/NetBSD/src/sys/arch -I/local/src/NetBSD/src/sys -nostdinc
 -DDIAGNOSTIC -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT /local/src/NetBSD/src/
sys/arch/alpha/pci/pci_eb66_intr.s | sed -e 's,^#.*,,' |  /local/src/NetBSD/tool
/alpha/bin/alpha--netbsd-as -o pci_eb66_intr.o
{standard input}: Assembler messages:
{standard input}:393: Warning: .end directive names different symbol than .ent

>How-To-Repeat:
compile a GENERIC kernel.
>Fix:
Index: pci_eb64plus_intr.s
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/pci/pci_eb64plus_intr.s,v
retrieving revision 1.2
diff -u -r1.2 pci_eb64plus_intr.s
--- pci_eb64plus_intr.s	2 Sep 1997 13:19:43 -0000	1.2
+++ pci_eb64plus_intr.s	14 Sep 2004 10:57:41 -0000
@@ -60,4 +60,4 @@
 	ldiq	a0, 0x35
 	call_pal PAL_cserve
 	RET
-	END(eb64plus_intr_enable)
+	END(eb64plus_intr_disable)
Index: pci_eb66_intr.s
===================================================================
RCS file: /cvsroot/src/sys/arch/alpha/pci/pci_eb66_intr.s,v
retrieving revision 1.1
diff -u -r1.1 pci_eb66_intr.s
--- pci_eb66_intr.s	27 Jun 1998 10:10:51 -0000	1.1
+++ pci_eb66_intr.s	14 Sep 2004 10:57:41 -0000
@@ -60,4 +60,4 @@
 	ldiq	a0, 0x35
 	call_pal PAL_cserve
 	RET
-	END(eb66_intr_enable)
+	END(eb66_intr_disable)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: drochner 
State-Changed-When: Tue Sep 14 11:27:47 UTC 2004 
State-Changed-Why:  
fixed, thanks 

From: Matthias Drochner <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/26945 CVS commit: src/sys/arch/alpha/pci
Date: Tue, 14 Sep 2004 11:27:23 +0000 (UTC)

 Module Name:	src
 Committed By:	drochner
 Date:		Tue Sep 14 11:27:22 UTC 2004

 Modified Files:
 	src/sys/arch/alpha/pci: pci_eb64plus_intr.s pci_eb66_intr.s

 Log Message:
 fix wrong asm .end names which caused assembler warnings,
 from Nicolas Joly per PR port-alpha/26945


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 src/sys/arch/alpha/pci/pci_eb64plus_intr.s
 cvs rdiff -r1.1 -r1.2 src/sys/arch/alpha/pci/pci_eb66_intr.s

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

>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.