Skip to content

Conversation

angerman
Copy link

@angerman angerman commented Sep 10, 2025

By mistake we tried to use deriveConstant without passing --gcc-flag -fcommon (which Hadrian does) and it failed.

This patch adds deriveConstant support for constants stored in the .bss section so that deriveConstant works without passing -fcommon to the C compiler.

Upsteram MR: !14795

By mistake we tried to use deriveConstant without passing
`--gcc-flag -fcommon` (which Hadrian does) and it failed.

This patch adds deriveConstant support for constants stored in the .bss
section so that deriveConstant works without passing `-fcommon` to the C
compiler.
@angerman angerman changed the title deriveConstant: support symbols in the .bss section (#26393) [!14795] deriveConstant: support symbols in the .bss section (#26393) Sep 10, 2025
@angerman angerman added the upstreaming This PR is in the process of being upstreamed label Sep 10, 2025
@angerman angerman mentioned this pull request Sep 11, 2025
@hsyl20
Copy link

hsyl20 commented Sep 24, 2025

Upstream MR is merged.

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

Labels

upstreaming This PR is in the process of being upstreamed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants