Title: [LoongArch] Compilation Error in Main Branch Due to Brotli Dependency: "invalid argument of ‘model’ attribute" · Issue #60835 · nodejs/node · GitHub
Open Graph Title: [LoongArch] Compilation Error in Main Branch Due to Brotli Dependency: "invalid argument of ‘model’ attribute" · Issue #60835 · nodejs/node
X Title: [LoongArch] Compilation Error in Main Branch Due to Brotli Dependency: "invalid argument of ‘model’ attribute" · Issue #60835 · nodejs/node
Description: Version v26.0.0-pre Platform Linux 90 6.9.0-rc3_default #1 SMP PREEMPT Thu Apr 11 12:24:48 UTC 2024 loongarch64 GNU/Linux Subsystem deps/brotli What steps will reproduce the bug? ./configure --openssl-no-asm && make -j32 How often does i...
Open Graph Description: Version v26.0.0-pre Platform Linux 90 6.9.0-rc3_default #1 SMP PREEMPT Thu Apr 11 12:24:48 UTC 2024 loongarch64 GNU/Linux Subsystem deps/brotli What steps will reproduce the bug? ./configure --open...
X Description: Version v26.0.0-pre Platform Linux 90 6.9.0-rc3_default #1 SMP PREEMPT Thu Apr 11 12:24:48 UTC 2024 loongarch64 GNU/Linux Subsystem deps/brotli What steps will reproduce the bug? ./configure --open...
Opengraph URL: https://github.com/nodejs/node/issues/60835
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[LoongArch] Compilation Error in Main Branch Due to Brotli Dependency: \"invalid argument of ‘model’ attribute\"","articleBody":"### Version\n\nv26.0.0-pre\n\n### Platform\n\n```text\nLinux 90 6.9.0-rc3_default #1 SMP PREEMPT Thu Apr 11 12:24:48 UTC 2024 loongarch64 GNU/Linux\n```\n\n### Subsystem\n\ndeps/brotli\n\n### What steps will reproduce the bug?\n\n./configure --openssl-no-asm \u0026\u0026 make -j32\n\n### How often does it reproduce? Is there a required condition?\n\nArchitecture: LoongArch64\nNode.js version: Main branch (latest commit)\n\n### What is the expected behavior? Why is that the expected behavior?\n\nExpected behavior: Node.js should compile successfully on the LoongArch64 architecture without compilation errors related to the brotli dependency\n\n### What do you see instead?\n\nInstead of a successful compilation, we encounter error during the brotli dependency build phase. \n\n### Additional information\n\nIn the LoongArch architecture, the upstream Node.js CI (https://ci.nodejs.org/job/node-test-commit-loongarch64/nodes=clfs23-64/835/) is encountering a compilation error related to brotli, with the specific error message being \"invalid argument of ‘model’ attribute\".\nDuring reproduction testing, we found that updating the brotli submodule to commit (e230f474) can effectively prevent Node.js build failures on the LoongArch architecture.\nThe root cause of this problem is that the GCC compiler does not support the ((model(\"small\"))) attribute.\nFor reference, please see: google/brotli#1369 and google/brotli/pull/1368.","author":{"url":"https://github.com/Javonne-liu","@type":"Person","name":"Javonne-liu"},"datePublished":"2025-11-24T07:36:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/60835/node/issues/60835"}
| 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:55030266-6470-39cd-cfb8-e2f8294f71f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A626:3691A9:7D6D5D:AA5B84:6A4C3E5F |
| html-safe-nonce | 34896ca16da9f549e686e85ff7a5a5c5f7d6ae70b6abb20d432606588c6011b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjI2OjM2OTFBOTo3RDZENUQ6QUE1Qjg0OjZBNEMzRTVGIiwidmlzaXRvcl9pZCI6IjU2MTE3NDE5NjY4MTE5NTEwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b6a471c3add5bb81e7eb757cbdb596ace86cea92ff0dc5974ea49922a93e0968 |
| hovercard-subject-tag | issue:3657481597 |
| 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/60835/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cb11f295f3ef18d29649f4ec48e5f3a1b28acce522c836d4e9d6b0f5d14c3c6/nodejs/node/issues/60835 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cb11f295f3ef18d29649f4ec48e5f3a1b28acce522c836d4e9d6b0f5d14c3c6/nodejs/node/issues/60835 |
| og:image:alt | Version v26.0.0-pre Platform Linux 90 6.9.0-rc3_default #1 SMP PREEMPT Thu Apr 11 12:24:48 UTC 2024 loongarch64 GNU/Linux Subsystem deps/brotli What steps will reproduce the bug? ./configure --open... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Javonne-liu |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| 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 | d11deab54ce15bac57bda991cc63805976812c11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width