Subject: toolchain/22074: sloppy __RCSID commits break cross-compilation
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jdunn@aquezada.com>
List: netbsd-bugs
Date: 07/06/2003 14:15:18
>Number:         22074
>Category:       toolchain
>Synopsis:       sloppy __RCSID commits break cross-compilation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 06 14:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Julian C. Dunn
>Release:        current
>Organization:
Aquezada Productions
>Environment:
Linux jupiter.acf.aquezada.com 2.4.21 #2 Sat Jun 14 01:02:52 EDT 2003 i686 i686 i386 GNU/Linux
>Description:
Sloppy commits to add __RCSID break cross-compilation on Linux machines without the __RCSID. For example, examine commits in http://mail-index.netbsd.org/source-changes/2003/06/23/0010.html, http://mail-index.netbsd.org/source-changes/2003/06/23/0011.html, http://mail-index.netbsd.org/source-changes/2003/06/23/0012.html,
http://mail-index.netbsd.org/source-changes/2003/06/23/0014.html,
http://mail-index.netbsd.org/source-changes/2003/06/23/0019.html among possibly others. This inhibits the toolchain from being built.
>How-To-Repeat:
./build.sh -m sparc -T $HOME/bin/nbtools-sparc tools
>Fix:
Replace all

#ifndef lint
__RCSID("$NetBSD: ... ");
#endif

with

#ifndef lint
#ifdef __RCSID
__RCSID("$NetBSD: ... ");
#endif /* __RCSID */
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: