static initialization woes

Timothy Wall twall@cygnus.com
Fri Apr 13 05:15:00 GMT 2001


I'm experiencing some static initialization segfaults, apparently coming
from within locale.cc.  I'm working on the ia-64 aix port (monterey).
The biggest difference between this one and vanilla ia-64 is that all
potentially shared code (i.e. read-only sections) must be fully
relocatable.

Does someone familiar with that code know of anything that might be
happening differently in locale.cc from anywhere else?  Or perhaps have
some hints on mapping segments of init code back to the original module
it was compiled in?  I've tracked down to the instructions causing the
problem, but it's in the auto-composited stuff bounded by crti and crtn.

I've been working off the gcc-3 (FSF) branch.

thanks
Tim Wall




More information about the Libstdc++ mailing list