make: *** [test] Error 134
Closed / Duplicate485334ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-11-25 15:52:26
After a succesful compilation, make test fail with: ... for-old.test for.test foreach.test TclExecuteByteCode: done instruction at pc 47: stack top 7 != entry stack top 6 TclExecuteByteCode execution failure: end stack top != start stack top make: *** [test] Error 134 Kernel: 2.4.9 glibc: 2.2.3
dkf Ticket [485334ffff]: 2 changes
[History diff]2001-11-26 20:32:51
dgpplain2001-11-27 05:03:40
Logged In: YES user_id=80530 In what version of Tcl is this error seen? Errors like this are common when using, for example, the test suite for Tcl 8.4a3 to test version 8.4a2 of the Tcl library. This can happen easily if one forgets to 'make install' before 'make test' due to the -R options Tcl passes to the linker when building with shared libraries. If that's what happened here, then this report should be marked Invalid. Any followup from the anonymous submitter?
nobodyplain2001-11-27 09:40:30
Logged In: NO Sorry about the version! It is 8.3.4. According to your comments, if I undestand well I should install tcl before testing it? The installation says to make test then make install. Then what happen if the test still fails? Should I understand that a fail does not really mean that the compilation is wrong or something? Thanks for your help
dgpplain2001-11-27 12:48:30
Logged In: YES user_id=80530 Yes, that explains things. There was a bug in earlier releases of Tcl 8.3 that could cause a panic in the execution of bytecode. It is registered here as Tcl Bug 406709. http://sf.net/tracker/index.php?func=detail&aid=406709&group_id=10894&atid=110894 When Tcl was patched to fix the bug, a new test, foreach-5.5 was added to the test suite to check that the bug had been fixed. The Tcl release 8.3.4 includes this new test in the test suite. If you run that test in Tcl 8.3.4, it will pass, but if you run it in an earlier release of Tcl, it will panic. The advice to run 'make test' before 'make install' makes sense for the first install of Tcl, but it is problematic if you are upgrading Tcl -- that is, overwriting a new Tcl library over an already installed library with the same soname. This issue has been raised before as well: http://sf.net/tracker/?group_id=10894&atid=110894&func=detail&aid=218110 Watch that report to see if/how we resolve this recurring problem.
Log in (anonymous is fine) to add a comment.