public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/9863: Absence of awk isn't properly diagnosed at configure time
@ 2003-02-26 14:26 hp
  0 siblings, 0 replies; only message in thread
From: hp @ 2003-02-26 14:26 UTC (permalink / raw)
  To: gcc-gnats


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-26 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-26 14:26 other/9863: Absence of awk isn't properly diagnosed at configure time hp

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).