gcc & glibc & ABI compatibility - latest update

Hi,

I am contemplating building the rhel5 version of our application using the SunStudio 12 compiler. We have a very large C/C++ application and the catch is that we don't have the source for a number of big 3rd commercial C++ libraries that we need to link against. These libs are built on rhel4 using gcc.

What is the story with g++ and SunStudio 12 ABI compatibility ?

August last year there was a thread that discussed this and the recommendation was not to even try as the ABI was not compatible at the C++ level (C was OK). Ref : http://forum.java.sun.com/thread.jspa?forumID=855&threadID=5105358

Of course I could just suck it and see, but I would like to know if it is even worth trying.

Thanks for any info.

- Mark

[772 byte] By [petrosysa] at [2007-11-27 10:28:59]
# 1

Others know better, but g++ compatibility is being worked on, that's for sure. I don't know about the progress, though.

MaximKartasheva at 2007-7-28 17:54:55 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

I am the person who knows better :-) We are working on g++ ABI implementation. Unfortunately I cannot give any estimations when this work will finished. Currently we have almost full (~80-90%) implementation of class layout (except virtual base classes), mangler, RTTI, simple virtual function cases. Uncovered parts - virtual base classes, exceptions, some part if runtime support.

Probably I will drop notes about progress in my blog http://blogs.sun.com/roller/page/sga.

Atanasyana at 2007-7-28 17:54:55 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

We are indeed working on binary compatibility with g++ for a future compiler release. I cannot predict when it will be available, but it will certainly not be within the next few months.

clamage45a at 2007-7-28 17:54:55 > top of Java-index,Development Tools,Solaris and Linux Development Tools...