Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-09-17
03:21 • Closed ticket [3065455fff]: Tcl Head, make install-tzdata crashes on second run<... artifact: 1b7a117099 user: andreas_kupries
2010-09-16
22:25 • Ticket [3065455fff]: 1 change artifact: 2bc254316a user: andreas_kupries
22:25 • Ticket [3065455fff]: 4 changes artifact: 87b3f10d7d user: andreas_kupries
08:08 • Ticket [3065455fff]: 1 change artifact: 4e5857b216 user: kennykb
08:08 • Ticket [3065455fff]: 4 changes artifact: 529b4b7397 user: kennykb
2010-09-14
01:35 • Ticket [3065455fff]: 4 changes artifact: 3020679ec2 user: andreas_kupries
01:35 • Add attachment tcl.log to ticket [3065455fff] artifact: 2d6a31d277 user: andreas_kupries
2010-09-13
18:35 • New ticket [3065455fff] Tcl Head, make install-tzdata crashes on second run. artifact: caa78ebf06 user: andreas_kupries

Tcl Head, make install-tzdata crashes on second run

Closed / Out of Date3065455fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-09-13 18:35:08
When building the Tcl 8.6 HEAD I consistently get crashes during installation, on target "install-tzdata" to be more specified.
This actually happens not when I configure, build, link, and install, but on a second run when the build and link stages are skipped.
I am not sure if I am explaining this right.

Lets see, in more detail:

I am building, in this order
(a) tcl
(b) tk
(c) tcl.static
(d) tk.static
(c') tcl.static
(d') tk.static
(a') tcl
(b') tk

All the (x') builds reuse the directories of their corresponding (x) build. Which means that they run configure again, but they actually to not compile or link anything because the .obj/.dll/.lib files are all present and uptodate. They do run the install target however. The regular/static builds use different build directories for the object files and libs. They install into the same result directory hierarchy tough, i.e. the --prefix and --exec-prefix are the same.

It might be possible to leave Tk out of this, I mentioned it for completeness.
The builds which crash during execution of the 'install-tzdata' target are (c) and (a').
The attached log of the cash is for (a').
andreas_kupriesplain2010-09-14 01:35:09
File Added - 386544: tcl.log
kennykbplain2010-09-16 08:08:23
WOMM.

It's definitely $(NATIVE_TCLSH) that's crashing, so I have two hypothesis:

(1) $(NATIVE_TCLSH) is incompatible with the Makefile settings of LD_LIBRARY_PATH and TCL_LIBRARY... and I don't think we're supposed to be setting them, so taking those lines out of install-msgs and install-tzdata looks right.

(2) $(NATIVE_TCLSH) is broken and crashing for some other reason.

Could you remove the two lines:

@@LD_LIBRARY_PATH_VAR@="`pwd`:$${@LD_LIBRARY_PATH_VAR@}"; export @LD_LIBRARY_PATH_VAR@; \
TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"; export TCL_LIBRARY; \

from the install-msgs and install-tzdata rules in Makefile.in and retest?
kennykb Ticket [3065455fff]: 1 change [History diff]2010-09-16 08:08:24
andreas_kupriesplain2010-09-16 22:25:02
Ah. My bad. I forgot to mention: This is on Windows 64bit. The changes you propose are in the unix Makefile. The windows Makefile uses the just-build tclsh, not the native tclsh.
andreas_kupries Ticket [3065455fff]: 1 change [History diff]2010-09-16 22:25:03
andreas_kupriesplain2010-09-17 03:21:55
allow_comments - 1

Closing. Not reproducible anymore when using the HEAD of today. Apparently a transient problem due to the -DUNICODE patch flux.
Log in (anonymous is fine) to add a comment.

Attachments: