public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-08  3:42 Bernard Dautrevaux
  2002-07-08  4:07 ` Gabriel Dos Reis
                   ` (5 more replies)
  0 siblings, 6 replies; 54+ messages in thread
From: Bernard Dautrevaux @ 2002-07-08  3:42 UTC (permalink / raw)
  To: 'Joern Rennecke', Gabriel Dos Reis, gcc
  Cc: Jakub, Jelinek, Mark Mitchell, obrien



> -----Original Message-----
> From: Joern Rennecke [mailto:joern.rennecke@superh.com]
> Sent: Saturday, July 06, 2002 10:47 PM
> To: Gabriel Dos Reis; gcc@gcc.gnu.org
> Cc: Jakub@superh.com; Jelinek@superh.com; Mark Mitchell;
> obrien@freebsd.org
> Subject: Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
> 
> 
> > Thanks for the clarifications.  So all that needs is to make an
> > exception to our earlier commitment that minor releases won't
> > introduce ABI incompatibility; or make an exception to our scheduled
> > development plan.  I don't have any strong opinion.  But if we were
> 
> Well, we could could make a sub-branch from the 3.1 branch for the
> amended ABI, and call it 3.1bis .

Speaking for myself, as a GCC user mainly for this, I feel it a lot clearer
to stick to the "minor releases only fix bugs but are otherwise fully
compatible" scheme; thus it seems to me that to avoid end user brain damage,
if a release with an ABI that we may reasonably expect to be compatible with
upcoming releases (but need to be incompatible with the currently almost
released 3.1.1) then it should be named 3.2.

Then what was for now named 3.2 byt GCC *developpers* (a much smaller
community than gcc *users*) may have to be renamed 3.3 if there is
incompatibilities with this 3.2 release (or major change in features), but
may just become 3.2.1 otherwise. 

In all cases the numbering scheme will then remain coherent and easily
understandable by users.

Just my .02$

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
-------------------------------------------- 

^ permalink raw reply	[flat|nested] 54+ messages in thread
* Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-10  4:24 Iain McClatchie
  0 siblings, 0 replies; 54+ messages in thread
From: Iain McClatchie @ 2002-07-10  4:24 UTC (permalink / raw)
  To: mark, gcc

Isn't this issue pretty obvious?

- All the major distributions want to go with something similar
  to the 3.1.1 code base, since it's well tested.

- All the major distributions want to avoid ABI changes

- ABI changes involve bumping the major rev number

- Big changes that don't touch the ABI also bump the major rev.

- The major distributions represent a very important segment of
  the GCC user community.

So you add the ABI change to 3.1.1 and call that 3.2.  This
is what all the major distributions want to ship, so they are
well incented to test the hell out of it.

What you had been calling 3.2 gets called 3.3.  Yes, it's too
bad that 3.2 won't be as great as you'd been hoping, but...
let it go.  The important thing is that as many users as
possible get as much of the great work you folks have been
doing as soon as possible.

So 3.2 won't be so great, but you won't be working on it very
long either.  FSF adopts the responsibility to maintain the 3.2
codeline, producing 3.2.1, 3.2.2, etc, as the distros feed back
fixes for the inevitable problems.  But you'll end up shifting
your focus to 3.3 very quickly.

Names aren't very important.  What is important is whether the
FSF crowd are going to take on significant extra management labors
in order to deliver a stable ABI for a while.  Yes, making a 3.2
which exists mostly to incorporate distro bugfixes is not very
grand, but it serves many users very well, and those same users
will have a much easier time upgrading to 3.3 later.

And that means that more people will get more of your good work
sooner.

-Iain McClatchie                       iain-3@truecircuits.com
                                       650-691-7604 voice
True Circuits, Inc.                    650-691-7606 FAX
                                       650-703-2095 cell

^ permalink raw reply	[flat|nested] 54+ messages in thread
* Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-08 10:09 Ben Woodhead
  0 siblings, 0 replies; 54+ messages in thread
From: Ben Woodhead @ 2002-07-08 10:09 UTC (permalink / raw)
  To: gcc

Hello everybody.. 

If I remember correctly I believe that:
gcc x.y.z is 
x. Major  - Architecture Changes, 
y. Minor - Features added but no major architecture changes (slight changes to 
the abi could be possible here, if there are a small number of cases were it 
would affect). 
z. Patch - Patch levels are for overflows, nothing on the outside changes but 
possible bugs, such as not testing values, or overflows or fence post errors.

With that out of the way I find it really hard to see an abi change going into 
a patch level. Please, please please don't do that, 3.1.whatever should all 
match.. When talking about the version i should not have to say 3.1.1 because 
it should have only fixed segfaults and things like that, so the output and 
input should be the same, so 3.1 is fine.. 

As far as if this version is closer to version 3.1 or 3.2.. 3.2 does not exist 
so it can be what ever i want it to be.. ie, you could patch a text file in 
3.1 and call it 3.2 and theres nothing anybody can say about it. 

