{"id":312749,"date":"2021-01-15T11:01:05","date_gmt":"2021-01-15T03:01:05","guid":{"rendered":"http:\/\/4563.org\/?p=312749"},"modified":"2021-01-15T11:01:05","modified_gmt":"2021-01-15T03:01:05","slug":"%e4%b8%8d%e5%90%8c%e7%89%88%e6%9c%ac%e7%9a%84-linux-%e7%bc%96%e8%af%91%e7%9a%84-c-c%e7%a8%8b%e5%ba%8f%e6%98%af%e5%90%a6%e9%80%9a%e7%94%a8","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=312749","title":{"rendered":"\u4e0d\u540c\u7248\u672c\u7684 Linux \u7f16\u8bd1\u7684 c\/c++\u7a0b\u5e8f\u662f\u5426\u901a\u7528"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e0d\u540c\u7248\u672c\u7684 Linux \u7f16\u8bd1\u7684 c\/c++\u7a0b\u5e8f\u662f\u5426\u901a\u7528               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lbmjsls1 <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e00\u76f4\u6709\u4e2a\u7591\u95ee\uff0c\u56e0\u4e3a\u4eca\u5929\u63a8\u8350\u7684 linux \u5e16\u5b50\u5f88\u591a\uff0c\u81ea\u5df1\u4e5f\u60f3\u8bd5\u8bd5\u5176\u4ed6\u7cfb\u7edf\uff0c\u6362\u4e2a\u53e3\u5473\u3002<\/p>\n<p>\u95ee\u9898\u5c31\u662f\uff0c\u516c\u53f8\u7684\u7ebf\u4e0a\u670d\u52a1\u5668\u662f debian\uff0c\u6240\u4ee5\u5f00\u53d1\u673a\u4e5f\u662f debian\uff0cc++\u7a0b\u5e8f\u3002\u662f\u5426\u53ef\u4ee5\u5728\u5176\u4ed6\u7248\u672c\u7684 linux \u4e0b\u5f00\u53d1\u7f16\u8bd1\uff0c\u7136\u540e\u5728 debian \u7684\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002<\/p>\n<p>\u6216\u8005\u9000\u800c\u6c42\u5176\u6b21\uff0c\u5728 debian \u7cfb\u7684\u7cfb\u7edf\u4e0a\u5f00\u53d1\u7f16\u8bd1\uff0c\u7136\u540e\u5728 debian \u7684\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002<\/p>\n<p>\u4e0d\u8003\u8651\u914d\u7f6e\u7f16\u8bd1\u670d\u52a1\u5668\u7b49\u60c5\u51b5\uff0c\u53ea\u662f\u597d\u5947\u8fd9\u79cd\u8de8 linux \u7684\u662f\u5426\u53ef\u4ee5\u901a\u7528\u3002\u6bd4\u5982 ubuntu\/suse\/arch \u4e0a\u7f16\u8bd1\u7684\u7a0b\u5e8f\u662f\u5426\u53ef\u4ee5\u5728 debian \u4e0a\u6b63\u5e38\u8fd0\u884c\u6027\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>49<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5153644\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : QBugHunter <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5<br \/>\u4e0d\u8fc7\u5982\u679c\u8981\u8c03\u7528\u672c\u5730\u7684.so \u7684\u8bdd\u56de\u6709\u70b9\u95ee\u9898\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153645\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenzhekl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u6709\u95ee\u9898\uff0c\u56e0\u4e3a\u90fd\u662f Linux \u5185\u6838\u3002\u81ea\u5df1\u7a0d\u5fae\u7ba1\u7406\u597d\u4e00\u4e0b\u4f9d\u8d56\u5c31\u884c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153646\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : v2webdev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a8\u6001\u94fe\u63a5\u5e93\u4f1a\u6709\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153647\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : paoqi2048 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u540c\u7248\u672c\u7684\u7f16\u8bd1\u5668\u53ef\u80fd\u5b58\u5728 ABI \u4e0d\u517c\u5bb9\u7684\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153648\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e00\u5b9a\uff0c\u6709\u5f88\u591a\u56e0\u7d20\u53ef\u4ee5\u5bfc\u81f4\u5dee\u5f02\uff0c\u6709\u4e9b\u597d\u89e3\u51b3\uff0c\u6709\u4e9b\u53ea\u80fd\u89c4\u907f<br \/>\u6bd4\u5982\u524d\u9762\u63d0\u5230\u7684\u5171\u4eab\u5e93\u7248\u672c\u95ee\u9898\uff0c\u8fd9\u4e2a\u89e3\u51b3\u8d77\u6765\u5c31\u662f\u6574\u4e00\u4e2a\u5bb9\u5668\u6216\u8005\u6700\u7b80\u5355\u4e00\u4e2a chroot \u73af\u5883\uff0c\u5728\u91cc\u9762\u7f16\u8bd1\u5c31\u80af\u5b9a\u517c\u5bb9\u4e86<br \/>\u5fc5\u987b\u89c4\u907f\u7684\u5c31\u662f\u7531\u4e8e cpu \u6307\u4ee4\u96c6\u7684\u5dee\u5f02\u9020\u6210\u7684\u95ee\u9898\uff0c\u8fd9\u4e2a\u65f6\u5019\u5c31\u5f97\u5bf9\u7740\u76ee\u6807\u8bbe\u5907\u7684 cpu \u7279\u6027\u5f00\u7f16\u8bd1\u9009\u9879\u4e86\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153649\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangkun025 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u540c\u7248\u672c\u7684 debian \u4f30\u8ba1\u90fd\u4f1a\u6709\u95ee\u9898\u5427\u3002\u66f4\u522b\u63d0\u4e0d\u540c\u7684\u53d1\u884c\u7248\u4e86\u3002<br \/>\u73a9\u73a9\u90fd\u53ef\u4ee5\u3002\u5de5\u4f5c\u5c31\u7b97\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153650\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : northisland <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u80fd\u8dd1\u662f\u5de7\u5408\u3002\u3002\u3002<\/p>\n<p>linux \u5185\u6838 abi \u66f4\u65b0\u662f\u4e00\u65b9\u9762\u95ee\u9898\uff0c<br \/>\u7f16\u8bd1 c++\u5e93\u5f02\u5e38\u5904\u7406\uff0c\u53ef\u4ee5\u7528\u591a\u79cd c++abi\uff0c\u8fd9\u4e2a\u4e0d\u4e00\u81f4\uff0c\u5bfc\u81f4\u5404\u79cd\u5f02\u5e38\u968f\u673a\u5751\u3002<\/p>\n<p>https:\/\/cloud.tencent.com\/developer\/article\/1357674<br \/>https:\/\/maskray.me\/blog\/2020-12-12-c++-exception-handling-abi#%E4%B8%AD%E6%96%87%E7%89%88                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153651\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : superrichman <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f04\u6210 appimage \u5c31\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153652\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pkookp8 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u540c libc \u7f16\u8bd1\u51fa\u6765\u7684\u90fd\u4e0d\u4e00\u5b9a\u4e0d\u80fd\u7528<br \/>\u67d0\u4e9b\u63a5\u53e3\u5982\u679c\u53d8\u5316\u4e86\u4f1a\u51fa\u73b0 crash \u6216\u5f02\u5e38\uff0c\u5982\u679c\u6ca1\u6709\uff0c\u5219\u80fd\u6b63\u5e38\u8fd0\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153653\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chinvo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a8\u6001\u5e93\u6709\u5dee\u5f02\u7684\u8bdd\u6bd4\u8f83\u9ebb\u70e6<\/p>\n<p>\u6bd4\u5982\u5728 Fedora 23 \u4e0a\u7f16\u8bd1\u7684\u7a0b\u5e8f\uff0c\u5728 RHEL 8 \u4e0a\u90fd\u4e0d\u80fd\u76f4\u63a5\u8fd0\u884c\uff0clibc \u4e0d\u4e00\u6837<\/p>\n<p>\u5f53\u7136\u4f60\u53ef\u4ee5\u9759\u6001\u7f16\u8bd1\u6216\u8005\u6253\u5305\u52a8\u6001\u5e93\u8fdb\u53bb                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153654\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : northisland <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2021\/02\/20210204_601c13fe47b71.png\" rel=\"noreferrer\" alt=\"\u4e0d\u540c\u7248\u672c\u7684 Linux \u7f16\u8bd1\u7684 c\/c++\u7a0b\u5e8f\u662f\u5426\u901a\u7528\"> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153655\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Rasphino <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 Musl \u52a0\u9759\u6001\u94fe\u63a5\uff0c\u57fa\u672c\u4e0d\u4f1a\u6709\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153656\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5199\u7b80\u5355\u7684 C++\u80af\u5b9a\u6ca1\u95ee\u9898\uff0c\u4e2d\u7b49\u7684\u4f1a\u6709\u5404\u79cd\u5c0f\u95ee\u9898\uff08\u6bd4\u5982\u4e0a\u63d0\u5230\u7684 libc,so \u95ee\u9898\uff09\uff0c\u8d85\u5927\u578b\u9879\u76ee\u7684 Cross Compile \u5c31\u7b97\u4e86\u5427\u3002<br \/>\u8001\u8001\u5b9e\u5b9e\u88c5\u4e00\u4e2a debian gcc\/clang\uff0c\u6bd4\u4ec0\u4e48\u90fd\u597d\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153657\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : azenk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5185\u6838\u7248\u672c\u4e5f\u662f\u6709\u9650\u5236\u7684\uff0c\u4f60 file \u4e00\u4e0b\u53ef\u6267\u884c\u6587\u4ef6\u5c31\u53ef\u4ee5\u770b\u5230\u53ef\u8fd0\u884c\u8fd9\u4e2a\u7a0b\u5e8f\u7684\u5185\u6838\u7684\u6700\u4f4e\u7248\u672c\uff0c\u53ea\u4e0d\u8fc7\u8fd9\u4e2a\u7248\u672c\u4e00\u822c\u90fd\u5f88\u4f4e\uff0c\u53d1\u884c\u7248\u672c\u901a\u5e38\u90fd\u53ef\u4ee5\u6ee1\u8db3                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153658\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bruce0 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u7528\u52a8\u6001\u94fe\u63a5\u5e93, \u9879\u76ee\u4e2d\u6ca1\u6709\u592a\u591a\u5916\u90e8\u4f9d\u8d56,\u5e94\u8be5\u95ee\u9898\u4e0d\u5927<\/p>\n<p>\u7528\u4e86\u52a8\u6001\u94fe\u63a5\u5e93, gcc \u7248\u672c\u76f8\u540c, \u6216\u8005\u8bf4 \u5f88\u591a\u6838\u5fc3\u7684.so \u76f8\u540c \u95ee\u9898\u5e94\u8be5\u4e5f\u4e0d\u5927<\/p>\n<p>\u4e3b\u8981\u5199 go C++\u4e0d\u592a\u719f\u6089 \u53ef\u80fd\u8bf4\u7684\u4e0d\u4e13\u4e1a                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153659\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : guo4224 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             musl                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153660\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ipwx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1 \u3001\u5982\u679c\u4f60\u6709\u672c\u4e8b\u91cd\u65b0\u7f16\u8bd1\u4e00\u904d\u6240\u6709\u4f9d\u8d56\u5e93\uff08\u5e76\u5e26\u4e0a\uff0c\u5c31\u597d\u50cf\u5e26\u4e86\u4e00\u5806 dll \u7684 windows \u7a0b\u5e8f\u90a3\u6837\uff09\uff0c\u6216\u8005\u9759\u6001\u94fe\u63a5\u4f9d\u8d56\u5e93\uff0c\u611f\u89c9\u5185\u6838\u7248\u672c\u5dee\u4e0d\u591a\u7684\u8bdd\uff0c\u54ea\u4e2a\u53d1\u884c\u7248\u90fd\u80fd\u968f\u4fbf\u7528\u4f60\u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u3002<br \/>2 \u3001\u4f60\u53ef\u4ee5\u7528 docker                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153661\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xcstream <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u95ee\u9898\u4e0d\u5927                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153662\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : biochen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f71\u54cd\u517c\u5bb9\u6027\u7684\u539f\u56e0\u5927\u6982\u6709\u52a8\u6001\u94fe\u63a5\u5e93\u3001glibc \u7248\u672c\u3001\u5185\u6838\u7248\u672c\u7b49\uff0c\u4e0d\u8fc7\u5f88\u591a\u65f6\u5019\u90fd\u662f\u80fd\u517c\u5bb9\u7684\u3002<\/p>\n<p>\u6211\u7684\u7ecf\u9a8c\u662f\uff0c\u5355\u4f4d\u7684\u8d85\u7b97\u662f Redhat\uff0c\u6ca1\u6709\u7ba1\u7406\u5458\u6743\u9650\uff0c\u7f16\u8bd1 C++\u7a0b\u5e8f\u7ecf\u5e38\u7f3a\u5c11\u5e93\uff0c\u624b\u52a8\u5b89\u88c5\u5e93\u53c8\u975e\u5e38\u9ebb\u70e6\u3002\u6211\u7684\u4e00\u4e2a\u529e\u6cd5\u5c31\u662f\u5728\u4e00\u53f0 centOS \u865a\u62df\u673a\u4e0a\u7f16\u8bd1\u597d\uff0c\u4e0a\u4f20\u5230\u8d85\u7b97\u4e0a\u9762\u4f7f\u7528\u3002<\/p>\n<p>\u4f60\u7684\u5e94\u8be5\u662f\u751f\u4ea7\u73af\u5883\u4e0d\u60f3\u5b89\u88c5\u90a3\u4e48\u591a\u7684\u5f00\u53d1\u5e93\uff0c\u5f00\u53d1\u73af\u5883\u7f16\u8bd1\u597d\u4e4b\u540e\uff0c\u76f4\u63a5\u8fd0\u884c\u5728\u751f\u4ea7\u73af\u5883\u4e2d\uff0c\u8fd9\u4e2a\u6ca1\u6709\u95ee\u9898\u7684\u3002\u6015\u4e0d\u517c\u5bb9\uff0c\u5c3d\u91cf \u9759\u6001\u94fe\u63a5 + \u5f00\u53d1\u73af\u5883\u548c\u751f\u4ea7\u73af\u5883\u4f7f\u7528\u540c\u4e00\u4e2a linux \u53d1\u884c\u7248\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153663\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jim9606 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7cfb\u7edf\u8c03\u7528(System Call Interface)\u662f\u6bd4\u8f83\u7a33\u5b9a\u7684\uff0c\u4e5f\u5c31\u662f\u8bf4\u4f60\u7528\u5230\u7684\u7cfb\u7edf\u8c03\u7528\u5927\u6982\u7387\u5728\u5341\u5e74\u524d\u7684\u5185\u6838\u4e0a\u90fd\u6709\u3002\u8fd9\u4e5f\u662f docker \u80fd\u597d\u7528\u7684\u539f\u56e0\u4e4b\u4e00\u3002<\/p>\n<p>\u76ee\u524d\u770b\u6765\u6bd4\u8f83\u5bb9\u6613\u5f71\u54cd\u7684\u662f glibc\uff0c\u56e0\u4e3a\u5b83\u4e0d\u63a8\u8350\u4f7f\u7528\u9759\u6001\u94fe\u63a5\uff0c\u4e3b\u8981\u6d89\u53ca libc.so.6 \u548c ld.so \uff0c\u524d\u8005\u5fc5\u987b\u8ddf\u540e\u8005\u7248\u672c\u4e25\u683c\u4e00\u81f4\uff0c\u540e\u8005\u901a\u5e38\u901a\u8fc7 interpreter path \u663e\u5f0f\u6307\u5b9a\u4f7f\u7528\u7cfb\u7edf\u63d0\u4f9b\u7684\u7248\u672c\u3002\u4f60\u4e5f\u6ca1\u6cd5\u63a7\u5236\u7f16\u8bd1\u5668\u4e0d\u4f7f\u7528\u65b0\u7248 glibc \u65b0\u589e\u7684\u7b26\u53f7\u3002<\/p>\n<p>\u53e6\u5916\u4e24\u4e2a\u57fa\u7840\u5e93 libstdc++.so \u548c libgcc_s.so \u5012\u662f\u53ef\u4ee5\u9009\u62e9\u9759\u6001\u94fe\u63a5\uff0c\u95ee\u9898\u4e0d\u5927\u3002<\/p>\n<p>\u5982\u679c\u80fd\u7528 musl-staic \u6216\u8005\u50cf go \u90a3\u6837\u5b8c\u5168\u4e0d\u4f9d\u8d56 glibc \u4e5f\u662f\u5f88\u597d\u79fb\u690d\u7684\u3002<\/p>\n<p>\u6240\u4ee5\u901a\u5e38\u505a\u53ef\u79fb\u690d\u7684\u505a\u6cd5\u662f\u628a\u6240\u6709\u7528\u5230\u7684 so(\u5305\u62ec glibc)\u5168\u6253\u5305\u5230\u7a0b\u5e8f\u76ee\u5f55\u4e0b\uff0c\u7528 patchelf \u4fee\u6539 interpreter path \u548c rpath \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153664\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xd314697475 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             cpu \u4e00\u6837\u7684\u8bdd\uff08 x86-64 \u548c arm \u4e0d\u80fd\u6df7\u7528\uff09\u662f\u53ef\u4ee5\u7684<br \/>\u6700\u597d gcc \u7248\u672c\u4e5f\u4e00\u6837                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153665\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qbqbqbqb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             C++\u7684\u8bdd\u6709\u4e00\u4e2a\u8981\u6ce8\u610f\uff0cgcc \u7684 C++\u5e93\u6709\u4e24\u79cd ABI\uff0c\u4e00\u79cd\u662f gcc4.x \u7248\u672c\u666e\u904d\u4f7f\u7528\u7684\u65e7 ABI\uff0c\u8fd8\u6709\u4e00\u79cd\u662f gcc5.0 \u7248\u672c\u5f15\u5165\u7684 C++11 ABI \uff08\u4e3b\u8981\u662f\u4e3a\u4e86\u7b26\u5408 C++11 \u89c4\u8303\uff0cSTL \u4e2d string \u548c list \u7684\u5b9e\u73b0\u6709\u4fee\u6539\uff1b\u4f46\u662f\u65b0\u7248 GCC \u4e5f\u53ef\u80fd\u4f1a\u4f7f\u7528\u65e7\u7248 ABI\uff0c\u8981\u770b\u5177\u4f53\u53d1\u884c\u7248\u7684\u60c5\u51b5\uff09\uff0c\u5982\u679c C++ ABI \u4e0d\u517c\u5bb9\u7684\u5e93\u88ab\u94fe\u63a5\u5728\u4e00\u8d77\uff0c\u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u8fd0\u884c\u4ee5\u540e\u4f1a crash \u3002<\/p>\n<p>\u53e6\u5916\u4e5f\u6709\u7684\u53d1\u884c\u7248\u542f\u7528\u4e86 dual ABI\uff0c\u9ed8\u8ba4\u662f C++11 ABI\uff0c\u5982\u679c\u6709\u9700\u8981\u7684\u8bdd\uff0c\u53ef\u4ee5\u7528-D_GLIBCXX_USE_CXX11_ABI=0 \u5c31\u53ef\u4ee5\u8ba9\u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u4f7f\u7528\u65e7\u7248 ABI \u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153666\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Gcourage <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5927\u90e8\u5206\u90fd\u76f4\u63a5\u517c\u5bb9\u7684\u3002glibc \u8c8c\u4f3c\u8fd8\u80fd\u76f4\u63a5\u9759\u6001\u94fe\u63a5\u3002\u7136\u540e\u5c31\u53ef\u4ee5\u6267\u884c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153667\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qbqbqbqb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u603b\u7684\u6765\u8bf4\u5c31\u662f\uff0c\u7b2c\u4e09\u65b9\u5e93\u8de8\u7248\u672c\uff0c\u53ef\u80fd\u4f1a\u6709 API \u6216 ABI \u517c\u5bb9\u95ee\u9898<\/p>\n<p>\u5982\u679c\u4e0d\u8003\u8651\u7b2c\u4e09\u65b9\u5e93\u7248\u672c\u7684\u95ee\u9898\uff0c\u90a3\u4e48 C \u8bed\u8a00\u4e00\u822c\u4e0d\u4f1a\u6709 ABI \u4e0d\u517c\u5bb9\uff08\u867d\u7136 C \u8bed\u8a00\u6ca1\u6709\u5b98\u65b9\u89c4\u5b9a\u7684 ABI\uff0c\u4f46\u662f\u4f5c\u4e3a\u64cd\u4f5c\u7cfb\u7edf\u57fa\u7840\u8bed\u8a00\uff0c\u4e8b\u5b9e\u4e0a\u5177\u6709\u8f83\u5f3a\u7684\u517c\u5bb9\u6027\uff09\uff0c\u4f46 C++\u53ef\u80fd\u4f1a\u6709 ABI \u4e0d\u517c\u5bb9\uff08\u786e\u5b9e\u5b58\u5728\u4e0d\u517c\u5bb9\u7684\u60c5\u51b5\uff09                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153668\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : DOLLOR <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             linux \u5e73\u53f0\u7684\u8f6f\u4ef6\u4e5f\u6709\u4e8c\u8fdb\u5236\u53d1\u5e03\u5f62\u5f0f\u7684\uff0c\u4e0d\u4e00\u5b9a\u975e\u8981\u628a\u6e90\u7801\u62ff\u5230\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u91cd\u65b0\u7f16\u8bd1\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153669\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : laminux29 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c31\u8fde\u9ad8\u5ea6\u7edf\u4e00\u7684 Windows\uff0c\u5728\u4e00\u4e2a\u7248\u672c\u7684 OS \u4e0a\u7f16\u8bd1\u7684\u7a0b\u5e8f\uff0c\u6362\u4e2a\u7248\u672c\u90fd\u6709\u53ef\u80fd\u51fa\u95ee\u9898\uff0c\u66f4\u4f55\u51b5 Linux \u3002<\/p>\n<p>\u8fd9\u4e2a\u8bdd\u9898\u7275\u6d89\u7684\u4e1c\u897f\u592a\u591a\u4e86\uff0c\u53ef\u4ee5\u8bb2\u597d\u51e0\u5929\u3002<\/p>\n<p>\u5efa\u8bae\uff1a<br \/>1.\u628a\u4e3b\u6d41\u7684 Linux \u7248\u672c\uff0c\u90fd\u7f16\u8bd1\u4e00\u4e2a\u7248\u672c\u51fa\u6765\uff0c\u65b9\u4fbf\u6d4b\u8bd5\u3002<\/p>\n<p>2.\u9488\u5bf9\u65b9\u4fbf\u5ba2\u6237\uff0c\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u505a\u4e00\u4e2a\u914d\u7f6e\u597d\u7684\u865a\u62df\u5316\u7248\u672c\uff0c\u65b9\u4fbf\u5ba2\u6237\u6d4b\u8bd5\u3002<\/p>\n<p>3.\u5982\u679c\u5ba2\u6237\u7684\u73af\u5883\uff0c\u548c\u4f60\u4eec\u7684\u9884\u7f16\u8bd1\u7684\u6240\u6709\u7248\u672c\u90fd\u4e0d\u4e00\u6837\uff0c\u4f60\u53ef\u4ee5\u5efa\u8bae\u5ba2\u6237\uff0c\u628a\u4ed6\u4eec\u7684\u7cfb\u7edf\u53d1\u7ed9\u4f60\u4eec\uff0c\u53ef\u4ee5\u662f\u5149\u76d8\u3001\u955c\u50cf\u6587\u4ef6\u3001\u751a\u81f3\u6574\u4e2a\u865a\u62df\u673a\u7684\u6253\u5305\u3002\u4f60\u4eec\u9488\u5bf9\u5ba2\u6237\u7684\u7cfb\u7edf\u7248\u672c\uff0c\u51fa\u4e2a\u7f16\u8bd1\u7248\u672c\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153670\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jinliming2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7f16\u8bd1\u51fa\u6765\u7684\u7a0b\u5e8f\u7528 ldd \u5de5\u5177\u67e5\u770b\u4e00\u4e0b\u52a8\u6001\u94fe\u63a5\u7684\u5e93\uff0c\u4e00\u822c\u4f1a\u53d7\u52a8\u6001\u5e93\u7684\u7248\u672c\u7684\u5f71\u54cd\u3002\u5f71\u54cd\u6bd4\u8f83\u591a\u7684\u662f glibc \u7684\u7248\u672c\uff0c\u7248\u672c\u4e0d\u4e00\u6837\u5c31\u4f1a\u5bfc\u81f4\u8dd1\u4e0d\u8d77\u6765\u3002<br \/>\u4e00\u822c\u6765\u8bf4\uff0cldd \u4e4b\u540e\uff0c\u53ea\u8981\u628a\u6240\u6709\u52a8\u6001\u94fe\u63a5\u7684 .so \u6587\u4ef6\u4e00\u5e76\u62f7\u8d1d\u8d70\uff0c\u5e76\u5728\u8fd0\u884c\u65f6\u7528 LD_LIBRARY_PATH \u66ff\u6362\u6389\u7cfb\u7edf\u7684\u4e0d\u517c\u5bb9\u7248\u672c\uff0c\u5927\u90e8\u5206\u7a0b\u5e8f\u5e94\u8be5\u5c31\u80fd\u6b63\u5e38\u8d77\u6765\u4e86\u3002<br \/>\u6240\u4ee5\u5f88\u591a\u4e8c\u8fdb\u5236\u53d1\u5e03\u7684\u7a0b\u5e8f\uff0c\u90fd\u4f1a\u5728\u538b\u7f29\u5305\u91cc\u628a\u6240\u6709\u52a8\u6001\u5e93\u90fd\u5e26\u4e0a\uff0c\u9632\u6b62\u7248\u672c\u95ee\u9898\u3002<br \/>\u9664\u975e\u8fd8\u6d89\u53ca\u5230 Linux \u5185\u6838\u7684\u4e00\u4e9b\u9009\u9879\u3002<br \/>\u53e6\u5916\uff0c\u8fd8\u8981\u6ce8\u610f CPU \u67b6\u6784\u4e0d\u901a\u7528\uff0cx86 \u7684\u7a0b\u5e8f\u4e0d\u80fd\u5728 arm \u4e0a\u8dd1\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153671\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ETiV <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4f1a\u7528 Alpine \u7f16\u4e2a\u9759\u6001\u7684\u53ef\u6267\u884c\u6587\u4ef6\u51fa\u6765\uff08\u7f16\u8bd1\u73af\u5883\u76f4\u63a5\u5199\u6210 Dockerfile \uff09\uff0c\u5230\u5904\u62ff\u7740\u7528<\/p>\n<p>\u624b\u4e0a\u7684\u9879\u76ee\u6709\u51e0\u4e2a\u7528 CoreOS \u8dd1\u7684\uff08\u5b83\u6ca1\u6709\u5305\u7ba1\u7406\u5668\uff09\uff0c\u867d\u8bf4\u6709 toolbox \u4f46\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u5de5\u5177\u8fd8\u662f\u559c\u6b22\u8dd1\u539f\u751f\u7684\uff0c\u6bd4\u5982\uff1atmux \u3001htop \u3001\u751a\u81f3 xtrabackup \u3002\u6211\u5c31\u90fd\u7528 Alpine \u7f16\u8bd1\u51fa\u6765\u4e2a\u9759\u6001\u6267\u884c\u6587\u4ef6\uff0c\u76f4\u63a5\u8fd0\u884c\u5c31\u597d\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153672\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mybyons <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u662f\u5e94\u7528\u7a0b\u5e8f \u4e0d\u8981\u60f3\u4e86 \u76f4\u63a5 AppImage \u5426\u5219\u5c31\u662f\u81ea\u5df1\u6298\u817e\u81ea\u5df1                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153673\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wzhy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u662f\u6709\u52a8\u6001\u8c03\u7528\uff0c\u4e0d\u8981\u505a\u4efb\u4f55\u80fd\u591f\u517c\u5bb9\u7684\u5047\u8bbe\uff0c\u6216\u8005\u8bf4\u671f\u5f85\u3002<br \/>\u8fd9\u4e00\u70b9 C++\u5c31\u8ddf go \u5dee\u8fdc\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153674\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lucifer9 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             glibc \u7248\u672c\u4e0d\u540c\u6709\u65f6\u5019\u4f1a\u9047\u5230\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153675\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wzzzx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @superrichman #8 appimage \u4e5f\u662f\u5b58\u5728\u52a8\u6001\u94fe\u63a5\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153676\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zeroDev <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9759\u6001\u7f16\u8bd1\u6216\u8005 docker?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153677\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : pwli <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jim9606 \u5927\u4f6c\uff0c\u6211\u5728 cgo \u7f16\u8bd1\u65f6\u5c31\u9047\u5230\u4e86 glibc \u7248\u672c\u4e0d\u517c\u5bb9\u7684\u95ee\u9898\uff0c\u7f16\u8bd1\u73af\u5883\u662f gcc8\uff0cglibc2.28 \uff1b\u8fd0\u884c\u73af\u5883 glibc \u7684\u7248\u672c\u662f 2.27 \u5c31\u8fd0\u884c\u4e0d\u4e86\u4e86\uff0c\u8bf7\u95ee\u7f16\u8bd1\u7684\u65f6\u5019\u53ef\u4ee5\u6307\u5b9a glibc \u7684\u7248\u672c\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153678\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : orafy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63a8\u8350 zig \u8bed\u8a00\u7684\u7f16\u8bd1\u5668\uff0c\u5bf9\u4ea4\u53c9\u7f16\u8bd1\u652f\u6301\u5f88\u53fc\uff0c\u539f\u751f\u652f\u6301\u7f16\u8bd1 c \u8bed\u8a00\u3002<br \/>\u7528\u5b83\u6765\u7f16\u8bd1 wasm\uff0c\u5404\u79cd\u5d4c\u5165\u5f0f\u5e73\u53f0\uff0c\u4ee5\u53ca freestanding \u7684\u5f88\u5bb9\u6613\u3002<br \/>https:\/\/ziglang.org                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153679\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeeReamond <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u5230\u8fd9\u4e2a\u95ee\u9898\u5c31\u60f3\u5230\uff0c\u540c\u4e00\u4e2a exe \u5b89\u88c5\u5305\u80fd\u5728 2001 \u5e74\u53d1\u5e03\u7684 xp \u4e0a\u8dd1\uff0c\u53c8\u80fd\u5728 2021 \u5e74\u7684 win10 \u4e0a\u8dd1\uff0c\u771f\u662f\u592a\u5f3a\u5927\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153680\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nicebird <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &#8211; \u52a8\u6001\u5e93\u95ee\u9898\u4f1a\u6bd4\u8f83\u591a\uff0c\u5c3d\u91cf\u9759\u6001\u7f16\u8bd1<br \/>&#8211; \u5373\u4f7f\u9759\u6001\u7f16\u8bd1\uff0c\u4e00\u822c\u8fd8\u4f1a\u4f9d\u8d56\u4e00\u4e9b\u52a8\u6001\u5e93\uff0c\u6bd4\u5982 glibc\uff0c\u4e0d\u540c\u7248\u672c\u6709\u517c\u5bb9\u6027\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153681\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feast <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             file \u4e00\u4e0b\u4f60\u4f1a\u53d1\u73b0\u4e00\u4e2a target kernel version 2.6.25 \u5c45\u591a\uff0c\u8fd9\u4e2a\u4e1c\u897f\u600e\u4e48\u6765\u7684\u6211\u524d\u4e0d\u4e45\u521a\u597d\u7814\u7a76\u8fc7\uff0c\u4f3c\u4e4e\u8ddf\u7f16\u8bd1\u7684\u5de5\u5177\u94fe\u548c\u7f16\u8bd1\u73af\u5883\u7684\u94fe\u63a5\u5e93\u90fd\u6709\u5173\u7cfb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153682\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : DinoStray <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u8fd9\u4e2a\u95ee\u9898\u548c C++ \u6ca1\u5173\u7cfb, \u5e94\u8be5\u662f\u64cd\u4f5c\u7cfb\u7edf\u53ef\u6267\u884c\u6587\u4ef6\u7684\u8303\u7574 <br \/>\u9664\u975e java \u4e00\u6837\u6709\u865a\u62df\u673a\u652f\u6301, \u5426\u5219\u76f4\u63a5\u8fd0\u884c\u5728\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u53ef\u6267\u884c\u6587\u4ef6, \u90fd\u6709\u7c7b\u4f3c\u7684\u95ee\u9898: ABI \u517c\u5bb9\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153683\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : feast <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u60f3\u6709\u4fbf\u643a\u6027\u7f16\u8bd1\u6210\u7eaf\u9759\u6001\u7684 elf \u5c31\u884c\u4e86\uff0c\u51e0\u4e4e\u53ea\u8ddf\u5185\u6838 ABI \u6709\u5173\u7cfb\u4e86\uff0c\u6709\u8bef\u8bf7\u5927\u4f6c\u6307\u51fa\uff0c\u53e6\u5916\u8fd9\u4e2a\u7248\u672c\u8ddf GCC \u6709\u5173\u7cfb\u5417\uff0c\u4f3c\u4e4e\u4ece vc \u7f16\u8bd1\u903b\u8f91\u4e0a\u8bb2\u4f1a\u5b9a\u4e49\u4e00\u4e2a WINNT_VER \u7684 marco\uff0c\u800c\u8fd9\u4e2a\u503c\u8ddf VC \u91cc\u7684\u5934\u6587\u4ef6\u6709\u5173\u7cfb\uff0c\u6216\u8005 include windows SDK \u7684\uff0c\u4e0d\u77e5\u9053 Linux \u53c8\u662f\u4ec0\u4e48\u5173\u7cfb\uff0c\u6ca1\u6709\u6df1\u7a76\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153684\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BrettD <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @DinoStray \u64cd\u4f5c\u7cfb\u7edf\u53ef\u6267\u884c\u6587\u4ef6\u90fd\u662f ELF \u683c\u5f0f\uff0c\u4e3b\u7684\u8fd9\u4e2a\u95ee\u9898\u7b97\u662f\u8fd0\u884c\u65f6\u5e93\u7684\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153685\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : FrankHB <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Linux \u7cfb\u7edf\u8c03\u7528\u770b 11L \u3002<br \/>glibc:<br \/>https:\/\/abi-laboratory.pro\/?view=timeline&amp;l=glibc<br \/>libstdc++ \u5728 GCC 5 \u4ee5\u540e\u662f\u660e\u786e\u6709 ABI brakage \u7684\uff08\u4e3a\u4e86 C++11 conformance \uff09\u3002\u6bd4\u8d77 MSVC \u5df2\u7ecf\u9760\u8c31\u5f97\u591a\u4e86\uff0c\u4f46\u8003\u8651\u5230 Linux \u4e0a C++ \u8fd0\u884c\u65f6\u57fa\u672c\u662f\u5f53\u7cfb\u7edf\u5e93\u90e8\u7f72\u7684\uff0c\u57fa\u672c\u4e0d\u4f1a\u6253\u5305\uff08\u9664\u975e nix\/guix \u90a3\u79cd\uff09\u3002\u4f46\u5982\u679c\u4f60\u5df2\u7ecf\u4f1a\u81ea\u5df1\u5bf9\u4ed8\u8fd9\u79cd\u90e8\u7f72\u95ee\u9898\uff0c\u5c31\u95ee\u4e0d\u51fa\u6765\u95ee\u901a\u7528\u4e0d\u901a\u7528\u7684\u95ee\u9898\u4e86\u3002\u6240\u4ee5\u51c9\u62cc\u3002<br \/>\u8fd8\u6709\u5e93\u7684\u5404\u79cd ABI bug \u5f97\u770b\u5177\u4f53\u7248\u672c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153686\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jim9606 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @pwli \u64cd\u4f5c\u6709\u70b9\u590d\u6742\uff0c\u53c2\u8003\u8fd9\u4e2a ( https:\/\/tldp.org\/HOWTO\/Glibc2-HOWTO-6.html )<br \/>\u901a\u8fc7 -nostdinc -nostdlib \u7b49\u5f00\u5173\u7981\u6b62\u81ea\u52a8\u5f15\u5165\u57fa\u7840\u5e93\uff0c\u7136\u540e\u624b\u52a8\u52a0\u5165\u65e7\u7248 glibc \u7684\u5305\u542b\u76ee\u5f55\u548c\u94fe\u63a5\u5e93\u3002<br \/>\u4e00\u822c\u8fd8\u662f\u7528 docker \u6216\u8005 chroot \u89e3\u51b3\u6bd4\u8f83\u7701\u4e8b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153687\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zeroxia <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00\u53d1\u673a\u5668\u5f00\u53d1\u5b8c\uff0c\u62ff\u5230\u8fd0\u884c\u673a\u5668\u4e0a\u7f16\u8bd1\u4e00\u4e2a\u4e0d\u5c31\u884c\u4e86\u3002\u6216\u8005\u51c6\u5907\u4e00\u53f0\u548c\u8fd0\u884c\u673a\u5668\u4e00\u6837\u8f6f\u4ef6\u73af\u5883\u7684\u7f16\u8bd1\u673a\u3002Linux \u8f6f\u4ef6\u5206\u53d1\u4e0d\u90fd\u662f\u6e90\u4ee3\u7801\u7ea7\u522b\u7684\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153688\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jinliming2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond \u4f60\u4e5f\u4e0d\u770b\u770b\u4f60\u7535\u8111\u4e0a\u88c5\u4e86\u591a\u5c11\u4e2a\u7248\u672c\u7684 C++ \u8fd0\u884c\u5e93\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153689\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangxn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @LeeReamond Win Vista\/7\/10 \u6dfb\u52a0\u7684 Win32API \u5b9e\u5728\u592a\u591a\u4e86\uff0c\u4e00\u4e2a\u73b0\u5728\u5f00\u53d1\u7684\u7a0b\u5e8f\u8dd1\u4e0d\u8d77\u6765\u4e0d\u662f\u4ec0\u4e48\u5947\u602a\u7684\u4e8b\u60c5\u3002\u4f8b\u5982 Chrome \u8fd9\u4e9b\u5c31\u4e0d\u652f\u6301 XP \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153690\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wslzy007 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c0f\u5fc3\u9009\u62e9\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883\u5c31\u884c\u4e86\u3002\u91cd\u70b9\u5728\u4e8e glibc \u3001\u5185\u6838\u53ca gcc \u7248\u672c\u3002\u3002\u3002<br \/>\u6211\u7684 SG \u9879\u76ee\u7f16\u8bd1\u540e\u57fa\u672c\u5c31\u662f\u201c\u7cfb\u7edf+cpu \u67b6\u6784\u201d\uff0c\u4e5f\u5c31\u662f linux-x86_64 \u901a\u7528\u3001linux-arm \u901a\u7528\u7b49\u3002\u3002\u3002<br \/>github.com\/lazy-luo\/smarGate                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153691\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Lemeng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5153692\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : libook <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u591a\u6570\u60c5\u51b5\u4e0b\u53ef\u4ee5\u901a\u7528\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u5c31\u662f\uff0cCPU \u67b6\u6784\u8981\u4e00\u6837\uff0c\u4e14\u8c03\u7528\u7684\u7cfb\u7edf API \u4e24\u8fb9\u90fd\u6709\uff0c\u6700\u540e\u5c31\u662f\u4f9d\u8d56\u7684\u52a8\u6001\u94fe\u63a5\u5e93\u4e24\u8fb9\u90fd\u6709\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0d\u540c\u7248\u672c\u7684 Linux \u7f16\u8bd1\u7684 c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/312749"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=312749"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/312749\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=312749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=312749"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=312749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}