Skip to content

Conversation

@MarsDoge
Copy link
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 [email protected]
Signed-off-by: Dongyan Qian [email protected]

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 <[email protected]>
Signed-off-by: Dongyan Qian <[email protected]>
@MarsDoge
Copy link
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
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
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 <[email protected]>
@MarsDoge
Copy link
Member Author

@lgao4 Please review 08ab015

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants