NetBSD Problem Report #13583

Received: (qmail 4810 invoked from network); 28 Jul 2001 19:18:57 -0000
Message-Id: <200107281922.f6SJMg801005@mirage.ceres.dti.ne.jp>
Date: Sun, 29 Jul 2001 04:22:42 +0900 (JST)
From: tsutsui@ceres.dti.ne.jp
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.netbsd.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: lib/libarch/Makefile makes libarm3232.a on CATS
X-Send-Pr-Version: 3.95

>Number:         13583
>Category:       port-cats
>Synopsis:       lib/libarch/Makefile makes libarm3232.a on CATS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bjh21
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 19:19:00 +0000 2001
>Closed-Date:    Sat Jul 28 19:34:47 +0000 2001
>Last-Modified:  Sat Jul 28 19:34:47 +0000 2001
>Originator:     Izumi Tsutsui
>Release:        NetBSD-current 20010725
>Organization:
Izumi Tsutsui	Himeji City, Japan
>Environment:
NetBSD/cats 1.5W
Architecture: arm32
Machine: cats
>Description:
src/lib/libarch/Makefile makes libarm3232* for LIBs on CATS

>How-To-Repeat:
---
cd /usr/src/lib/libarch; make -n
 :
echo building standard arm3232 library
rm -f libarm3232.a
ar cq libarm3232.a `NM=nm lorder arm32_sync_icache.o arm32_drain_writebuf.o | tsort -q`
ranlib libarm3232.a
echo building profiled arm3232 library
rm -f libarm3232_p.a
ar cq libarm3232_p.a `NM=nm lorder arm32_sync_icache.po arm32_drain_writebuf.po | tsort -q`
ranlib libarm3232_p.a
echo building shared object arm3232 library
rm -f libarm3232_pic.a
ar cq libarm3232_pic.a `NM=nm lorder arm32_sync_icache.so arm32_drain_writebuf.so | tsort -q`
ranlib libarm3232_pic.a
---

>Fix:
Use a correct regular expression in Makefile:

--- Makefile.orig	Sun Jul 29 04:16:44 2001
+++ Makefile	Sun Jul 29 04:16:50 2001
@@ -13,7 +13,7 @@

 # Build the library if SRCS is now defined ...
 .if defined(SRCS)
-LIB=    ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm*/arm32/}
+LIB=    ${MACHINE_ARCH:C/mipse[bl]/mips/:C/arm.*/arm32/}
 SHLIB_VERSION_FILE= ${.CURDIR}/${LIB}/shlib_version

 .include <bsd.lib.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bjh21 
State-Changed-When: Sat Jul 28 12:31:23 PDT 2001 
State-Changed-Why:  
I found this bug independently, and fixed it a couple of minutes before this 
report arrived.  Try Makefile rev 1.16. 


Responsible-Changed-From-To: port-cats-maintainer->bjh21 
Responsible-Changed-By: bjh21 
Responsible-Changed-When: Sat Jul 28 12:31:23 PDT 2001 
Responsible-Changed-Why:  
Closed by me. 
>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.