This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C++ ABI Issues


Joe Buck <Joe.Buck@synopsys.com> writes:

| > > It seems that even if it does, we can preserve libstdc++'s binary
| > > compatibility by adding a dummy field that exactly fills up any padding.
| > > This will make no difference in 3.2, and will force any compiler correctly
| > > implementing the ABI to match the 3.2 interface.
| > 
| > Sorr for jumping into discussion, but :0
| > What exactly will this bring us?  libstdc++ is not only C++ library installed
| > in the system and it is one of the most easilly upgardable when reinstalling
| > compiler?
| 
| But we don't want to have to bump the major version number, forcing people
| to have two library copies if they need to run old binaries.  We want the
| new libstdc++ to work with old binaries, meaning that it supports the same
| ABI.

Then, a much more viable way to handle this is to have the compiler do
the job. 


-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]