public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Someone broke bootstrap
@ 2003-10-08 14:03 Kelley Cook
  0 siblings, 0 replies; 9+ messages in thread
From: Kelley Cook @ 2003-10-08 14:03 UTC (permalink / raw)
  To: gcc, gcc-patches; +Cc: Bernd Jendrissek, Carlo Wood

 > Commit done as obvious.
 > http://gcc.gnu.org/ml/gcc-cvs/2003-10/msg00283.html
 >
 > Tested with 2.5.4a and 2.5.31.  Note that 2.5.31 accepts both '-ooutput'
 > as well as '-o output', hence the mistake that Kelley made I assume.

It turns out the Debian's flex-old 2.5.4a-1 has the snippet below in its 
debian/changeLog why is apparently why I never ran into the bug even 
though I attempted to test with both 2.5.4a and a self-compiled 2.5.31.

flex (2.5.4a-15) unstable; urgency=low
   * flex -o "ddd" doesn't write to the file "ddd", instead it tries to
     write to the file "" (yes, blank) and read from "ddd". I changed the
     main.c to use the next arg as the output file name if the next arg
     does not start with a -.
closes: Bug#122581

Again, sorry to all and thanks again for Carlo and Bernd for fixing it.

Kelley Cook

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Someone broke bootstrap
@ 2003-10-09  3:02 Roger Sayle
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Sayle @ 2003-10-09  3:02 UTC (permalink / raw)
  To: John David Anglin, Eric Christopher; +Cc: Zack Weinberg, gcc


Hi David and Eric,
> > I'm seeing this on frv too. I blame Zack (at least in the little
> > bit of looking I did...), but that's ok. I'm sure he'll fix it.
>
> Yes, it looks as if this is caused by one of Zack's recent changes.

Mea culpa.  Zack is completely innocent, the testsuite regressions
are my fault.  Zack asked that I modify my patch to optabs.c's
prepare_float_lib_cmp to call emit_libcall_block directly, but I
screwed up the reorganization, not realizing that "equiv" mustn't
be a NULL_RTX, otherwise very bad things happen...

I've already posted a fix at:
http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00635.html
Hopefully, it will be reviewed in the very near future.

The problem shouldn't affect bootstrap as it only shows up with
-O0 when using software floating point, but it is likely to be
the cause of FRV's/HPPA64's regressions.

Sorry again for any inconvenience.  The problem doesn't show up
on x86, and even the -msoft-float tests are never run at -O0,
so it wasn't found during my retesting.  The original patch to
prepare_float_lib_cmp was more widely tested without any problems,
but I underestimated the "obvious" tidy-up.

Roger
--

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <no.id>]
* Re: Someone broke bootstrap
@ 2003-10-08  2:47 John David Anglin
  2003-10-08 10:15 ` David Ayers
  0 siblings, 1 reply; 9+ messages in thread
From: John David Anglin @ 2003-10-08  2:47 UTC (permalink / raw)
  To: gcc; +Cc: carlo

How about

if flex  -o g-$$ ../../gcc/gcc/gengtype-lex.l; then \
  mv -f g-$$ ../../gcc/gcc/gengtype-lex.c ; \
else \
  rm -f g-$$ ; \
  false ; \
fi
flex: can't open g-16194

on i686-pc-linux-gnu.

There are also a bunch of testsuite regressions on hppa64-hp-hpux11.11.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Someone broke bootstrap
@ 2003-10-08  2:11 Carlo Wood
  0 siblings, 0 replies; 9+ messages in thread
From: Carlo Wood @ 2003-10-08  2:11 UTC (permalink / raw)
  To: gcc; +Cc: roger, zack

gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../../gcc/gcc-mainline/gcc -I../../../gcc/gcc-mainline/gcc/. -I../../../gcc/gcc-mainline/gcc/../include  ../../../gcc/gcc-mainline/gcc/optabs.c -o optabs.o
../../../gcc/gcc-mainline/gcc/optabs.c: In function `prepare_float_lib_cmp':
../../../gcc/gcc-mainline/gcc/optabs.c:3886: `eqhf2_libfunc' undeclared (first use in this function)
../../../gcc/gcc-mainline/gcc/optabs.c:3886: (Each undeclared identifier is reported only once
../../../gcc/gcc-mainline/gcc/optabs.c:3886: for each function it appears in.)
../../../gcc/gcc-mainline/gcc/optabs.c:3890: `nehf2_libfunc' undeclared (first use in this function)
../../../gcc/gcc-mainline/gcc/optabs.c:3894: `gthf2_libfunc' undeclared (first use in this function)
../../../gcc/gcc-mainline/gcc/optabs.c:3899: `lthf2_libfunc' undeclared (first use in this function)
../../../gcc/gcc-mainline/gcc/optabs.c:3904: `gehf2_libfunc' undeclared (first use in this function)
../../../gcc/gcc-mainline/gcc/optabs.c:3909: `lehf2_libfunc' undeclared (first use in this function)
etc etc.


Guys, aren't we doing bootstraps anymore before a commit?

-- 
Carlo Wood <carlo@alinoe.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-10-09  3:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-08 14:03 Someone broke bootstrap Kelley Cook
  -- strict thread matches above, loose matches on Subject: below --
2003-10-09  3:02 Roger Sayle
     [not found] <no.id>
2003-10-08  3:11 ` John David Anglin
2003-10-08  7:25   ` Eric Christopher
2003-10-08 17:26     ` John David Anglin
2003-10-08  2:47 John David Anglin
2003-10-08 10:15 ` David Ayers
2003-10-08 11:57   ` Carlo Wood
2003-10-08  2:11 Carlo Wood

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