Just a possible suggestion, release 3.1.1 now the way it is, (on its release 
date) so the people using 3.1 can get the fixes they need. Then apply the abi 
changes, and test the output, try to find all the abi inconsistencies.. Then 
in August release version 3.1.1 with abi changes included as 3.2. 

That  way you don't have to worry about applying a patch a week way from the 
release date or making incompatabilities with 3.1.x. Also on the same not you 
don't have to try to release 3.2 with all the new features that are not well 
tested.. Everybodies is happy, the abi changes are in, and you don't have to 
worry about the experamental stuff from 3.2. 

Thanks, 
Ben Woodhead


Gabriel Dos Reis wrote:
> | Well, we could could make a sub-branch from the 3.1 branch for the
> | amended ABI, and call it 3.1bis .
> 
> Isn't that going to make some confusion? (That isn't meant to be
> rhetorical, that is a serious question)

Well, it should generate less confusion than calling it 3.2.x or 3.1.x,
since it is clear that it is closer to 3.1 than to 3.2, but not the
original 3.1 .  It's the second attempt to have a workable 3.1 .
        
-- 
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330

^ permalink raw reply	[flat|nested] 54+ messages in thread
* RE: C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-08  9:02 Bernard Dautrevaux
  2002-07-08 13:03 ` Bernard Dautrevaux
                   ` (3 more replies)
  0 siblings, 4 replies; 54+ messages in thread
From: Bernard Dautrevaux @ 2002-07-08  9:02 UTC (permalink / raw)
  To: 'Joern Rennecke', Bernard Dautrevaux
  Cc: Gabriel Dos Reis, gcc, Jakub, Jelinek, Mark Mitchell, obrien



> -----Original Message-----
> From: Joern Rennecke [mailto:joern.rennecke@superh.com]
> Sent: Monday, July 08, 2002 1:37 PM
> To: Bernard Dautrevaux
> Cc: Gabriel Dos Reis; gcc@gcc.gnu.org; Jakub@superh.com;
> Jelinek@superh.com; Mark Mitchell; obrien@freebsd.org
> Subject: Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
> 
> 
> Bernard Dautrevaux wrote:
> > 
> > > -----Original Message-----
> > > From: Joern Rennecke [mailto:joern.rennecke@superh.com]
> > > Sent: Saturday, July 06, 2002 10:47 PM
> > > To: Gabriel Dos Reis; gcc@gcc.gnu.org
> > > Cc: Jakub@superh.com; Jelinek@superh.com; Mark Mitchell;
> > > obrien@freebsd.org
> > > Subject: Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
> > >
> > >
> > > > Thanks for the clarifications.  So all that needs is to make an
> > > > exception to our earlier commitment that minor releases won't
> > > > introduce ABI incompatibility; or make an exception to 
> our scheduled
> > > > development plan.  I don't have any strong opinion.  
> But if we were
> > >
> > Then what was for now named 3.2 byt GCC *developpers* (a 
> much smaller
> > community than gcc *users*) may have to be renamed 3.3 if there is
> > incompatibilities with this 3.2 release (or major change in 
> features), but
> > may just become 3.2.1 otherwise.
> 
> But then you'd have a massive amount of new. possibly 
> destabilizing code
> in 3.2.1 versus 3.2.  Users generally expect a x.y.1 release 
> to me more
> stable than the preceding x.y.0 release.

So the "current" 3.2 branch should provide a 3.3 "release"...

> 
> And, on the other hand, 3.2 would be rather a disappointment regarding
> new features and ports.

I expect a 3.2 version with few new features and ports available soon, with
due comments on why it was done, be less disapointing than one done later
that add new features but also break compatibility. 

With a 
	3.2 == new ABI soon
	3.3 == new features later
split users can switch either now to the new ABI, or later to get both.

With the current scheme they just have
	3.2 == new ABI and new features
but this will only be availabel at the time the 3.3 of the previous scheme
will be. It seems that splitting th eevolution may be less destabilizing for
users and not too much added work for the developpers (not counting the
release manager which obvioulsy will have more work).

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
-------------------------------------------- 

