NetBSD Problem Report #21468

Received: (qmail 3179 invoked by uid 605); 5 May 2003 22:08:49 -0000
Message-Id: <>
Date: Mon,  5 May 2003 22:08:48 +0000 (UTC)
Subject: Filename Locore.c causes problems when building under Cygwin
X-Send-Pr-Version: www-1.0

>Number:         21468
>Category:       port-acorn26
>Synopsis:       Filename Locore.c causes problems when building under Cygwin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-acorn26-maintainer
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 05 22:09:00 +0000 2003
>Closed-Date:    Mon May 05 22:44:52 +0000 2003
>Last-Modified:  Mon May 05 22:44:52 +0000 2003
>Originator:     John Gordon
>Release:        -current
CYGWIN_NT-5.1 vaio 1.3.22(0.78/3/2) 2003-03-18 09:20 i686 unknown unknown Cygwin
Because of the Windows file system's inability to distinguish files that differ in the case of the letters in their name alone, when compiled on Cygwin, locore.S and Locore.c result in object files that have the same name.

The same is believed to be true on MacOS HFS systems (though I have not confirmed that at all).
Build on a Cygwin platform. Full instructions for how to do this, including the patches needed for both Cygwin and the NetBSD source tree can be found at:

Rename the Locore.c file to something like locore_c.c (and change the corresponding reference in conf/files.acorn26)

From: Ben Harris <>
Subject: pr/21468 CVS commit: src/sys/arch/acorn26
Date: Mon,  5 May 2003 22:43:39 +0000 (UTC)

 Module Name:	src
 Committed By:	bjh21
 Date:		Mon May  5 22:43:39 UTC 2003

 Modified Files:
 	src/sys/arch/acorn26/conf: files.acorn26
 Added Files:
 	src/sys/arch/acorn26/acorn26: cpuswitch.c
 Removed Files:
 	src/sys/arch/acorn26/acorn26: Locore.c

 Log Message:
 Rename Locore.c to cpuswitch.c.  The only thing it contained was cpu_switch()
 and its children, and the old name caused problems when building on case-
 insensitive file systems.  Should fix PR 21468 by John Gordon.

 To generate a diff of this commit:
 cvs rdiff -r1.7 -r0 src/sys/arch/acorn26/acorn26/Locore.c
 cvs rdiff -r0 -r1.1 src/sys/arch/acorn26/acorn26/cpuswitch.c
 cvs rdiff -r1.3 -r1.4 src/sys/arch/acorn26/conf/files.acorn26

 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: bjh21 
State-Changed-When: Mon May 5 22:44:11 UTC 2003 
Fixed.  I've renamed Locore.c to cpuswitch.c. 

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.