<i>Tkinter: Cannot find a usable init.tcl with recent core-9-0-branch</i> status still Open with 4 other changes
by
.
D 2025-10-01T13:25:23.122
J icomment I\sbelieve\sthat\sthe\sissue\swith\sthe\szipfs\sbuild\son\smacOS\sis\srelated\sto\stwo\r\nthings:\scode\ssignatures\sand\sthe\sstructure\sof\sa\smach-O\sbinary.\r\n\r\nThe\scode\ssignature\sis\srequired\sto\sbe\sat\sthe\send\sof\sa\sthin\smach-O\sbinary\r\nand\sat\sthe\send\sof\seach\sarch\ssegment\sin\sa\sfat\sbinary.\s\sCode\ssignatures\sare\r\nrequired\sfor\sarm64\sCPUs\sand\san\sad-hoc\ssignature\sis\sadded\sautomatically\sby\r\nthe\sApple\slinker\son\sARM\ssystems.\r\n\r\nThe\sgatekeeper\schecks\swhether\ssome\sor\sall\smach-O\sload\scommands\shave\sthe\r\nsize\swhich\sis\sreported\sin\sthe\smach-O\sheader,\smeaning\sin\sparticular\sthat\r\nthe\slast\sload\scommand\smust\sextend\sto\sthe\send\sof\sthe\sfile,\sbut\salso\sthat\r\nthe\szipfile\scannot\sbe\sattached\sto\sthe\send\sof\sanother\sload\scommand\sunless\r\nthe\sheader\sis\sadjusted\saccordingly.\s\sThe\slast\sload\scommand\sis\sthe\scode\r\nsignature,\sso\sa\szipfile\scannot\sbe\sadded\safter\sthe\ssignature.\s\sAlso,\r\nadding\sa\szipfile\sdestroys\sthe\ssignature,\sso\sthe\sfile\smust\sbe\sre-signed\r\nafter\sadding\sthe\szipfile.\s\sThis\srequires\sthat\sthe\scodesign\sprogram\sbe\r\nable\sto\sfind\sthe\scorrect\splace\sto\sadd\sthe\ssignature,\sfor\swhich\sit\scan\r\nonly\suse\sthe\smach-O\sheader.\r\n\r\nWe\shad\sa\sworkaround\swhich\sworked\sfor\sa\swhile\son\sIntel\sonly.\s\sThat\sinvolved\r\nadding\sa\snew\sfake\sarch\ssegment\sas\sthe\slast\sarch\sin\sthe\sdylib.\s\sI\sdon't\r\nthink\sthat\sever\sworked\son\sARM\ssystems,\sand\sI\sthink\sit\sstopped\sworking\son\r\nIntel,\spossibly\sdue\sto\schanges\sto\sthe\sgatekeeper.\sAdding\sa\snew\sarch\ssegment\r\nto\sa\sthin\smach-O\sbinary\srequires\sadding\sa\sa\sfat\sheader\swhile\sadding\sa\snew\r\narch\sto\sa\sfat\sbinary\srequires\srewriting\sand\sexpanding\sthe\sfat\sheader.\s\sI\r\nsuspect\sthat\sthe\sworkaround\smay\snot\sever\shave\sworked\scorrectly\sin\sall\sof\r\nthose\scases.\s\sI\swould\shave\sto\scheck\sthe\smacher\scode\sto\srefresh\smy\smemory.
J login marc_culler
J mimetype text/plain
J username Marc\sCuller
K 6fbabfe1661c22e7990bb917e9fa49cc16e016ea
U marc_culler
Z c2975cf0b76375babbae57d2a099133f