Artifacts Associated With Ticket 1079199fffffffff
Ticket change [fd3a9d3ee5] (rid 108379) by dossy on 2004-12-05 02:23:07:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Currently, there is no way to build a threaded Tcl without the "zippy" memory allocator. Basically, this build is one where TCL_THREADS is defined, but USE_THREAD_ALLOC is not. The original Tcl allocator from generic/tclAlloc.c will be used, but the rest of Tcl will be built threaded. Currently, a "no-zippy" build can be produced on Unix platforms by executing the following after running Tcl's "configure" script: % cd unix % sed -e 's/-DUSE_THREAD_ALLOC=1//' Makefile > Makefile.new % sed -e 's/-DUSE_THREAD_ALLOC=1//' tclConfig.sh > tclConfig.sh.new % cp Makefile.new Makefile % cp tclConfig.sh.new tclConfig.sh It would be good if Tcl's "configure" script understood this configuration, though. See [Bug #1030548] for more detail and discussion of this issue. - foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dossy"
- subsystem initialized to: "41. Memory Allocation"
- title initialized to:
Build a threaded Tcl without the "zippy" allocator.
- type initialized to: "RFE"
Ticket change [4740570c3f] (rid 99664) by dkf on 2004-12-06 18:41:15:
- icomment:
Logged In: YES user_id=79902 You'll hate me for this, but... it seems to work for me in the following configuration: ./configure --enable-langinfo --enable-symbols=all --enable-threads # Then edit the files outlined above to make sure that USE_THREAD_ALLOC is undefined Then either 'make shell' or 'make test' to put things through their paces. OTOH, perhaps this demonstrates the inadequacy of the tests in this area. :^/
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [c4ddec68f8] (rid 111908) by dossy on 2004-12-06 19:24:36:
- icomment:
Logged In: YES user_id=21885 Sorry, I meant "there's no way to do it [using Tcl's configure script]" -- yes, we are already producing non-zippy builds by applying the two sed commands I mentioned above. The point of the RFE is to make this configuration officially supported by providing a means of configuring it using the Tcl "configure" script, rather than "hacking it in" with some sed scripts.
- login: "dossy"
- mimetype: "text/plain"
- username: "dossy"
- icomment:
Ticket change [3341f1e87c] (rid 106554) by dkf on 2004-12-06 20:03:53:
- icomment:
Logged In: YES user_id=79902 Ah, I misunderstood. :^)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [6fe3e7c8b3] (rid 100390) by hobbs on 2004-12-07 03:04:09:
- icomment:
Logged In: YES user_id=72656 I support adding the configure option variance, but not for 8.4.9, which is frozen.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "6"
- username: "hobbs"
- icomment: