Skip to content
Tcl Source Code Artifact [b7d802cf5d]
Login

Artifact [b7d802cf5d]

Artifact b7d802cf5de3c071c9d8cb78069941ff7655e131:

Ticket change [b7d802cf5d] - New ticket [29044ba23f8b0020|29044ba23f] <i>Remove redundant ranllib calls for make target &quot;install-binaries&quot; (unix build)</i>. by erikleunissen on 2015-04-13 17:24:38.
D 2015-04-13T17:24:38.043
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment Unless\sthe\sRANLIB\svariable\sis\sempty,\sthe\sunix\sbuild\scalls\sranlib\son\sthe\sstatic\sTcl\slibrary\sand\sthe\sTcl\sstubs\slibrary\sat\stwo\soccasions\s(see\sunix/tcl.m4\saround\sline\s2060,\strunk):\r\n-\sat\sbuild\stime\r\n-\sat\sinstall\stime\r\n\r\nOnce\sis\senough.\sThis\sticket\sproposes\sto\sremove\sthe\scall\sat\sinstall\stime.\r\nAs\sa\sreference,\sticket\s3490157\stouches\son\sthe\ssame\sissue\sin\sTclOO,\sresolved\sby\sa\ssimilar\sremoval.\r\n\r\nBesides\snot\shaving\sto\sdeal\swith\sredundant\scode\sand\sa\slittle\sspeed-up,\sremoval\sof\sthe\scall\sat\sinstall\stime\shas\sanother\sadvantage:\sit\senables\sinstalling\scross-builds\sfrom\sa\scross-mounted\sbuild\sdirectory.\sCurrently,\sthe\scall\sat\sinstall\stime\sbreaks\san\sinstallation\sat\sthe\starget\shost\sof\scross-builds\sfrom\swithin\sa\scross-mounted\sbuild\sdirectory.\sThis\sis\sso\sbecause\sthe\sname\sof\sa\sranlib\sprogram\sused\sat\sbuild\stime\s(for\scross-building)\stypically\shas\sa\sprefix\sindicating\sthe\scross-toolchain,\swhereas\sthere\stypically\sis\sno\ssuch\sprogram\son\sthe\starget\shost.\sRunning\s"make\sinstall"\son\sthe\starget\shost\sfrom\sinside\sa\scross-mounted\sbuild\sdirectory\swill\stherefore\sabort\swith\san\serror.\r\n\r\nThere\sis\sone\sthing\sto\sconsider.\sThe\sunix/Makefile.in\smentions\sa\sconcern\sregarding\sthe\scall\s*at\sinstall\stime:\r\n\r\n--\squote\s--\r\n#\sNote:\sbefore\srunning\sranlib\sbelow,\smust\scd\sto\starget\sdirectory\sbecause\ssome\r\n#\sranlibs\swrite\sto\scurrent\sdirectory,\sand\sthis\smight\snot\salways\sbe\spossible\r\n#\s(e.g.\sif\sinstalling\sas\sroot).\r\n--\sunquote\s--\r\n\r\nIf\sthis\swere\sa\svalid\sconcern,\sthen\sthe\scall\sat\sbuild\stime\swould\ssuffer\sequally\sfrom\sthe\sdescribed\sphenomenon,\sbut\sonly\sif\sthe\scurrent\sdir\swere\sdifferent\sfrom\sthe\sbuild\sdirectory\sat\sthe\stime\swhen\s"make"\smakes\sits\scall\sto\s$(RANLIB).\sThis\ssimply\sis\snever\sthe\scase.\s(If\sit\swere,\sbuilds\swould\shave\sbeen\saborting\ssince\saugust\s2002\swhen\sthese\sranlib\scalls\swere\sintroduced\sinto\sthe\strunk\s(artifact\s[8d713384ad])).\r\n\r\nIn\sshort:\swe\scan\ssafely\sassume,\sthat\sthis\sconcern\shas\snever\sbeen\srelevant.\r\n\r\n\r\nThe\sattached\spatches\s(for\sboth\sTcl\sand\sTk)\sremove\sthe\sredundant\sranlib\scalls\sat\sinstall\stime\sfrom\sunix/tcl.m4.\sThey\salso\sremove\sthe\sirrelevant\scomment\sfrom\sunix/Makefile.in\r\n\r\nSincerely,\r\n\r\nErik\sLeunissen\r\n--
J foundin trunk
J is_private 0
J login erikleunissen
J priority 5\sMedium
J private_contact 609f4c7ecf7dbb7a46acdc7eb164753d196088a6
J resolution None
J severity Minor
J status Open
J submitter erikleunissen
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title Remove\sredundant\sranllib\scalls\sfor\smake\starget\s"install-binaries"\s(unix\sbuild)
J type Patch
K 29044ba23f8b0020f5622440114289f9c81eb32a
U erikleunissen
Z 3f5816c2ace6f9e4f8e3b7e5fea74e3d