From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 852 invoked by alias); 5 Jul 2002 21:35:41 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 825 invoked from network); 5 Jul 2002 21:35:39 -0000 Received: from unknown (HELO sccrmhc02.attbi.com) (204.127.202.62) by sources.redhat.com with SMTP; 5 Jul 2002 21:35:39 -0000 Received: from ocean.lucon.org ([12.234.143.38]) by sccrmhc02.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020705213538.BXDI6023.sccrmhc02.attbi.com@ocean.lucon.org>; Fri, 5 Jul 2002 21:35:38 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id 03BC0125D3; Fri, 5 Jul 2002 14:35:35 -0700 (PDT) Date: Fri, 05 Jul 2002 15:02:00 -0000 From: "H. J. Lu" To: David O'Brien Cc: Mark Mitchell , Andreas Jaeger , "gcc@gcc.gnu.org" , Gerald Pfeifer Subject: Re: C++ binary compatibility between GCC 3.1 and GCC 3.2? Message-ID: <20020705143534.A15158@lucon.org> References: <18910000.1025898677@gandalf.codesourcery.com> <20020705142838.C89951@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020705142838.C89951@dragon.nuxi.com>; from obrien@FreeBSD.org on Fri, Jul 05, 2002 at 02:28:38PM -0700 X-SW-Source: 2002-07/txt/msg00241.txt.bz2 On Fri, Jul 05, 2002 at 02:28:38PM -0700, David O'Brien wrote: > On Fri, Jul 05, 2002 at 12:51:17PM -0700, Mark Mitchell wrote: > > In any case, GCC 3.1 and GCC 3.2 will not be 100% binary compatible > > with respect to the C++ ABI. > > > > I can't say what that might mean as a distributor. > > I can -- MAJOR pain and difficulty. It would probably prevent FreeBSD > using GCC 3.2 in our 5.1 and later 5.x releases. That means 1-2 years > before the compiler can be upgraded for our users. > > I urge you as strongly as I can to back port (#define wrap if needed) the > changes so that GCC 3.1.1 can be built to be 100% C++ ABI compatible with > GCC 3.2. FreeBSD can much more easily accept breakage between 3.1[.0] > and 3.1.1, than between 3.1.1 and 3.2[.0] as we are still developing 5.0 > and can take ABI hits right now. > IMHO, keep the C++ ABI compatibility between 3.1 and 3.1.x, but break between 3.1.x and 3.2, is one of the worst things anyone can do to gcc. H.J.