This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: setting of initial bottom of stack variable in pthread.c (again)
On Tue, Aug 22, 2006 at 08:22:50AM -0700, Jay wrote:
> I put some printf's into the thread segment function.
> For some reason THREAD_STACK_START_ADDRESS = BFE00000
> while __pthread_initial_thread_bos = BFA00000, so I
> believe I need to figure out why these two are
> different. My first guess is going to be that
> THREAD_STACK_START_ADDRESS is defined somewhere else
> so it never gets set to __pthread_initial_thread_bos
> as in internals.h
Try compiling manager.c, with the same command line as the glibc
build log, but adding -dD -E in place of -c. The resulting text file
should show you where it's being defined. In an unmodified FSF source
tree, I can't see anywhere this could happen!
--
Daniel Jacobowitz
CodeSourcery