This is the mail archive of the gcc-bugs@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: Name Mangling changed from egcs 1.1.2 to gcc 2.95


> I guess egcs 1.1.1 did the name-mangling compression before resolving
> typedefs, thus missing this case.

Ok, I could reproduce that behaviour here. Taking typedefs into
account for mangling was clearly wrong, so gcc 2.95 is right in this
respect.

> Unfortunately, the act of fixing that little bug has resulted in
> what basically amounts to a new name-mangling strategy.  So you can
> no longer link together code compiled with gcc 2.95 with code
> compiled with egcs 1.1.2.  It would be good if a
> backwards-compatibility flag could be added.

That won't happen. Please have a look at

http://egcs.cygnus.com/gcc-2.95/caveats.html

'Officially', there is no compatibility between 1.1.x and 2.95,
whatsoever (and there is a number of other changes that broke
compatibility).

So you either have to recompile everything for gcc 2.95, continue to
use egcs 1.1, or find some other (local) solution.

Regards,
Martin


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