g++/cygwin-B19 linkage problem, multiple definitions

Mumit Khan khan@xraylith.wisc.edu
Thu Oct 29 11:52:00 GMT 1998


Jeffrey A Law <law@cygnus.com> writes:
> 
> 
>   In message < 9810280406.AA28060@modi.xraylith.wisc.edu >you write:
> 
>   > Reported Oct 10, 1998. See
>   > 
>   >   http://www.cygnus.com/ml/egcs-bugs/1998-Oct/0043.html
>   > 
>   > Fixed in the mainline, but haven't looked at extracting the change needed
>  
>   > for release branch.
> If the fix is simple and safe, you've got time to get it into the egcs-1.1.1
> release.
> 

I believe Jason's following change fixes it. It worked for a simple test
case that I tried, but beware that I haven't tested for regressions at
all. 

Also, I may be completely off the base here, but wasn't there something
about MIPS port not liking this change (and hence Jason's Oct 13 change 
to mips/iris6.h and varasm.c)?

1998-09-03  Jason Merrill  <jason@yorick.cygnus.com>

        * decl2.c (import_export_vtable): Always make artificials comdat.
        (import_export_decl): Likewise.
        * pt.c (mark_decl_instantiated): Likewise.

If Jason thinks this is ok, I'll go ahead and check for regressions and
such ...

Regards,
Mumit




More information about the Gcc-bugs mailing list