-
Notifications
You must be signed in to change notification settings - Fork 2k
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
make: Enable the all-debug build target to be available for all boards #4413
make: Enable the all-debug build target to be available for all boards #4413
Conversation
@@ -3,6 +3,10 @@ | |||
|
|||
all: | |||
|
|||
all-debug: export CFLAGS += -g -O0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think adding -gdwarf-3
(4 and 5 are not supported by all distributions yet) would be nice to resolve macros to values :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, if someone doesn't agree we'll find another solution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I seem to remember that there was a problem with DWARF on iotlab-m3 way back. @thomaseichinger do you remember what it was and if this is still an issue?
Apparently there is some kind of problem:
vs.
|
Maybe the dwarf support? |
Hm, nope, it's failing here if I remove the |
the problem could be that when building with the proposed change the CFLAGS for msp contains |
it seems to be the combination of |
let me revoke my statement. It's the |
Lol, that you don't see often. No optimalization breaking the code ;)
|
Waits for #4954 |
Unfortunately I don't think we will find a solution for #4954 today. |
Well, the question is whether we should merge anyways? Currently, the cc430 with no optimization is broken on master, not because of this PR |
But this PR makes it much more likely that someone does so. |
@DipSwitch can you selectively ignore the |
9ea876c
to
6657fd9
Compare
6657fd9
to
05b1968
Compare
Ok, something went wrong with the rebase... but something like this? |
Please rebase. Do this make some difference for our CI? |
I think the problem for MSP platforms still exist. |
mmm... I'm thinking about maybe organise the PRs on what's the problem and put them into a github project? Then we can choose a shepherd to put some efforts on solve the common problem on the PRs present on such project and then try to merge them faster... Too much thinking for today xD |
In general this sounds like a good idea - assuming that we have enough "common problems". |
postponed several times without progress, hence remove milestone. |
No significant progress for over a year. Closing as memo for now. |
Followup for #4188, make the
all-debug
target available to all boards so the build targets are consistent on all targets.