-
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
riscv: fix tests/pkg_wolfssl and tests/lwip_gnrc_udp when building with default options [backport 2019.10] #12524
Merged
miri64
merged 2 commits into
RIOT-OS:2019.10-branch
from
aabadie:backport/2019.10/pr/riscv_fix_build
Oct 21, 2019
Merged
riscv: fix tests/pkg_wolfssl and tests/lwip_gnrc_udp when building with default options [backport 2019.10] #12524
miri64
merged 2 commits into
RIOT-OS:2019.10-branch
from
aabadie:backport/2019.10/pr/riscv_fix_build
Oct 21, 2019
Conversation
This file contains 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
aabadie
added
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
CI: run tests
If set, CI server will run tests on hardware for the labeled PR
Platform: RISC-V
Platform: This PR/issue effects RISC-V-based platforms
Process: release backport
Integration Process: The PR is a release backport of a change previously provided to master
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
labels
Oct 21, 2019
Needs rebase. |
miri64
previously approved these changes
Oct 21, 2019
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.
Other than that: Changes are identical to #12502. ACK
aabadie
force-pushed
the
backport/2019.10/pr/riscv_fix_build
branch
from
October 21, 2019 09:28
57329f3
to
74e8275
Compare
rebased |
miri64
approved these changes
Oct 21, 2019
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.
Still the same. Re-ACK.
80 tasks
80 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
CI: run tests
If set, CI server will run tests on hardware for the labeled PR
Platform: RISC-V
Platform: This PR/issue effects RISC-V-based platforms
Process: release backport
Integration Process: The PR is a release backport of a change previously provided to master
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
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 #12502
Contribution description
This PR is an attempt to get a working build on hifive1/hifive1b boards with tests/pkg_wolfssl and tests/lwip_gnrc_udp applications. The failures were reported in RIOT-OS/Release-Specs#140 (comment) and RIOT-OS/Release-Specs#140 (comment).
For the wolfssl test application, removing the optimization flash from the debug flags of the toolchain fixed the issue.
For the lwip_gnrc_udp, I'm less sure of the fix because I have to admit I don't really understand the error message. Disabling any GCC optimizations on the problematic functions fix the build issue. But maybe there's an option that would be better ? Any better suggestion is welcome (I also set the RFC label because of this)
Since this PR is touching the RISV toolchain options, it may have other impacts I didn't think of.
Testing procedure
At least the 2 related applications should still work.
But better test all applications on hifive1.(the fixes are more localized now /@miri64)Issues/PRs references
Reported in RIOT-OS/Release-Specs#140