Title: how the official linux binary is built? · Issue #1039 · nodejs/help · GitHub
Open Graph Title: how the official linux binary is built? · Issue #1039 · nodejs/help
X Title: how the official linux binary is built? · Issue #1039 · nodejs/help
Description: Version: 6.11.5 Platform: Linux fcdev 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I am trying to build nodejs binary on a Fedora 27 host, using --fully-static, because my target host is Fedo...
Open Graph Description: Version: 6.11.5 Platform: Linux fcdev 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I am trying to build nodejs binary on a Fedora 27 host, using --full...
X Description: Version: 6.11.5 Platform: Linux fcdev 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I am trying to build nodejs binary on a Fedora 27 host, using --full...
Opengraph URL: https://github.com/nodejs/help/issues/1039
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"how the official linux binary is built?","articleBody":"Version: 6.11.5\r\nPlatform: Linux fcdev 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nI am trying to build nodejs binary on a Fedora 27 host, using --fully-static, because my target host is Fedora Core 6. This is how I build:\r\n\r\n./configure --fully-static\r\nmake -j\r\n\r\nThe compile/link would go thru and generate a node binary, with some warnings similar to the one below:\r\n\r\ndso_dlfcn.c:(.text+0x12): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking\r\n/home/syen/src/node-v6.11.5/out/Release/obj.target/node/src/node.o: In function `node::InitGroups(v8::FunctionCallbackInfov8::Value const&)':\r\n\r\nBut I could run this node binary just fine on the Fedora 27 build host. But when I copy node binary to my target Fedora 6 host and run it, it would segment fault immediately without even get to the \">\" prompt.\r\n\r\nThe weird thing is, the official linux binary from nodejs.org site would have no problem running on my target Fedora 6 host. I can get a \">\" prompt, and I can execute my javascript with this binary.\r\n\r\nSo, my questions:\r\n\r\n1. how is the official node binary for linux built?\r\n2. why my \"--fully-static\" binary build would still generate some binary that will reference a shared glibc library?\r\n\r\nI've looked up and down on nodejs website and I couldn't find any documentation on how the official binary was built...\r\n","author":{"url":"https://github.com/shyhpei","@type":"Person","name":"shyhpei"},"datePublished":"2017-12-25T06:22:44Z","url":"https://github.com/nodejs/help/issues/1039"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:06e49b27-caa4-45ff-ca21-db4ab3f605b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B370:F5278:148CE5D:1B4FB63:6AED65E7 |
| html-safe-nonce | 03169b7fe83be1cd19f1c109995ab4847e3177c2861498db3451847d5a358070 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzcwOkY1Mjc4OjE0OENFNUQ6MUI0RkI2Mzo2QUVENjVFNyIsInZpc2l0b3JfaWQiOiI2NDg4MDgxNTQ1OTMwMDQwODA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d498c95de00545c7f712565aed8ffad74f683c31dc09262190458b429b5a9578 |
| hovercard-subject-tag | issue:284409555 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/help/1039/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e164bb90c46edd63269f80d00e7e8a6e005fc68fb0cef421e1cb7912b2d99894/nodejs/help/issues/1039 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e164bb90c46edd63269f80d00e7e8a6e005fc68fb0cef421e1cb7912b2d99894/nodejs/help/issues/1039 |
| og:image:alt | Version: 6.11.5 Platform: Linux fcdev 4.13.13-300.fc27.x86_64 #1 SMP Wed Nov 15 15:47:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux I am trying to build nodejs binary on a Fedora 27 host, using --full... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shyhpei |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56fb42677ae87ed3e64410323d67980aa65d0485568a7858f874e7edfc6d1c11 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/help git https://github.com/nodejs/help.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 43069468 |
| octolytics-dimension-repository_nwo | nodejs/help |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43069468 |
| octolytics-dimension-repository_network_root_nwo | nodejs/help |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c9a37e2423ed382cf39f70b5aa4b4858b40a3b0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width