^ permalink raw reply	[flat|nested] 54+ messages in thread
* Re: C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-06 15:47 Joern Rennecke
  2002-07-06 16:09 ` Gabriel Dos Reis
  0 siblings, 1 reply; 54+ messages in thread
From: Joern Rennecke @ 2002-07-06 15:47 UTC (permalink / raw)
  To: Gabriel Dos Reis, gcc; +Cc: Jakub, Jelinek, Mark Mitchell, obrien

> Thanks for the clarifications.  So all that needs is to make an
> exception to our earlier commitment that minor releases won't
> introduce ABI incompatibility; or make an exception to our scheduled
> development plan.  I don't have any strong opinion.  But if we were

Well, we could could make a sub-branch from the 3.1 branch for the
amended ABI, and call it 3.1bis .

-- 
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330

^ permalink raw reply	[flat|nested] 54+ messages in thread
* C++ binary compatibility between GCC 3.1 and GCC 3.2?
@ 2002-07-04  9:55 Andreas Jaeger
  2002-07-04 10:23 ` H. J. Lu
                   ` (3 more replies)
  0 siblings, 4 replies; 54+ messages in thread
From: Andreas Jaeger @ 2002-07-04  9:55 UTC (permalink / raw)
  To: gcc


Jason committed recently patch to fix a number of C++ Bugs in the ABI:
http://gcc.gnu.org/ml/gcc-patches/2002-06/msg01275.html

What does this mean for binary compatibility between GCC 3.1 and GCC
3.2?  With the introduction of GCC 3 and its ABI, the expectation by
users is that we won't have binary incompatible changes.  Unfortunatly
the - AFAIK valid - bug reports show that the ABI implemention was
buggy and therefore needed to change.

What will this mean for distributions and for production usage of GCC
3.1?  I fear this means that folks cannot easily upgrade from GCC 3.1
to GCC 3.2 since C++ is incompatible and all C++ libraries that are
needed for development need to be relinked.

Would it make sense for a distribution starting to ship GCC 3.1 to
apply that bugfix?  I prefer not to do this since it would mean that
then two different GCC 3.1 release are binary incompatible :-(.  But
it would allow an easier upgrade to GCC 3.2 - or distributors are
stuck with GCC 3.1 like some where stuck with GCC 2.95 due to the
binary incompatibilities between 2.95, 3.0 and 3.1 which were known
before.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

end of thread, other threads:[~2002-07-12 18:22 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-08  3:42 C++ binary compatibility between GCC 3.1 and GCC 3.2? Bernard Dautrevaux
2002-07-08  4:07 ` Gabriel Dos Reis
2002-07-08  6:28 ` Joern Rennecke
2002-07-08 13:05 ` Bernard Dautrevaux
2002-07-10  7:33 ` Bernard Dautrevaux
2002-07-12  4:27 ` Bernard Dautrevaux
2002-07-12 13:53 ` Bernard Dautrevaux
  -- strict thread matches above, loose matches on Subject: below --
2002-07-10  4:24 Iain McClatchie
2002-07-08 10:09 Ben Woodhead
2002-07-08  9:02 Bernard Dautrevaux
2002-07-08 13:03 ` Bernard Dautrevaux
2002-07-10  7:32 ` Bernard Dautrevaux
2002-07-12  3:09 ` Bernard Dautrevaux
2002-07-12 13:50 ` Bernard Dautrevaux
2002-07-06 15:47 Joern Rennecke
2002-07-06 16:09 ` Gabriel Dos Reis
2002-07-07  8:03   ` Joern Rennecke
2002-07-04  9:55 Andreas Jaeger
2002-07-04 10:23 ` H. J. Lu
2002-07-05 14:17 ` Mark Mitchell
2002-07-05 14:22   ` Andreas Jaeger
2002-07-05 14:28     ` Mark Mitchell
2002-07-05 14:53       ` David O'Brien
2002-07-05 15:08         ` Mark Mitchell
2002-07-06  5:34           ` Andreas Jaeger
2002-07-06  6:40             ` Gabriel Dos Reis
2002-07-06  6:40               ` Jakub Jelinek
2002-07-06  7:20                 ` Gabriel Dos Reis
2002-07-06  7:53                   ` Andreas Jaeger
2002-07-06  8:54                     ` Gabriel Dos Reis
2002-07-06 11:04                     ` Daniel Jacobowitz
2002-07-06  7:42                 ` Andreas Jaeger
2002-07-06 11:08                   ` Jeff Law
2002-07-06 11:10                     ` Gwenole Beauchesne
2002-07-06  6:19         ` Daniel Egger
2002-07-05 14:46   ` David O'Brien
2002-07-05 15:02     ` Mark Mitchell
2002-07-06  6:28       ` Scott Robert Ladd
2002-07-05 15:02     ` H. J. Lu
2002-07-05 15:12       ` David O'Brien
2002-07-05 15:20         ` H. J. Lu
2002-07-05 16:11           ` Stan Shebs
2002-07-05 16:12             ` David Edelsohn
2002-07-05 16:35               ` Stan Shebs
2002-07-05 22:18               ` Geoff Keating
2002-07-07 23:14               ` Mark Mitchell
2002-07-06  4:56     ` Andreas Jaeger
2002-07-06  6:44       ` Gerald Pfeifer
2002-07-06  7:35         ` Andreas Jaeger
2002-07-06 11:44         ` David O'Brien
2002-07-05 22:35 ` David Edelsohn
2002-07-06  5:40 ` Joseph S. Myers
2002-07-06  6:40   ` Gabriel Dos Reis
2002-07-06  7:49     ` Andreas Jaeger

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