From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 847313F57A for ; Sat, 5 Apr 2003 15:38:07 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h35Kc8023892 for axp-list@listman.redhat.com; Sat, 5 Apr 2003 15:38:08 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h35Kc8J23888 for ; Sat, 5 Apr 2003 15:38:08 -0500 Received: from skarpsey.dyndns.org (12-207-41-15.client.attbi.com [12.207.41.15]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h35Kc6e08573 for ; Sat, 5 Apr 2003 15:38:07 -0500 Received: from valhalla (Valhalla.attbi.com [192.168.0.2]) by skarpsey.dyndns.org (8.12.9/8.12.9) with ESMTP id h35KaZXe030777 for ; Sat, 5 Apr 2003 14:36:35 -0600 Content-Type: text/plain; charset="iso-8859-1" From: Kelledin To: axp-list@redhat.com Subject: Re: [porting-dev] So it Compiles, what does ./setup create? Date: Sat, 5 Apr 2003 15:37:08 -0600 User-Agent: KMail/1.4.3 References: <200304042130.04461.kelledin+AXP@skarpsey.dyndns.org> <3E8EB19B.3020909@voicenet.com> In-Reply-To: <3E8EB19B.3020909@voicenet.com> MIME-Version: 1.0 Message-Id: <200304051537.08200.kelledin+AXP@skarpsey.dyndns.org> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by int-mx1.corp.redhat.com id h35Kc8J23888 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Saturday 05 April 2003 04:36 am, U. George wrote: > Ahh, but do u know why they are incompatable? Maybe a compiler > defect? Well, gcc 3.x (specifically, somewhere around gcc-3.1.1) started using some new relocatable symbol types on Alpha (17 and 18, R_ALPHA_GPRELHIGH and R_ALPHA_GPRELLOW respectively). There are probably a few other changes as well (not just Alpha-specific) due to new features, rather than compiler defects. > Anyway, if this were true, then there is no real need to > install the gcc3 ( et al ) product on the ALPHA. Unless, or > course you remove all things built with gcc2, which in case of > this RH7.2/ALPHA release whould just about mean everything. Or > somehow have fenced off areas, one for all things built with > gcc2, all other things built with gcc3. Well, as I mentioned, binaries and shared libraries produced by gcc2 or gcc3 can be mixed without problems, as long as libstdc++ doesn't enter into the picture. That's pretty much all that matters at run-time, except for rare packages like XFree86 and the kernel that load .o files at run-time. The deal-breaker is libstdc++. This library represents the C++ ABI, which didn't really approach finalization until gcc-3.2. gcc 2.x had a pretty consistent C++ ABI throughout its life, but it was based on the incomplete draft C++ standard of its time, rather than the finalized ANSI C++ standard we have now. The libstdc++ ABI had to make backwards-incompatible changes to meet the requirements of the finalized standard; most of those changes started with gcc-3.0 and ended with gcc-3.2. For that reason, it's advantageous for a distro to provide at least the libstdc++ shared libraries from both gcc2 and gcc3, just to satisfy precompiled C++ apps. Mixing gcc2-compiled C++ apps with gcc3-compiled C++ apps could work out 100% fine or could cause some pretty interesting problems. Usually any problems it causes are not that destructive--just run-time link failures that prevent a specific app from running at all. -- Kelledin "If a server crashes in a server farm and no one pings it, does it still cost four figures to fix?"