Skip to content

[pacman] 7.1.0-2: Default to medium code model on loongarch64#6818

Open
ziyao233 wants to merge 1 commit intoeweOS:pacmanfrom
ziyao233:pacman
Open

[pacman] 7.1.0-2: Default to medium code model on loongarch64#6818
ziyao233 wants to merge 1 commit intoeweOS:pacmanfrom
ziyao233:pacman

Conversation

@ziyao233
Copy link
Member

Old toolchains by default use small code model on loongarch64, which requires the code size to be less than 256MiB, and we're now seeing packages failed to be built for the reason, for example, telegram-desktop.

Default to medium code model to fix the issue. This doesn't break ABI, and will only enlarge packages containing object files/static libraries a little, and has no performance impact, since the linker would shrink (relax) the addressing sequences during linking.

Old toolchains by default use small code model on loongarch64, which
requires the code size to be less than 256MiB, and we're now seeing
packages failed to be built for the reason, for example,
telegram-desktop.

Default to medium code model to fix the issue. This doesn't break ABI,
and will only enlarge packages containing object files/static libraries
a little, and has no performance impact, since the linker would shrink
(relax) the addressing sequences during linking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant