Skip to content

Conversation

@simpal01
Copy link
Contributor

Fix llvmlibc sample, by adding -lm to the link command - Cherry pick from #69

Do not build aarch64r soft_nofp variants with newlib/llvmlibc - Cherry pick from #110

statham-arm and others added 2 commits February 28, 2025 12:41
The sample program calls two libm functions (lround and atanf) to turn a
floating-point number into decimal digits. But libm.a is built as a
separate library from libc.a, so linking the sample program fails
because the compile command doesn't use the -lm option. Easily fixed.
…rm#110)

The aarch64r soft_nofp variants will fail to build using newlib. The
aarch64a soft_nofp variants are already disabled in newlib/llvmlibc
builds due to missing support, so the aarch64r should be similarly
limited to picolibc.
Copy link
Contributor

@pratlucas pratlucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simpal01 simpal01 merged commit d2609b3 into arm:release/arm-software/20.x Feb 28, 2025
@simpal01 simpal01 deleted the integrate-llvmlibc-PRs branch March 6, 2025 14:35
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.

4 participants