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: C++ name mangling, old and new versions?


> It's probably just me doing something stupid, but here goes:

I don't think it is stupid, it's just that your bug report is
incomplete.

I guess -fname-mangling-version-0 is an infrequently-used option,
so it might break. Please let us know what exactly the symbols
are that are missing (e.g. by providing part of the final linker
output).

The linker will probably present you the filtered names, I don't know
whether you can have it print the mangled name. When you know what you
are looking for, you can do nm(1) on the objects, grepping for the
class name as well as for 'U' to get only undefined symbols.

It is a good idea to concentrate on one symbol only, e.g. the first
one.

If virtual tables are missing, you might have been caught by the
change in format of the virtual tables (-fvtable-thunks).

Martin


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