This is the mail archive of the
mailing list for the GCC project.
Re: gcj, shared libraries, and -Bsymbolic
Jakub Jelinek writes:
> and at least in my understanding ODR should guarantee there is just
> one foo()::i variable in the whole program.
And Java guarantees exactly the opposite! Well, as long as two
identically named classes are loaded by different class loaders, each
has its own copy of static data. Really, we can't win: it would be
sufficient to say that if you want to link C++ code you should use the
"g++" command, and if you want to link Java code you should use the
"gcj" command, at least until the new gcj ABI is well and truly