In a message dated 1/7/03 2:58:23 PM Eastern Standard Time, [EMAIL PROTECTED] writes:

Disable the fast allocator on AOLserver (which was the default mode if nsd was started without the -z flag) and then disable the fast allocator when building Tcl 8.4 with -DUSE_THREAD_ALLOC=0. 


Some additional info for anyone who goes down this path:

Building AOLServer 3.5.2 w/tcl 8.4 on Solaris without the fast memory allocator (for purifying purposes), I encountered the following:

I had to modify the tcl Makefile and remove the -DUSE_THREAD_ALLOC flag altogether in order to build without the fast memory allocator. Setting it to 0 didn't seem to work.

I then encountered a small bug in nsthread/nsthreadtest.c w/respect to this - if tcl has been built without the fast memory allocator, you'll get a link error because it references Tcl_GetMemoryInfo, which isn't defined without USE_THREAD_ALLOC (a hack to nsthread.c to avoid the call will allow your build to complete)  (not sure if this is an issue for pre-3.5)

-Elizabeth


Elizabeth Thomas
Principal Software Engineer
America OnLine, Inc.

Reply via email to