Subject: bin/20087: new grep doesn't build on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nathanw@wasabisystems.com>
List: netbsd-bugs
Date: 01/27/2003 18:56:29
>Number: 20087
>Category: bin
>Synopsis: The new version of grep(1) doesn't build; alloca type mismatch.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 27 15:57:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Nathan J. Williams
>Release: NetBSD 1.6M
>Organization:
Wasabi Systems, Inc.
>Environment:
System: NetBSD samsung-means-to-come 1.6M NetBSD 1.6M (SAMSUNG) #2: Mon Jan 27 15:54:45 EST 2003 nathanw@samsung-means-to-come:/nbsd/src/sys/arch/alpha/compile/SAMSUNG alpha
Architecture: alpha
Machine: alpha
>Description:
The newly-imported version of grep doesn't build.
cc -O2 -Werror -mieee -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I/m/nbsd/src/gnu/usr.bin/grep/lib/../include -I/nbsd/src/gnu/dist/grep/lib -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I/m/nbsd/src/gnu/usr.bin/grep/lib/../include -I/nbsd/src/gnu/dist/grep/lib -c /nbsd/src/gnu/dist/grep/lib/hard-locale.c
cc1: warnings being treated as errors
/nbsd/src/gnu/dist/grep/lib/hard-locale.c: In function `hard_locale':
/nbsd/src/gnu/dist/grep/lib/hard-locale.c:69: warning: type mismatch in implicit declaration for built-in function `alloca'
*** Error code 1
>How-To-Repeat:
Build grep on an alpha, either by itself or with build.sh.
>Fix:
None provided; I'm not up to speed on the combination of autoconf'd GNU
software and NetBSD reachover builds.
Perhaps add #include <stdlib.h> to hard-locale.c?
>Release-Note:
>Audit-Trail:
>Unformatted: