[omniORB] Sun Solaris 5.7 link errors?

Craig Rodrigues rodrigc@mediaone.net
Thu, 3 May 2001 16:08:31 -0400


On Thu, May 03, 2001 at 03:51:23PM -0400, Stefan Seefeld wrote:
> Simkin, Rick wrote:
> 
> > Mike Quinlan wrote:
> > 
> >> I am using the Sun Forte C++ compiler version 6.1. When I link,
> >> I get hundreds of undefined symbols.
> > 
> > 
> > I'm aware that the Sun 5 and 6 C++ compilers mangle function names
> > according to the C++ standard, which differs from the way that earlier
> > compilers did it (I haven't had the opportunity to explore this in
> > detail personally).
> 
> 
> there is no such thing as a 'standard mangling scheme', as there is no 
> standard ABI.

This is correct.

> Until compiler writers decide on a standard binary interface you can't 
> mix code compiled
> with different compilers.

The closest thing I have seen to a standard C++ ABI is the one
being developed for Intel's new IA-64 (Itanium) 64-bit processor:
http://reality.sgi.com/dehnert_engr/cxx/

gcc 3.0 will conform to this ABI, but whether or not the dream
of "compile once, link everywhere" on IA-64 will work with
different compilers is yet to be seen.  And of course, there
is no such ABI under Solaris.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net