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

WIP newlib.mk: fix regressions and global cleanups, tracking evolutions of newlib.mk #9512

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

cladmi
Copy link
Contributor

@cladmi cladmi commented Jul 6, 2018

Contribution description

WARN: I wanted to re-test commits from this PR after rebasing them multiple times, but could not find time. However I prefer uploading it instead of keeping it local

This started as a PR to fix:

  • The need to have a trailing slash in NEWLIB_INCLUDE_DIR
  • adding -isystem $(empty_variable) to INCLUDES
  • clean the output of gcc to get compiler includes
  • Patterns not be taken into account

And this ended up in also some refactoring, tests.
It is still work in progress

This PR grew quite big and went beyond what I originally planed.
I will split it, refactor and re-organize commits.

I also plan to add parts of #9415 but not the 'nano.specs' this should be kept in the original pr.

I on purpose separated commits to allow adding small parts separately and removing other too problematic ones.

Split PRs

Issues/PRs references

Problems mentioned in #9452

@cladmi cladmi added State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Area: build system Area: Build system CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 6, 2018
@cladmi cladmi force-pushed the pr/make/newlib/fix_trailing_slash/and/cleanup branch from 62eb720 to 9d36929 Compare July 6, 2018 17:57
@cladmi
Copy link
Contributor Author

cladmi commented Jul 6, 2018

One of the nice things that should be taken from the fact that nobody really complained that these fixes are needed (except api change), is that the fixes added by #9394 may be fixing everybody case.

@cladmi
Copy link
Contributor Author

cladmi commented Jul 17, 2018

I thought about another idea for testing in newlib-nano header is used.
I will move it to an unittest that does testing depending if MODULE_NEWLIB_NANO is set or not. It will be less invasive than adding the -include.

@cladmi cladmi force-pushed the pr/make/newlib/fix_trailing_slash/and/cleanup branch from 454f0e7 to d1bb8d7 Compare July 20, 2018 07:15
@miri64 miri64 added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 20, 2018
@cladmi cladmi added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jul 20, 2018
@cladmi cladmi force-pushed the pr/make/newlib/fix_trailing_slash/and/cleanup branch from d1bb8d7 to fa7082a Compare July 25, 2018 13:03
@cladmi cladmi added the State: waiting for other PR State: The PR requires another PR to be merged first label Jul 25, 2018
@cladmi cladmi added this to the Release 2018.07 milestone Jul 25, 2018
@cladmi cladmi force-pushed the pr/make/newlib/fix_trailing_slash/and/cleanup branch from fa7082a to 14a8b10 Compare August 2, 2018 17:31
@miri64 miri64 added State: waiting for other PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Oct 5, 2018
This does prevents adding '-isystem' with nothing after which makes the next
item in the list `-I/path/RIOT/core/include` considered as an include directory
with the '-I' in the path.
@cladmi cladmi force-pushed the pr/make/newlib/fix_trailing_slash/and/cleanup branch from 14a8b10 to 87aba27 Compare October 17, 2018 14:46
@cladmi cladmi added the Type: tracking The issue tracks and organizes the sub-tasks of a larger effort label Feb 5, 2019
@kb2ma kb2ma removed this from the Release 2019.10 milestone Oct 8, 2019
@miri64
Copy link
Member

miri64 commented Jun 23, 2020

@fjmolinas Do you have this on your radar?

@fjmolinas
Copy link
Contributor

@fjmolinas Do you have this on your radar?

Not really, I'm not familiar with newlib. I can but it on the todo list, but will not have time for a while.

@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 22, 2021
@MrKevinWeiss MrKevinWeiss removed this from the Release 2021.07 milestone Jul 15, 2021
@Teufelchen1
Copy link
Contributor

Ping @fjmolinas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: build system Area: Build system State: waiting for other PR State: The PR requires another PR to be merged first State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Type: tracking The issue tracks and organizes the sub-tasks of a larger effort
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants