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]

Re: Problems with linking older libraries


> Is there a good reason/logic behind breaking binary compatibility
> from version to version?

You don't seem to have much trust into people doing compiler
development. Do you think they break binary compatibility just for the
fun of it?

There are always good reasons for breaking it. Typically, a serious
bug can be only fixed by breaking the ABI. In case of egcs 1.1,
exception handling was not thread-safe in 1.0. In case of egcs 1.2,
the standard template library shipped with egcs 1.1 did not comply
with the standard.

Another reason is that the code might be more efficient if the binary
compatibility can be broken. egcs already contains a number of such
changes, which are not activated yet because they break binary
compatibility.

Regards,
Martin


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