Weak symbols under AIX 5.1?

David Edelsohn dje@watson.ibm.com
Sun Apr 28 13:41:00 GMT 2002


>>>>> Roger Sayle writes:

Roger> Perhaps then the lack of weak symbols is not the issue.  A further
Roger> investigation reveals that instantiating the same template instance
Roger> static member multiple times in different compilation units doesn't
Roger> cause any problems for the AIX linker.  I'll dig deeper but I suspect
Roger> these testcase failures can be fixed with the current AIX 5L.

	I am not sure what you mean by "these testcase failures can be
fixed with the current AIX 5L."  G++ instantiates template static members
using COMDAT which requires weak support.  The fact that you can
instantiate them on AIX does not mean that those static members should be
instantiated in the testcases on system without weak symbol support.

David




More information about the Gcc-bugs mailing list