[Bug c++/18257] [4.0 Regression] ld: 0711-317 ERROR: Undefined symbol: typeinfo for int

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Sun Oct 31 18:58:00 GMT 2004


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-31 18:58 -------
Subject: Re:  New: [4.0 Regression] ld: 0711-317 ERROR: Undefin ed symbol: typeinfo for int

On Sun, Oct 31, 2004 at 01:21:22PM -0500, danglin at gcc dot gnu dot org wrote:
> On systems that don't have weak or one-only support (e.g., AIX 4.x and 5.1),
> the libstdc++ library no longer contains strong definitions for the typeinfo
> for types that should be in the runtime library.  This is because
> import_export_decl now always gives the declarations comdat linkage.

Attached is a patch that significantly improves the situation.  However,
I don't have 100% confidence that it doesn't emit some declarations as
strong declarations when they shouldn't be strong.

Dave

------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-31 18:58 -------
Created an attachment (id=7446)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7446&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18257



More information about the Gcc-bugs mailing list