Skip to content

Conversation

@Javonne-liu
Copy link
Contributor

issue:#60835
LoongArch64 CI is in a failed state (https://ci.nodejs.org/job/node-test-commit-loongarch64/nodes=clfs23-64/852)

After upgrading Brotli to 1.2.0, the LoongArch64 architecture compilation fails with the error "invalid argument of ‘model’ attribute".

../deps/brotli/c/common/constants.h:196:23: error: invalid argument of ‘model’ attribute 196 | BrotliPrefixCodeRange _kBrotliPrefixCodeRanges[BROTLI_NUM_BLOCK_LEN_SYMBOLS]; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../deps/brotli/c/common/constants.c:10:23: error: invalid argument of ‘model’ attribute 10 | BrotliPrefixCodeRange _kBrotliPrefixCodeRanges[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [deps/brotli/brotli.target.mk:122:/home/iojs/build/workspace/node-test-commit-loongarch64/out/Release/obj.target/brotli/deps/brotli/c/common/constants.o] 错误 1 make[2]: *** 正在等待未完成的任务.... 

Origin commit message:

disable BROTLI_MODEL macro for some targets PiperOrigin-RevId: 827486322 

Refs: google/brotli@e230f47

Origin commit message:	disable BROTLI_MODEL macro for some targets	PiperOrigin-RevId: 827486322 Refs: google/brotli@e230f47
@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/security-wg
@nodejs-github-bot nodejs-github-bot added brotli Issues and PRs related to the brotli dependency. dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run. labels Dec 9, 2025
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Dec 10, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 10, 2025
@aduh95 aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 10, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 11, 2025
@nodejs-github-bot nodejs-github-bot merged commit 180c717 into nodejs:main Dec 11, 2025
75 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 180c717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. brotli Issues and PRs related to the brotli dependency. dependencies Pull requests that update a dependency file. needs-ci PRs that need a full CI run.

5 participants