On May 11, 2007, at 5:28 PM, Mark Mitchell wrote:

Bill Wendling wrote:

Andrew Pinski wasn't able to reproduce the link error on Linux, and I've
only seen it on Darwin. However, as Chris Lattner pointed out, this
indicates a fairly serious problem (which shows up even on the Linux
build) in that the symbols aren't getting internal linkage (they're in an anonymous namespace, so should). It could impact performance on large
systems quite a bit. Certainly during linking.

Names in anonymous namespaces had external linkage for a long time in
G++. Did they have internal linkage in 4.1, or was that introduced (in
theory) for 4.2?

It was introduced in 4.2. Also, this bug may be specific to typeinfo objects - other symbols seem to be ok.

-Chris

Reply via email to