This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC build failed with your patch on 2001-03-15T01:35:00Z.


> From: "Zack Weinberg" <zackw@stanford.edu>
> Date: Wed, 14 Mar 2001 19:10:32 -0800

> I'm replying to two things at once...
> 
> On Wed, Mar 14, 2001 at 07:00:44PM -0800, Geoff Keating wrote:
> > > From: "GCC regression checker" <geoffk@cygnus.com>
> > > CC: dj@redhat.com, zackw@stanford.edu
> > > Date: Thu, 15 Mar 2001 01:39:07 +0000
> > 
> > > checking floating point format... configure: error: Unknown floating point format
> > > Configure in /sloth/delay/tbox/build-gcc/gcc failed, exiting.
> > 
> > Unfortunately, this test appears to rely on GNU grep, which does not
> > come with solaris 2.6.  I'm not sure what the problem with solaris
> > grep is, I presume either it doesn't like NULs or it's not 8-bit
> > clean.  fgrep does seem to work, so perhaps you could use that?
> 
> I'm surprised fgrep works; those are regular expressions not fixed
> strings.  egrep maybe?

I mean, fgrep seems to be able to find the string 'format' in this
file.  grep couldn't even do that.

The problem is the NULs.  The grep manpage explicitly says that it
stops matching at NULs within a line.

egrep seems to work, and doesn't have that limitation documented.

I'm concerned that there will be problems like this on other systems
too, and one day you'll hit a system where neither grep nor egrep will
work...

-- 
- Geoffrey Keating <geoffk@geoffk.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]