Article View: comp.sys.sgi.misc
Article #384Re: [?] Anybody made Shared libg++_s.a on SGI Irix?? (and SVR4)
From: Peter Wemm
Date: Sun, 02 May 1993 18:35
Date: Sun, 02 May 1993 18:35
35 lines
2448 bytes
2448 bytes
In <AMOSS.93Apr29165653@shuldig.cs.huji.ac.il> amoss@shuldig.cs.huji.ac.il (Amos Shapira) writes: >bingh@sibelius.cs.byu.edu (Curtis Bingham) writes: >2. As far as I understand IRIX 5.0 uses SysVr4 shared libs which are much > more standard and I think also are supported by GNU. >I guess the only advice I can give you is "be patient". Laugh! I get the impression that SVR4 support is actually on the "negative" priority list by the GNU people... (Yes Ron, you've done a great job!). A quick perusal of gcc-2.3.3's README.DWARF might change your mind. I also understand that there is a pretty fundamental design "mis-feature" in g++.. I understand that the MSB of function/method pointers is used as a "virtual" flag. This is fine, assuming that the code runs in the bottom half of the memory map. Guess where SVR4 puts it's shared libaries? Yup. In the third gigabyte. So, all the g++ code thinks all the methods in the library are virtual. This aparently breaks things in a pretty big way. It also means that any change to the "style" of indicating a virtual function/method would make .o files that are 100% incompatable with old .o files. Sigh... -Peter PS: I doubt that I understand 100% correctly how virtual methods are handled, but I think that is "near enough" for the illustration. -- Peter Wemm peter@DIALix.oz.au -or- peter@zeus.DIALix.oz.au NIC handle: PW65 Current maintainer of the "NN" newsreader.
Technical Details
Message-ID:
<1s148k$e1u@DIALix.oz.au>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!network.ucsd.edu!munnari.oz.au!uniwa!DIALix!not-for-mailReferences:
<BINGH.93Apr28191030@sibelius.cs.byu.edu> <AMOSS.93Apr29165653@shuldig.cs.huji.ac.il>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,bf9b8d15cdbf713 X-Google-Attributes: gid100159,public X-Google-Thread: 1025b4,bf9b8d15cdbf713 X-Google-Attributes: gid1025b4,public X-Google-Thread: 10ba33,bf9b8d15cdbf713 X-Google-Attributes: gid10ba33,public X-Google-ArrivalTime: 1993-05-02 11:49:03 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!network.ucsd.edu!munnari.oz.au!uniwa!DIALix!not-for-mail From: peter@DIALix.oz.au (Peter Wemm) Newsgroups: comp.sys.sgi.misc,gnu.g++.help,gnu.misc.discuss Subject: Re: [?] Anybody made Shared libg++_s.a on SGI Irix?? (and SVR4) Date: 3 May 1993 02:35:00 +0800 Organization: DIALix Services, Perth, Western Australia Lines: 35 Message-ID: <1s148k$e1u@DIALix.oz.au> References: <BINGH.93Apr28191030@sibelius.cs.byu.edu> <AMOSS.93Apr29165653@shuldig.cs.huji.ac.il> NNTP-Posting-Host: localhost.dialix.oz.au X-Newsreader: NN version 6.4.19 #1