Title: `main` fails to compile with gcc 15 · Issue #60566 · nodejs/node · GitHub
Open Graph Title: `main` fails to compile with gcc 15 · Issue #60566 · nodejs/node
X Title: `main` fails to compile with gcc 15 · Issue #60566 · nodejs/node
Description: Attempting to build the main branch with gcc 15 (tested on Fedora 42 and Ubuntu 25.10 (container)) fails to compile with cc1plus: error: attribute 'target' argument 'avx10.2-512' is unknown This appears to have started after the V8 14.2 ...
Open Graph Description: Attempting to build the main branch with gcc 15 (tested on Fedora 42 and Ubuntu 25.10 (container)) fails to compile with cc1plus: error: attribute 'target' argument 'avx10.2-512' is unknown This ap...
X Description: Attempting to build the main branch with gcc 15 (tested on Fedora 42 and Ubuntu 25.10 (container)) fails to compile with cc1plus: error: attribute 'target' argument 'avx10.2-512' is...
Opengraph URL: https://github.com/nodejs/node/issues/60566
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`main` fails to compile with gcc 15","articleBody":"Attempting to build the `main` branch with gcc 15 (tested on Fedora 42 and Ubuntu 25.10 (container)) fails to compile with\n```console\ncc1plus: error: attribute 'target' argument 'avx10.2-512' is unknown\n```\n\nThis appears to have started after the V8 14.2 update -- possibly highway (which is version sniffing the compiler)? https://github.com/nodejs/node/blob/72c0fdf125314145e6ddef3543965ee63227542f/deps/v8/third_party/highway/src/hwy/detect_targets.h#L197-L206\n\nSwitching to `clang` (on Fedora, clang 20.1.8) or gcc 14 (Ubuntu) succeeds without the error (both of which would cause `HWY_BROKEN_AVX10_2` to be defined according to the above snippet).\n\n```console\n$ gcc --version\ngcc (GCC) 15.2.1 20250808 (Red Hat 15.2.1-1)\nCopyright (C) 2025 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n$\n```\n\n```console\n$ gcc --version\ngcc (Ubuntu 15.2.0-4ubuntu4) 15.2.0\nCopyright (C) 2025 Free Software Foundation, Inc.\nThis is free software; see the source for copying conditions. There is NO\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n$\n```","author":{"url":"https://github.com/richardlau","@type":"Person","name":"richardlau"},"datePublished":"2025-11-03T12:15:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/60566/node/issues/60566"}
| 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:7b91e66b-7733-844b-c801-8a69a58ca0d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFC6:7EDF5:4FE6A2:74260D:6A4D1180 |
| html-safe-nonce | 5ad98567122503de8b6a45c43d40d01a3026fd2f171e4f4357fdfef1ff7fabff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkM2OjdFREY1OjRGRTZBMjo3NDI2MEQ6NkE0RDExODAiLCJ2aXNpdG9yX2lkIjoiODU3NTk4NTI5NTkyMDI3MTc0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 143c98d0856f5c86efb11dfd351f8c30cfb4da5b652325c2682e3ab25a4b032c |
| hovercard-subject-tag | issue:3581806731 |
| 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/node/60566/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6543c5e4b315a3b47985732005e025671cf7437d771951f2c5138089d555b348/nodejs/node/issues/60566 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6543c5e4b315a3b47985732005e025671cf7437d771951f2c5138089d555b348/nodejs/node/issues/60566 |
| og:image:alt | Attempting to build the main branch with gcc 15 (tested on Fedora 42 and Ubuntu 25.10 (container)) fails to compile with cc1plus: error: attribute 'target' argument 'avx10.2-512' is unknown This ap... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | richardlau |
| hostname | github.com |
| expected-hostname | github.com |
| None | f02420044fa3730a0607f4a52546bdd73f5ae60187ef57d284ecb6d7f3f1d880 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | f0b6a62c1f0be1086cb0b5b077b82cebe520eb42 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width