This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
RE: Filenames with "=" crash contrib/test_summary
- To: "'Alexandre Oliva'" <aoliva at redhat dot com>
- Subject: RE: Filenames with "=" crash contrib/test_summary
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com>
- Date: Wed, 9 Aug 2000 01:39:26 -0000
- Cc: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
Quite right. Moving to gawk 3.0.5 (from 3.0.0) solves the problem. Still
a portablilty issue, but probably not worth solving.
> -----Original Message-----
> From: Alexandre Oliva [SMTP:aoliva@redhat.com]
> Sent: Wednesday, 9 August 2000 11:14
> To: Billinghurst, David (CRTS)
> Cc: 'gcc-bugs@gcc.gnu.org'
> Subject: Re: Filenames with "=" crash contrib/test_summary
>
> On Aug 8, 2000, "Billinghurst, David (CRTS)"
> <David.Billinghurst@riotinto.com> wrote:
>
> > ./mips-sgi-irix6.5/mabi=64/libstdc++/testsuite/libstdc++.sum in the
> build
> > tree crashes contrib/test_summary script.
>
> > gawk: cmd. line:40: (FILENAME=./gcc/testsuite/g++.sum FNR=12122) fatal:
> > illegal name `./mips-sgi-irix6.5/mabi' in variable assignment
>
> Which version of gawk is that? I can't reproduce this with gawk
> 3.0.5.
>
> The problem seems to be that the version of gawk you're using
> interprets any argument containing `=' as a variable assignment,
> instead of checking whether what is on the left of the `=' sign is a
> valid variable name.
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me