tests / pkg: fixes for toolchain changes in docker container [backport 2021.01]#16140
Merged
fjmolinas merged 4 commits intoRIOT-OS:2021.01-branchfrom Mar 4, 2021
Conversation
Contributor
Author
Member
|
Can you please adopt OP to reflect that this is a combination of backports |
Member
|
And would have been nice to keep the authorship of the original commit. |
Member
|
#16042 is still missing btw. |
Contributor
Author
it was me, so no problem :) |
Member
Got confused, since the wakaama commit was missing ;-). |
miri64
previously approved these changes
Mar 3, 2021
Member
miri64
left a comment
There was a problem hiding this comment.
ACK. Confirmed that this aggregates the backported PRs.
Member
|
Oh no... we might need to backport #16132 as well 🙈 |
Member
|
See #16142 |
This warning is triggered with gcc 10 on riscv and make the build to fail (cherry picked from commit a51df1f)
This warning is triggered on gcc 10 with riscv and makes the build to fail (cherry picked from commit f515036)
(cherry picked from commit 2e34881)
Drop included of unused header file that caused conflict with the new toolchain
58d753d to
676d1c3
Compare
Contributor
Author
|
rebased on top of latest release branch (that now includes #16142) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #15966, #15964, and #16042
Contribution description
This PR silences 2 warning raised when building with gcc 10 on riscv:
tests/sspallocates on purpose a buffer too small but this is catched by the compiler as array-bound warning. Similar to the stringop-overflow warning, the array-bound warning is silenced if it's available in the compiler.Testing procedure
tests/pkg_cn-cbor
tests/ssp
Issues/PRs references
Must be fixed before RIOT-OS/riotdocker#131 is merged and deployed on Murdock workers.