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

dot_a_linkage causes compilation trouble #318

Open
MCUdude opened this issue Apr 12, 2019 · 1 comment
Open

dot_a_linkage causes compilation trouble #318

MCUdude opened this issue Apr 12, 2019 · 1 comment
Labels
help wanted Assistance from the community is especially welcome topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@MCUdude
Copy link

MCUdude commented Apr 12, 2019

See MCUdude/MightyCore#135 for details.

In short terms, I'm experiencing build issues when a library (SPI and Wire in this case) has dot_a_linkage=true.

@facchinm
Copy link
Member

@MCUdude @per1234 thanks for the extensive debugging of the issue on the other thread. The order of .o files is not defined and depends on the lib discovery order because it's normally a non issue.
This line prevents the builder from knowing if the object is an archive or a .o, so we cannot reorder the list in a later stage.

I'll try to think about a workaround, but it looks the only way would be to keep two lists and merge in the correct order at link time.

@facchinm facchinm added the help wanted Assistance from the community is especially welcome label Apr 15, 2019
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Assistance from the community is especially welcome topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants