Skip to content

Conversation

@luismgsilva
Copy link
Member

@luismgsilva luismgsilva commented Sep 12, 2025

When picolibc is used, appends the correct flags
(--specs=picolibcpp.specs --crt0=semihost --oslib=semihost) to GCC instead of the default semihost flags.

When picolibc is used, appends the correct flags
(--specs=picolibc.specs --crt0=semihost --oslib=semihost) to
GCC instead of the default semihost flags.

Signed-off-by: Luis Silva <[email protected]>
@luismgsilva luismgsilva self-assigned this Sep 12, 2025
@qwersem
Copy link
Collaborator

qwersem commented Sep 24, 2025

@luismgsilva , should we use --specs=picolibcpp.specs as you did in PR patch or --specs=picolibc.specs as you mentioned in PR description?

@luismgsilva
Copy link
Member Author

@luismgsilva , should we use --specs=picolibcpp.specs as you did in PR patch or --specs=picolibc.specs as you mentioned in PR description?

Initially was --specs=picolibc.specs but for C++ tests we should use --specs=picolibcpp.specs. However, we could simply use it for everything since it only adds extra code for C++.
It's easier to pass --specs=picolibcpp.specs than trying to separate C and C++ tests.

I will update the description. Thanks

Copy link
Collaborator

@qwersem qwersem left a comment

Choose a reason for hiding this comment

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

LGTM

@kolerov kolerov merged commit 9358efa into arc-releases Sep 24, 2025
1 check passed
@kolerov kolerov deleted the luis/fix-picolibc-flags branch September 24, 2025 16:19
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