Skip to content
Tcl Source Code Artifact [587c2ef42a]
Login

Artifact [587c2ef42a]

Artifact 587c2ef42adec03ca23683fb4571b78a0eb6462e:

Ticket change [587c2ef42a] - New ticket [217819ffffffffff|217819ffff] <i>configure bug on Linux and IRIX systems</i>. by nobody on 2000-10-26 00:44:08.
D 2000-10-26T00:44:08
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1438\sBug\nVersion:\s8.0.4\nSubmitDate:\s'1999-03-04'\nLastModified:\s'1999-03-04'\nSeverity:\sSER\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\spat\nOS:\sLinux-Red\sHat\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-03-04'\n\n\nName:\nmo\n\nReproducibleScript:\nCompile\stcl8.0.4\sand\sthen\srun\s"ldd\slibtcl8.0.so"\sto\ssee\swhat\sis\swrong\son\nIRIX\sand\sLinux\ssystems.\n\n\n\nObservedBehavior:\nThere\sis\sa\sproblem\swith\sthe\stcl8.0.4\sconfigure\sscript.\sThe\sbug\sin\nthe\sconfigure\sscript\swill\scause\sthe\slibtcl8.0.so\sshared\slib\sto\nbe\scompiled\sincorrectly\son\sLinux\sand\sIRIX\smachines\s(it\smight\salso\nhappend\son\sother\ssystems\sbug\sI\shave\sonly\sseen\sit\son\sthese\stwo).\nThis\sproblem\swill\salso\scause\spackages\sthat\suse\sthe\stclConfig.sh\nscript\sto\sfail\sto\scompile\sshared\slibs\scorrectly.\sThe\sTcl\sBlend\npackage\sfalls\svictim\sto\sthe\sproblem\sas\sthe\sSHLIB_LD_LIBS\svariable\nis\snot\sset\scorrectly\sin\sthe\stclConfig.sh\sscript.\sI\shave\simplemented\na\sworkaround\sin\sthe\sTcl\sBlend\sconfigure\sscript\sbut\sthis\sreally\nshould\sbe\sfixed\sin\sthe\smain\sdistro.\n\n\nIRIX\s6.2\swith\s8.0.4\s(--enable-gcc\s--enable-shared)\n\n(before\spatch)\n\nmo(/tmp/mo/tcl8.0.4/unix)%\sldd\slibtcl8.0.so\nlibtcl8.0.so:\nNo\sLibrary\sList\sSection\sin\slibtcl8.0.so\n\n\n(after\spatch)\n\nmo(/tmp/mo/tcl8.0.4/unix)%\sldd\slibtcl8.0.so\nlibtcl8.0.so:\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s****\sMIPS\sLIBLIST\sINFORMATION\s****\n.liblist\s:\n[INDEX]\sTimestamp\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sChecksum\s\s\s\s\s\s\s\sFlags\s\s\sName\s\s\s\s\s\s\s\s\s\s\s\sVersion\n[1]\s\s\s\s\sDec\s23\s11:30:00\s1998\s\s\s\s0xbada345c\s\s\s\s\s\s-----\s\s\slibm.so\ssgi1.0\n[2]\s\s\s\s\sSep\s10\s11:40:52\s1998\s\s\s\s0xaa889d08\s\s\s\s\s\s-----\s\s\slibc.so.1\s\s\s\s\s\s\ssgi1.0\n\n\nLinux\s2.0.34\swith\s8.0.4\s(--enable-gcc\s--enable-shared)\n\n(before\spatch)\n\n%\sldd\slibtcl8.0.so\nstatically\slinked\n\n\n(after\spatch)\n\n%\sldd\slibtcl8.0.so\n\s\s\s\s\s\s\s\slibdl.so.1\s=>\s/lib/libdl.so.1\s(0x4006e000)\n\s\s\s\s\s\s\s\slibm.so.5\s=>\s/lib/libm.so.5\s(0x40071000)\n\s\s\s\s\s\s\s\slibc.so.5\s=>\s/lib/libc.so.5\s(0x4007a000)\n\n\n\n\n\nDesiredBehavior:\nldd\sshould\sshow\swhat\slibs\slibtcl8.0.so\sis\sdynamically\slinked\sto.\n\n\n\nPatch:\n***\scopy_configure.in\s\s\sSat\sDec\s26\s20:08:33\s1998\n---\sconfigure.in\s\s\s\s\s\s\s\sSat\sDec\s26\s20:09:44\s1998\n***************\n***\s738,744\s****\n\s\s\s\s\s\sIRIX-5.*|IRIX-6.*)\n\s\s\s\s\s\s\s\sSHLIB_CFLAGS=""\n\s\s\s\s\s\s\s\sSHLIB_LD="ld\s-n32\s-shared\s-rdata_shared"\n!\s\s\s\s\s\s\sSHLIB_LD_LIBS=""\n\s\s\s\s\s\s\s\sSHLIB_SUFFIX=".so"\n\s\s\s\s\s\s\s\sDL_OBJS="tclLoadDl.o"\n\s\s\s\s\s\s\s\sDL_LIBS=""\n---\s738,744\s----\n\s\s\s\s\s\sIRIX-5.*|IRIX-6.*)\n\s\s\s\s\s\s\s\sSHLIB_CFLAGS=""\n\s\s\s\s\s\s\s\sSHLIB_LD="ld\s-n32\s-shared\s-rdata_shared"\n!\s\s\s\s\s\s\sSHLIB_LD_LIBS='${LIBS}'\n\s\s\s\s\s\s\s\sSHLIB_SUFFIX=".so"\n\s\s\s\s\s\s\s\sDL_OBJS="tclLoadDl.o"\n\s\s\s\s\s\s\s\sDL_LIBS=""\n***************\n***\s771,777\s****\n\s\s\s\s\s\s\s\s;;\n\s\s\s\s\s\sLinux*)\n\s\s\s\s\s\s\s\sSHLIB_CFLAGS="-fPIC"\n!\s\s\s\s\s\s\sSHLIB_LD_LIBS=""\n\s\s\s\s\s\s\s\sSHLIB_SUFFIX=".so"\n\s\s\s\s\s\s\s\sif\stest\s"$have_dl"\s=\syes;\sthen\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="${CC}\s-shared"\n---\s771,777\s----\n\s\s\s\s\s\s\s\s;;\n\s\s\s\s\s\sLinux*)\n\s\s\s\s\s\s\s\sSHLIB_CFLAGS="-fPIC"\n!\s\s\s\s\s\s\sSHLIB_LD_LIBS='${LIBS}'\n\s\s\s\s\s\s\s\sSHLIB_SUFFIX=".so"\n\s\s\s\s\s\s\s\sif\stest\s"$have_dl"\s=\syes;\sthen\n\s\s\s\s\s\s\s\s\s\s\s\sSHLIB_LD="${CC}\s-shared"\n\n\n\n\nPatchFiles:\ntcl8.0.4/unix/configure.in\n\n\n\n\n\nI\shope\sthat\shelps\nMo\sDeJong\ndejong\sat\scs.umn.edu\n\n03/04/1999\s15:31\s-\spat\s-\sduplicate\sof\sbug\s1018
J foundin obsolete:\s8.0.4
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 61.\s(unused)
J title configure\sbug\son\sLinux\sand\sIRIX\ssystems
J type Bug
K 217819ffffffffffffffffffffffffffffffffff
U nobody
Z 1078e913fa83c367195fb7df9f8aa551