Title: Add support for MUSL based Operation Systems by lostie · Pull Request #449 · RcppCore/Rcpp · GitHub
Open Graph Title: Add support for MUSL based Operation Systems by lostie · Pull Request #449 · RcppCore/Rcpp
X Title: Add support for MUSL based Operation Systems by lostie · Pull Request #449 · RcppCore/Rcpp
Description: Addresses #448 Final solution: After some discussion we decided the best way would be to add a __MUSL__ test and get Alpine distributions to add that to the PKG_CXXFLAGS Using suggestion recommend by the musl F.A.Q.: (Read below) Q: application XY misbehaves or crashes at runtime when linked against musl A: Usually this is because the app has hardcoded glibc-specific assumptions or wrong #ifdefs. See Functional differences from glibc. The most common causes are expectations of gnu getopt behaviour, iconv usage on UCS2 with assumptions that BOM is processed and the byte order detected, assuming that off_t is 32 bit, and assumptions that pthread_create will create sufficiently large stacks by default (crash situation). A good approach to solving the issue is to watch out for #if and #ifdefs in the code and placing some debug #warning there to see which code paths are enabled by the preprocessor. Often the logic taken by #ifdef's is to check a blacklist of preprocessor defines #if sun || haiku || irix || qnx portable_code(); #else glibc_code() #endif. The logic should be the other way round: #ifndef GLIBC portable_code() #else glibc_code(). There's also no point in checking GLIBC version numbers without first making sure that GLIBC is defined at all. http://wiki.musl-libc.org/wiki/FAQ
Open Graph Description: Addresses #448 Final solution: After some discussion we decided the best way would be to add a __MUSL__ test and get Alpine distributions to add that to the PKG_CXXFLAGS Using suggestion recommend ...
X Description: Addresses #448 Final solution: After some discussion we decided the best way would be to add a __MUSL__ test and get Alpine distributions to add that to the PKG_CXXFLAGS Using suggestion recommend ...
Opengraph URL: https://github.com/RcppCore/Rcpp/pull/449
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a976ad29-6039-fbc4-463d-1d856b46872b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8FB0:9CC2A:1BF5C0E:26A2BA0:696AAA53 |
| html-safe-nonce | ae7061376a0f6e4404adba7b62dee303f39e20e7d5ca50dcf88189dfb12c29f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkIwOjlDQzJBOjFCRjVDMEU6MjZBMkJBMDo2OTZBQUE1MyIsInZpc2l0b3JfaWQiOiIyOTAwMDEwMDEwNzc2NjExNDExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 669f930f7ae401b373fcf8bfcfaa9478a8f7886e39fd9297741a1f5055d70a8f |
| hovercard-subject-tag | pull_request:63596469 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/RcppCore/Rcpp/pull/449/checks |
| twitter:image | https://avatars.githubusercontent.com/u/67125?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/67125?s=400&v=4 |
| og:image:alt | Addresses #448 Final solution: After some discussion we decided the best way would be to add a __MUSL__ test and get Alpine distributions to add that to the PKG_CXXFLAGS Using suggestion recommend ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| turbo-cache-control | no-preview |
| go-import | github.com/RcppCore/Rcpp git https://github.com/RcppCore/Rcpp.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 14005591 |
| octolytics-dimension-repository_nwo | RcppCore/Rcpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14005591 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/Rcpp |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width