Title: Target libc based suffix (-musl/-gnu) in PLATFORM_TRIPLET is chosen based on build machine configuration instead of configuration of the target · Issue #95855 · python/cpython · GitHub
Open Graph Title: Target libc based suffix (-musl/-gnu) in PLATFORM_TRIPLET is chosen based on build machine configuration instead of configuration of the target · Issue #95855 · python/cpython
X Title: Target libc based suffix (-musl/-gnu) in PLATFORM_TRIPLET is chosen based on build machine configuration instead of configuration of the target · Issue #95855 · python/cpython
Description: That, as an example, leads to cpython 3.9.13 build failing1 when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl. As already described and confirmed as a bug in #24502 (comment) : If I'm not mistaken, PLAT...
Open Graph Description: That, as an example, leads to cpython 3.9.13 build failing1 when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl. As already described and confirmed as a bug in #245...
X Description: That, as an example, leads to cpython 3.9.13 build failing1 when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl. As already described and confirmed as a bug in #245...
Opengraph URL: https://github.com/python/cpython/issues/95855
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Target libc based suffix (-musl/-gnu) in PLATFORM_TRIPLET is chosen based on build machine configuration instead of configuration of the target","articleBody":"That, as an example, leads to cpython 3.9.13 build failing[^1] when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl.\r\n\r\nAs already described and confirmed as a bug in https://github.com/python/cpython/pull/24502#discussion_r938078760 :\r\n\r\nIf I'm not mistaken, `PLATFORM_TRIPLET` should refer to the target platform on which cpython will run. If that is the case, the musl libc vs. glibc decision should be based on `$host_os` rather than `$build_os` as the former is based on autoconf's `AC_CANONICAL_HOST` macro[^2] which refers to the target platform that might differ from the build platform in case of cross-compilation.\r\n\r\nI'm creating this as a separate issue concerning a particular problem, but I think this also contributes to existing discussion in https://github.com/python/cpython/issues/87278 .\r\n\r\n[^1]: \"internal configure error for the platform triplet, please file a bug report\"\r\n[^2]: https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Canonicalizing.html\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-107221\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/autobakterie","@type":"Person","name":"autobakterie"},"datePublished":"2022-08-10T15:43:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/95855/cpython/issues/95855"}
| 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:deb614a9-109a-bb8c-fef2-aa79be6ace04 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC0C:2B7730:42FA46:606442:6A55DF10 |
| html-safe-nonce | ad6218aa75abcea0d39bfabad7e2b1a5cbd0b6908bf8d0f9e1f0c4a522325f24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzBDOjJCNzczMDo0MkZBNDY6NjA2NDQyOjZBNTVERjEwIiwidmlzaXRvcl9pZCI6IjIyNTczMTk5NzgwMjEwMTk0MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d4deb7bb9233863b6b3bf3a807b9e3d09abb64a275d3253f0c42f124f88d1b06 |
| hovercard-subject-tag | issue:1334822498 |
| 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/python/cpython/95855/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3448e4e6d312656283e4935891d9baa1250181771fa496eb3755c1987947714a/python/cpython/issues/95855 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3448e4e6d312656283e4935891d9baa1250181771fa496eb3755c1987947714a/python/cpython/issues/95855 |
| og:image:alt | That, as an example, leads to cpython 3.9.13 build failing1 when cross-compiling on AMD64 Linux with glibc for mpc8548 Linux (OpenWrt) with musl. As already described and confirmed as a bug in #245... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | autobakterie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 3725c7f9b2a6e3a27ef57c5aed13428c0f65e045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width