<i>platform::identify broken on Red Hat Linux</i> status still Open with 3 other changes
by
.
D 2026-09-21T10:02:38.244
J icomment Platform-1.1\shas\sbeen\sbroken\sa\slong\stime,\salways\sgiving\slinux-unknown-$cpu,\sand\sit\snever\sworked\son\smusl.\sAlso\sglibc\s2.x\sis\salways\supwards\scompatible.\sSo,\sapplications\scompiled\swith\san\solder\sglibc\s2.x\sversion\salways\sworks\sfine\son\sa\snewer\sglibc\s2.x\sversion.\sTherefore\s-\sthe\ssolution\sis\sto\salways\scompile\sapplications/extensions\sagainst\sthe\soldest\sglibc\sversion\syou\swant\sto\ssupport.\r\n\r\nSo,\show\sabout\supwards/backwards\scompatibility.\sI\spropose\sto\sadd\sthe\slinux-glibc-$cpu\sand\slinux-unknown-$cpu\sdirectories\sto\splatform-1.1.2.\s\sThis\sway,\sthose\sdirectories\scan\salways\sbe\sfound,\sand\syou\scan\ssimply\splace\syour\sbinary\sin\s"linux-glibc-$cpu",\swithout\sthe\sneed\sfor\sfurther\sversion\snumbers.\sIf\syou\sstill\swant\sto\ssupport\solder\splatform\sversions,\sjust\screate\sa\slink\sfrom\sthe\slinux-glibc-$cpu\sdirectory\sto\slinux-glibc?.?-$cpu\sdirectory\s(where\s?.?\sstands\sfor\sthe\soldest\sglibc\sversion\syou\ssupport).\r\n\r\nThis\sway,\syou\shave\sthe\schoice\sto\sstick\swith\splatform-1.1.x\sor\sswitch\sto\splatform-1.2.x,\sthis\sdirectory\sstructure\swill\scontinue\sto\swork\swith\sboth.\r\nI\swon't\sbackport\splatform-1.2.x\sto\sTcl\s9.0,\sin\sorder\sto\sgive\smore\stime\sto\smake\sthe\sswitch.\r\n\r\nIn\sshort:\sThe\s"linux-unknown-$cpu"\sis\smeant\sfor\sextensions\swith\sstatically\slinked\slibc\s(could\sbe\sglibc,\smusl\sor\sany\sother).\s"linux-glibc-$cpu"\sis\smeant\sfor\slinking\sagainst\sglibc,\s"linux-musl-$cpu"\sis\smeant\sfor\slinking\sagainst\smusl.\sNote\sthat\splatform-1.1\swon't\swork\swith\smusl\sat\sall.\r\n\r\nHope\sthis\shelps,\r\n\s\s\s\sJan\sNijtmans
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 61ba0b0661a14a921665500d77e5d8ac2543724a
U jan.nijtmans
Z 6cfe71486cd55fd798822831f59eaf15