Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix precompiled libraries linkage on Arduino #294

Merged
merged 1 commit into from
Jan 28, 2022

Conversation

Acuadros95
Copy link
Contributor

This PR fixes precompiled libraries linkage in OpenCR Arduino platform.

Purpose:
We are having problems with micro-ROS for arduino library link process

Our latest implementation includes packages with repeated symbols name and as our library is within the --whole-archive linker option, we end up with a lot of multiple definition link errors.

This PR moves our library out to the --no-whole-archive part, letting the linker optimize this symbols out.

Related: #253 (CC: @pablogs9)

@Acuadros95 Acuadros95 changed the title Fix micro-ROS library link Fix precompiled libraries linkage on Arduino Jan 27, 2022
@ROBOTIS-Will ROBOTIS-Will merged commit 9b189ef into ROBOTIS-GIT:develop Jan 28, 2022
@ROBOTIS-Will
Copy link
Contributor

@Acuadros95
Thanks for your contribution.
We'll be having almost a week long Lunar New Year holiday so I'll prematurely release this update so that you can try it.
Thanks!

@Acuadros95 Acuadros95 deleted the fix/linker branch January 28, 2022 07:17
@pablogs9
Copy link
Contributor

Thanks for the quick response @ROBOTIS-Will !

@ROBOTIS-Will
Copy link
Contributor

@pablogs9
My pleasure :)
Have a great weekend ahead!

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.

None yet

3 participants