Title: Weird PGO build issue on macOS 14.3 · Issue #117752 · python/cpython · GitHub
Open Graph Title: Weird PGO build issue on macOS 14.3 · Issue #117752 · python/cpython
X Title: Weird PGO build issue on macOS 14.3 · Issue #117752 · python/cpython
Description: Xcode: 15.3 (22618) Instruments: 15.3 (64565.111) With ./configure --enable-optimizations, the PGO build itself is a success on my machine, but the status is weird. Following build warnings are emitted at the first build clang: warning: ...
Open Graph Description: Xcode: 15.3 (22618) Instruments: 15.3 (64565.111) With ./configure --enable-optimizations, the PGO build itself is a success on my machine, but the status is weird. Following build warnings are emi...
X Description: Xcode: 15.3 (22618) Instruments: 15.3 (64565.111) With ./configure --enable-optimizations, the PGO build itself is a success on my machine, but the status is weird. Following build warnings are emi...
Opengraph URL: https://github.com/python/cpython/issues/117752
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Weird PGO build issue on macOS 14.3","articleBody":"- Xcode:\t15.3 (22618)\r\n- Instruments:\t15.3 (64565.111)\r\n\r\nWith ./configure --enable-optimizations, the PGO build itself is a success on my machine, but the status is weird.\r\n\r\nFollowing build warnings are emitted at the first build\r\n```\r\nclang: warning: argument unused during compilation: '-fno-semantic-interposition' [-Wunused-command-line-argument]\r\n...\r\n```\r\n\r\nDuring the profiling stage, several tests are not passed as before.\r\n```\r\n# Next, run the profile task to generate the profile information.\r\nLLVM_PROFILE_FILE=\"code-%p.profclangr\" ./python.exe -m test --pgo --timeout=\r\nUsing random seed: 3569111910\r\nRaised RLIMIT_NOFILE: 256 -> 1024\r\n0:00:00 load avg: 4.25 Run 44 tests sequentially\r\n0:00:00 load avg: 4.25 [ 1/44] test_array\r\n0:00:00 load avg: 4.25 [ 2/44] test_base64\r\n0:00:00 load avg: 4.25 [ 3/44] test_binascii -- test_base64 failed (env changed)\r\n0:00:00 load avg: 4.25 [ 4/44] test_binop\r\n0:00:00 load avg: 4.25 [ 5/44] test_bisect\r\n0:00:00 load avg: 4.25 [ 6/44] test_bytes\r\n0:00:02 load avg: 4.25 [ 7/44] test_bz2 -- test_bytes failed (env changed)\r\n0:00:02 load avg: 4.25 [ 8/44] test_cmath\r\n0:00:02 load avg: 4.25 [ 9/44] test_codecs\r\n0:00:03 load avg: 4.25 [10/44] test_collections\r\n0:00:03 load avg: 4.25 [11/44] test_complex\r\n0:00:03 load avg: 4.25 [12/44] test_dataclasses\r\n0:00:04 load avg: 4.25 [13/44] test_datetime\r\n0:00:06 load avg: 4.63 [14/44] test_decimal\r\n------------------------------------ NOTICE ------------------------------------\r\ntest_decimal may generate \"malloc can't allocate region\"\r\nwarnings on macOS systems. This behavior is known. Do not\r\nreport a bug unless tests are also failing.\r\nSee https://github.com/python/cpython/issues/85100\r\n--------------------------------------------------------------------------------\r\n0:00:08 load avg: 4.63 [15/44] test_difflib\r\n0:00:09 load avg: 4.63 [16/44] test_embed\r\n0:00:12 load avg: 4.50 [17/44] test_float -- test_embed failed (env changed)\r\n0:00:12 load avg: 4.50 [18/44] test_fstring\r\n0:00:13 load avg: 4.50 [19/44] test_functools\r\n0:00:14 load avg: 4.50 [20/44] test_generators\r\n0:00:14 load avg: 4.50 [21/44] test_hashlib\r\n0:00:14 load avg: 4.62 [22/44] test_heapq\r\n0:00:15 load avg: 4.62 [23/44] test_int\r\n0:00:15 load avg: 4.62 [24/44] test_itertools\r\n0:00:16 load avg: 4.62 [25/44] test_json -- test_itertools failed (env changed)\r\n0:00:18 load avg: 4.62 [26/44] test_long -- test_json failed (env changed)\r\n0:00:19 load avg: 4.41 [27/44] test_lzma\r\n0:00:20 load avg: 4.41 [28/44] test_math\r\n0:00:21 load avg: 4.41 [29/44] test_memoryview\r\n0:00:21 load avg: 4.41 [30/44] test_operator\r\n0:00:21 load avg: 4.41 [31/44] test_ordered_dict\r\n0:00:21 load avg: 4.41 [32/44] test_patma\r\n0:00:22 load avg: 4.41 [33/44] test_pickle\r\n0:00:24 load avg: 4.41 [34/44] test_pprint\r\n0:00:24 load avg: 4.41 [35/44] test_re\r\n0:00:24 load avg: 4.38 [36/44] test_set -- test_re failed (env changed)\r\n0:00:26 load avg: 4.38 [37/44] test_sqlite3\r\n0:00:26 load avg: 4.38 [38/44] test_statistics -- test_sqlite3 failed (env changed)\r\n0:00:29 load avg: 4.11 [39/44] test_str\r\n0:00:30 load avg: 4.11 [40/44] test_struct -- test_str failed (env changed)\r\n0:00:30 load avg: 4.11 [41/44] test_tabnanny -- test_struct failed (env changed)\r\n0:00:30 load avg: 4.11 [42/44] test_time -- test_tabnanny failed (env changed)\r\n0:00:32 load avg: 4.11 [43/44] test_xml_etree\r\n0:00:33 load avg: 4.11 [44/44] test_xml_etree_c\r\n\r\nTotal duration: 33.8 sec\r\nTotal tests: run=9,203 skipped=182\r\nTotal test files: run=44/44 env_changed=10\r\nResult: SUCCESS\r\n```\r\n\r\nAlso, writing profile files is in a weird status.\r\n\r\n```\r\n/usr/bin/xcrun llvm-profdata merge -output=code.profclangd *.profclangr\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\nLLVM Profile Error: Failed to write file \"code-75991.profclangr\": No such file or directory\r\n```\r\ncc @ned-deily @ronaldoussoren @erlend-aasland \r\n\r\n\u003c!-- gh-linked-prs -->\r\n### Linked PRs\r\n* gh-117789\r\n* gh-117790\r\n* gh-117795\r\n* gh-117800\r\n* gh-117803\r\n* gh-117805\n\u003c!-- /gh-linked-prs -->\r\n\r\n### Retargeted PRs:\r\n* gh-117796\r\n","author":{"url":"https://github.com/corona10","@type":"Person","name":"corona10"},"datePublished":"2024-04-11T13:51:24Z","url":"https://github.com/python/cpython/issues/117752"}
| 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:8732e2c6-b302-6faa-7f3f-c463bc52a81c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D5CA:352B47:FE86B:14E9E1:6AFE92B1 |
| html-safe-nonce | 3c41f20340d83fd3ee1ffe40a3e0bd5fe43d800f2701ea4a0ee4929062ac8d3f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENUNBOjM1MkI0NzpGRTg2QjoxNEU5RTE6NkFGRTkyQjEiLCJ2aXNpdG9yX2lkIjoiODAxMjY0MzYzNzE5ODIzMDE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 804261ccebaca6e33c587843fa9508a168c64de9e920b1b9c768ad6d8cc601af |
| hovercard-subject-tag | issue:2237778955 |
| 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/117752/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69c9c3fb09f1912e102c35dd06c15aceb9dddb72d0468eda588f01ba059afc64/python/cpython/issues/117752 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69c9c3fb09f1912e102c35dd06c15aceb9dddb72d0468eda588f01ba059afc64/python/cpython/issues/117752 |
| og:image:alt | Xcode: 15.3 (22618) Instruments: 15.3 (64565.111) With ./configure --enable-optimizations, the PGO build itself is a success on my machine, but the status is weird. Following build warnings are emi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | corona10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width