Skip to content

BaseTools: Update brotli submodule#11745

Merged
mergify[bot] merged 3 commits intotianocore:masterfrom
MarsDoge:1112_m
Nov 19, 2025
Merged

BaseTools: Update brotli submodule#11745
mergify[bot] merged 3 commits intotianocore:masterfrom
MarsDoge:1112_m

Conversation

@MarsDoge
Copy link
Copy Markdown
Member

@MarsDoge MarsDoge commented Nov 12, 2025

Description

Update the brotli submodule to the commit (e230f474). to avoid build failures in the IA64/LoongArch architecture's native compiler.

The fundamental reason is that GCC does not support the attribute((model("small"))).
REF:google/brotli#1369

Suggested-by: MingcongBai jeffbai@aosc.io
Signed-off-by: Dongyan Qian qiandongyan@loongson.cn

How This Was Tested

build in the LoongArch architecture or IA64 using native compiler.

Update the brotli submodule to the commit (e230f474).
to avoid build failures in the IA64/LoongArch architecture's
native compiler.

The fundamental reason is that GCC does not support the
__attribute__((model("small"))).
REF:google/brotli#1369

Suggested-by: MingcongBai <jeffbai@aosc.io>
Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
@MarsDoge
Copy link
Copy Markdown
Member Author

MarsDoge commented Nov 13, 2025

@vineelko The upstream brotli had an issue google/brotli#1368 where the LoongArch/IA64 native architecture fails to build.. It has been merged google/brotli@e230f47 and needs to be synchronized. Please review.
@lgao4 Please also help review, Thank you all.

@lgao4
Copy link
Copy Markdown
Contributor

lgao4 commented Nov 14, 2025

The fundamental reason is that GCC does not support the attribute

Is MdeModulePkg Brotli Decompression Lib requried to be udpated?

@MarsDoge
Copy link
Copy Markdown
Member Author

The fundamental reason is that GCC does not support the attribute

Is MdeModulePkg Brotli Decompression Lib requried to be udpated?

You are right, I will add and verify it immediately, thank you.

Update the brotli submodule to the commit (e230f474).
to avoid build failures in the IA64/LoongArch architecture's
native compiler.

The fundamental reason is that GCC does not support the
__attribute__((model("small"))).
REF:google/brotli#1369

Signed-off-by: Dongyan Qian <qiandongyan@loongson.cn>
@MarsDoge
Copy link
Copy Markdown
Member Author

@lgao4 Please review 08ab015

@lgao4 lgao4 added the push Auto push patch series in PR if all checks pass label Nov 19, 2025
@mergify mergify Bot added the queued label Nov 19, 2025
@mergify mergify Bot merged commit 46548b1 into tianocore:master Nov 19, 2025
117 checks passed
@mergify mergify Bot removed the queued label Nov 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

push Auto push patch series in PR if all checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants