This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
static initialization woes
- To: libstdc++ at sources dot redhat dot com
- Subject: static initialization woes
- From: Timothy Wall <twall at cygnus dot com>
- Date: Fri, 13 Apr 2001 08:13:41 -0400
- Newsgroups: cygnus.g++.libstdc++
- Organization: Red Hat Inc.
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