This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
other/9863: Absence of awk isn't properly diagnosed at configure time
- From: hp at axis dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 26 Feb 2003 14:20:14 -0000
- Subject: other/9863: Absence of awk isn't properly diagnosed at configure time
- Reply-to: hp at axis dot com
>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: