Title: Vendored mimalloc references macOS preprocessor symbols that no longer exist · Issue #118072 · python/cpython · GitHub
Open Graph Title: Vendored mimalloc references macOS preprocessor symbols that no longer exist · Issue #118072 · python/cpython
X Title: Vendored mimalloc references macOS preprocessor symbols that no longer exist · Issue #118072 · python/cpython
Description: Bug report Bug description: The CPython sources include a vendored copy of https://github.com/microsoft/mimalloc. This was added 5 months ago as part of #109914. the commit comment says it is version "v2.12". That doesn't appear to be a ...
Open Graph Description: Bug report Bug description: The CPython sources include a vendored copy of https://github.com/microsoft/mimalloc. This was added 5 months ago as part of #109914. the commit comment says it is versi...
X Description: Bug report Bug description: The CPython sources include a vendored copy of https://github.com/microsoft/mimalloc. This was added 5 months ago as part of #109914. the commit comment says it is versi...
Opengraph URL: https://github.com/python/cpython/issues/118072
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vendored mimalloc references macOS preprocessor symbols that no longer exist","articleBody":"# Bug report\n\n### Bug description:\n\nThe CPython sources include a vendored copy of https://github.com/microsoft/mimalloc. \n\nThis was added 5 months ago as part of #109914. the commit comment says it is version \"v2.12\". That doesn't appear to be a mimalloc release, but v2.1.2 does exist, and was the current stable release as of November 2023. \n\nHowever, that code references `TARGET_IOS_IPHONE` and `TARGET_IOS_SIMULATOR`. These symbols were deprecated in iOS 15 (released ~2 years ago). These references have been updated in the dev branch of `mimalloc` (along with many other changes), but there isn't an updated stable mimalloc release at time of writing. \n\nWe have also made a number of other changes to the vendored version (about 18 commits, by my count). It's not clear if these mirror changes that have been made upstream, or if we have effectively forked mimalloc at this point.\n\nThe code still appears to work at present, but there's a risk it might not in future when the symbol deprecations are finalised. There may also be other updates and bugfixes in mimalloc that we're not taking advantage of.\n\nThis was discovered during an audit of `TARGET_OS` symbol usage following the report of #117886 and #117891.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS","author":{"url":"https://github.com/freakboy3742","@type":"Person","name":"freakboy3742"},"datePublished":"2024-04-18T23:55:30Z","url":"https://github.com/python/cpython/issues/118072"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:84d79ce0-dd55-a9cd-6c31-48e5df204450 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA18:17FB7:2FF741D:3CE2336:6B01FAC6 |
| html-safe-nonce | 5708355b8bdddeac0864f43a3cf6d30155c8c9733a78582ccd4c51cf42b4640c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTE4OjE3RkI3OjJGRjc0MUQ6M0NFMjMzNjo2QjAxRkFDNiIsInZpc2l0b3JfaWQiOiI0NTAxOTI5MDQ1ODAxNDMzNzk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f2d81da59f0375a4c977b3754c4090bd56d2fdb086ab205c349c764380b53a7c |
| hovercard-subject-tag | issue:2251802482 |
| 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/118072/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6047c5c4cda4007824214385fd72d8ad09af0ef52a038bd7d0de9b245da25bb/python/cpython/issues/118072 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6047c5c4cda4007824214385fd72d8ad09af0ef52a038bd7d0de9b245da25bb/python/cpython/issues/118072 |
| og:image:alt | Bug report Bug description: The CPython sources include a vendored copy of https://github.com/microsoft/mimalloc. This was added 5 months ago as part of #109914. the commit comment says it is versi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | freakboy3742 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width