public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Add new target: vxworks for xscale
@ 2003-05-10 17:35 Richard Kenner
  2003-05-10 17:49 ` Zack Weinberg
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 17:35 UTC (permalink / raw)
  To: zack; +Cc: gcc-patches, gcc

    Given what you have said, and given how very broken the patch was, I
    can only conclude you did not test it beyond "yup, it compiles."  For
    instance, any program that used exception handling would have gotten
    loader errors when actually run on VxWorks.

No, I didn't test it, instead taking it for granted that the submitter did.
I only test patches to make sure they don't break mainline targets, assuming
that the submitter verified they do as they are supposed to.  Indeed I'm
quite surprised it worked on his configuration but not on yours.

It was partly your comment about loader errors that motivated me to get
Olivier involved since it seems like there are different configurations
involved.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Add new target: vxworks for xscale
@ 2003-05-10 21:21 Richard Kenner
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 21:21 UTC (permalink / raw)
  To: hainque; +Cc: gcc-patches, gcc

    FWIW, it passes almost 100% of the chapter C tests in the ACAT 2.4
    series, on a real target. This includes, amongst others, hundreds of
    tests related to Ada tasking and exceptions handling, often intermixed
    in very convoluted ways.

Yes, but with which EH?  Zack's claim is that the use of GCC EH would cause
link errors.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Add new target: vxworks for xscale
@ 2003-05-10 18:12 Richard Kenner
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 18:12 UTC (permalink / raw)
  To: zack; +Cc: gcc-patches, gcc

    You were making changes to get the patch applied to the mainline, so
    you should have done a proper retest on the mainline.

Perhaps, but note that this was a *new port*, so it couldn't have made
anything worse no matter how "broken" it was.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Add new target: vxworks for xscale
@ 2003-05-10 14:54 Richard Kenner
  2003-05-10 17:14 ` Zack Weinberg
  0 siblings, 1 reply; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 14:54 UTC (permalink / raw)
  To: jsm28; +Cc: gcc-patches, gcc

    Why didn't the patch author just submit the patch to gcc-patches for
    review (whether by you, or by the VxWorks maintainers, and with possible
    comments by anyone who happened to read the patch on gcc-patches before it
    was reviewed) in the ordinary manner in the first place?

Because of the "drift" of sources: they were not against the head sources,
but against the 3.2 branch, where they could not be applied due to the state
of that branch.

What I've been working on over the last few weeks has been going
through a large list of such patches, updating them to the head sources,
reviewing and testing them, and installing them.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Add new target: vxworks for xscale
@ 2003-05-10 14:49 Richard Kenner
  0 siblings, 0 replies; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 14:49 UTC (permalink / raw)
  To: toon; +Cc: gcc-patches, gcc

    I don't like this approach.  As a Fortran maintainer, I could surely be 
    presented with patches thought up or adopted by a global write 
    maintainer.  That doesn't mean I'd just forgo my right to review them ...

No, of course not.  And indeed your comments on such a patch should
be given great weight, as Zack's was in my case.  But that doesn't
mean you (or Zack) would have the right to immediately demand they be
reverted without further discussion.  Your (and Zack's) goal should be
to convince the person who applied the patches that they were wrong and
you were right.  That should normally not be hard (and wasn't in
this case, once the discussion occurred).

    Just applying patches written by someone else without review is utterly 
    wrong, in my not so humble opinion.

That's not what happened in this case.  I not only "reviewed" it, but
made significant changes.  I spent a few hours on this patch, in fact,
and a changed a number of things I didn't like.

Zack had more things he didn't like, but before I was willing to automatically
defer to his opinion, I wanted to give the original author a chance to
address them.  Perhaps there were some things that made this method correct
and Zack wrong.  Perhaps not.  But what's wrong with trying to find out?

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: Add new target: vxworks for xscale
@ 2003-05-10 12:22 Richard Kenner
  2003-05-10 13:00 ` Toon Moene
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Richard Kenner @ 2003-05-10 12:22 UTC (permalink / raw)
  To: zack; +Cc: gcc-patches, gcc

    >     I'm sure it appears to work.  That doesn't make it correct.  In any
    >     case, in my capacity as the VxWorks configury maintainer, I don't
    >     want this code in the FSF tree until it's rewritten.  Are you going
    >     to back out the patch?
    >
    > I want to give Olivier some time to comment before we do anything.

    He can do that whether or not the patch is in the FSF tree.  Take it
    out now, please.

I don't appreciate your tone here.

Both of us have blanket write privileges and can't order the other around.

Fundamentally, if we disagree on a patch and can't come to some
agreement, the SC resolves the dispute.

There was no claim that the patch broke anything or even that it didn't work.

We were less than 24 hours after it had been installed.

You had stylistic objections to the patch.  I wanted to defer my opinion
until I saw what response the patch author had to your comments.

Had Olivier agreed with your comments and produced a patch to go on top
of what was there to be consistent with them, I would have put that in.

Had he agreed your criticisms were valid but wasn't able to make an immediate
replacement, I would have reverted it (this is what happened).

But had he *disagreed* with your comments and presented convincing
enough evidence or arguments to support his position, I would have
also disagreed and started a discussion with you to attempt to reach a
concensus as to the right approach.

What was so much of a rush here that we couldn't spend the few extra hours
to go through that process?

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

end of thread, other threads:[~2003-05-13 13:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 17:35 Add new target: vxworks for xscale Richard Kenner
2003-05-10 17:49 ` Zack Weinberg
2003-05-10 21:10   ` Olivier Hainque
2003-05-10 23:09     ` Zack Weinberg
2003-05-11 10:14       ` Olivier Hainque
2003-05-12 18:57         ` Zack Weinberg
2003-05-13 13:30           ` Olivier Hainque
  -- strict thread matches above, loose matches on Subject: below --
2003-05-10 21:21 Richard Kenner
2003-05-10 18:12 Richard Kenner
2003-05-10 14:54 Richard Kenner
2003-05-10 17:14 ` Zack Weinberg
2003-05-10 14:49 Richard Kenner
2003-05-10 12:22 Richard Kenner
2003-05-10 13:00 ` Toon Moene
2003-05-10 13:09 ` Joseph S. Myers
2003-05-10 14:56 ` Daniel Jacobowitz

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