Jeff Hobbs wrote: > Vadim wrote: > >> >> for some unknown for me reasons two very similar Gentoo installation >> behave differently - one gives segmentation fault but other do not, >> seemingly with all the very same versions. >> > > If it is the use of stubs that causes the problem, it may be that the > tcl84stub.lib files that ship with the Tcl module are not compatible. > You could test this with 'file tcl84stub.lib' on the one shipped with > the Tcl module versus the ones on the machines that are obviously not > compatible.
gevad linux-i686 # file libtclstub8.4.a libtclstub8.4.a: current ar archive Interesting thing - all steps "perl Makefile.PL; make; make test" work without error; but # perl -Mblib -MTcl -we 1 Segmentation fault For some reason "make test" is called with PERL_DL_NONLAZY=1: ...... Running Mkbootstrap for Tcl () chmod 644 Tcl.bs rm -f blib/arch/auto/Tcl/Tcl.so i686-pc-linux-gnu-gcc -shared -L/usr/local/lib Tcl.o -o blib/arch/auto/Tcl/Tcl.so \ -L/mnt/hdd1/fuj/perl/Tcl-cvs-18sept/tcl-core/linux-i686 -ltclstub8.4 \ chmod 755 blib/arch/auto/Tcl/Tcl.so cp Tcl.bs blib/arch/auto/Tcl/Tcl.bs chmod 644 blib/arch/auto/Tcl/Tcl.bs PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/call.........ok t/constants....ok t/createcmd....ok t/eval.........ok t/info.........ok t/result.......ok t/subclass.....ok t/trace........ok t/unicode......ok t/var..........ok All tests successful. Files=10, Tests=53, 2 wallclock secs ( 0.88 cusr + 0.16 csys = 1.04 CPU) Who do the PERL_DL_NONLAZY=1 thing? And why it affects the situation? Best regards, Vadim.