<i>Linker Error on CrossCompiling Modules on tcl V8.6.10 in libtclstub8.6.a</i>.
by
.
D 2020-01-02T13:44:58.338
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment I\stry\sto\scrosscompile\stcl\sV8.6.10\son\sLinux\swith\sosxcross.\r\nCompiling\sworks\sfine,\sbut\sin\sthe\slibtclstub8.6.a\sthere\sis\snow\san\sreference\r\nto\sTclIsSpaceProc,\sso.\r\n\r\nIf\si\snow\scompile\san\sextension,\sthe\slinking\sfails\sas\slibtclstub8.6.a\shas\san\r\nundefinded\sreference\sfor\sTclIsSpaceProc:\r\n\r\no64-clang\s-DSTATIC_BUILD=1\s-DMAC_OSX_TCL=1\s-D__APPLE__\s-shared\s-pipe\s-O2\s-fomit-frame-pointer\s-Wall\s-fPIC\s\s\s-o\slibtreectrl2.4.3.so\sqebind.o\stkTreeColumn.o\stkTreeCtrl.o\stkTreeDisplay.o\stkTreeDrag.o\stkTreeElem.o\stkTreeHeader.o\stkTreeItem.o\stkTreeMarquee.o\stkTreeNotify.o\stkTreeStyle.o\stkTreeTheme.o\stkTreeUtils.o\stkMacOSXTree.o\s-framework\sCocoa\s-framework\sCarbon\s\s-L/home/michael/entwicklung/tclexecomp/maccross/build/tcl8.6.10/unix\s-ltclstub8.6\s-L/home/michael/entwicklung/tclexecomp/maccross/build/tk8.6.10/unix\s-ltkstub8.6\r\nUndefined\ssymbols\sfor\sarchitecture\sx86_64:\r\n\s\s"_TclIsSpaceProc",\sreferenced\sfrom:\r\n\s\s\s\s\s\s_strtoul\sin\slibtclstub8.6.a(strtoul.o)\r\nld:\ssymbol(s)\snot\sfound\sfor\sarchitecture\sx86_64\r\nclang-9:\serror:\slinker\scommand\sfailed\swith\sexit\scode\s1\s(use\s-v\sto\ssee\sinvocation)\r\n\r\n\r\nAfter\schangeing\sthe\sfile\s"compat/strtoul.c"\sto\sthe\sversion\sof\sV8.6.9,\scompilation\sworks\r\nas\sexpected.\r\n\r\nHere\sis\sthe\sonly\schange:\r\npc1@~/entwicklung/tclexecomp/src/tcl/tcl8.6.10.new#\sdiff\scompat/strtoul.c\s../../../maccross/build/tcl8.6.9/compat/strtoul.c\r\n77c77\r\n<\s\s\s\s\swhile\s(TclIsSpaceProc(*p))\s{\r\n---\r\n>\s\s\s\s\swhile\s(isspace(UCHAR(*p)))\s{\r\n\r\nBest\sregards\r\n\s\sMichael
J foundin 8.6.10
J is_private 0
J login mniehren
J priority 5\sMedium
J private_contact d24466f4295ab6e922f55b37442e741edb284b1f
J resolution None
J severity Important
J status Open
J submitter mniehren
J subsystem 69.\sOther
J title Linker\sError\son\sCrossCompiling\sModules\son\stcl\sV8.6.10\sin\slibtclstub8.6.a
J type Bug
K 0d72c165defb6d9a78db6572930730106daa692a
U mniehren
Z 860d947036c1a63c4c3546b5755b464e