public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: hp@axis.com
To: gcc-gnats@gcc.gnu.org
Subject: other/9863: Absence of awk isn't properly diagnosed at configure time
Date: Wed, 26 Feb 2003 14:26:00 -0000	[thread overview]
Message-ID: <20030226142014.32410.qmail@sources.redhat.com> (raw)


>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:


                 reply	other threads:[~2003-02-26 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030226142014.32410.qmail@sources.redhat.com \
    --to=hp@axis.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).