From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3390 invoked by alias); 26 Feb 2003 14:26:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 3372 invoked by uid 71); 26 Feb 2003 14:26:00 -0000 Resent-Date: 26 Feb 2003 14:26:00 -0000 Resent-Message-ID: <20030226142600.3370.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, hp@axis.com Received: (qmail 32411 invoked by uid 48); 26 Feb 2003 14:20:14 -0000 Message-Id: <20030226142014.32410.qmail@sources.redhat.com> Date: Wed, 26 Feb 2003 14:26:00 -0000 From: hp@axis.com Reply-To: hp@axis.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/9863: Absence of awk isn't properly diagnosed at configure time X-SW-Source: 2003-02/txt/msg01376.txt.bz2 List-Id: >Number: 9863 >Category: other >Synopsis: Absence of awk isn't properly diagnosed at configure time >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Feb 26 14:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Hans-Peter Nilsson >Release: gcc-3.2.2, probably all >Organization: >Environment: Any GNU/Linux environment with awk uninstalled. >Description: During configure: ... checking for GNU C library... yes checking for mawk... no checking for gawk... no checking for nawk... no checking for awk... no checking whether ln works... yes ... Still, configure continues. Build fails with unfriendly message: if [ -f ranlib ] || ( [ cris-axis-linux-gnu = cris-axis-linux-gnu ] && [ -f /usr/bin/ranlib -o -f /b ranlib ./libgcc_eh.a ; \ else true; fi; { nm -pg libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_as cat /usr/local/tmp/gcc-3.2.2/gcc/libgcc-std.ver | sed -e "/^[ ]*#/d" -e 's/^%\(if\|else\|e | ./xgcc -B./ -B/usr/local/tmp/p/cris-axis-linux-gnu/bin/ -isystem /usr/local/tmp/p/cris-axis-linu } | -f /usr/local/tmp/gcc-3.2.2/gcc/mkmap-symver.awk > libgcc/./tmp-libgcc.map -f: not found make[3]: *** [libgcc/./libgcc.map] Error 127 when attempting to use $AWK while building the linker map for libgcc.so >How-To-Repeat: Uninstall all awk (gawk, nawk, awk). Configure. Attempt bootstrap. >Fix: Check $AWK in gcc/configure.in after AC_PROG_AWK call; bail out with error message if empty. (At user level: install gawk. :-) >Release-Note: >Audit-Trail: >Unformatted: