Skip to content

Conversation

@simpal01
Copy link
Collaborator

@simpal01 simpal01 commented Jan 9, 2025

Newlib overlay package has calls to init and fini. When building newlib, referencing of _init and _fini has been suppressed by undefining the corresponding macro HAVE_INIT_FINI and relys on the more modern .init_array and .fini_array. But the name of this macro in newlib has changed from HAVE_INIT_FINI to _HAVE_INIT_FINI, so undefine this macro in the cmake file..

Newlib overlay package has calls to init and fini.
When building newlib, referencing of _init and _fini
has been suppressed by undefining the corresponding
macro and relys on the more modern .init_array and
.fini_array. But the name of this macro in newlib has
changed from HAVE_INIT_FINI to _HAVE_INIT_FINI, so
undefine this macro in the cmake file..
Copy link
Contributor

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for cleaning this up.

There's a typo in your commit message/description relys should be relies.

@simpal01 simpal01 merged commit dc7dd64 into ARM-software:main Jan 9, 2025
1 check passed
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.

2 participants