-
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
openthread: does not build on current Arch #10809
Comments
This is caused by new warnings in GCC 8.1. This upstream PR may have fixed it: openthread/openthread#2944 |
Is this still the case ? Using arm gcc 9.2.1 it builds just fine. |
I did not get that error, but now I get
Current setup (but same system, just 1.5 years later):
The upstream bug might have been fixed with 4f83dfd |
I got the same building error as mentioned in the latest comment by @miri64 . I tried compiling examples/openthread on:
Update (tested on Ubuntu):
|
I'm just updating my arch. I will see how it goes |
I cannot reproduce the issue. |
@jia200x sorry, I updated my comment shortly after posting:
I'm using the latest master commit, i.e. 6b573b9. |
I suspect this is caused by mixing OpenThread and RIOT includes when building the OpenThread pkg. I will see if I can find a workaround |
@goldroom does it stop building during the compile phase of the pkg? ( |
|
@goldroom could you try the following patch in your RIOT repo? https://gist.github.com/jia200x/485b0f7264aa13b328b7a504b9f452de |
@jia200x this patch fixed it. Now it's also building successfully with |
great! |
Builds fine on Alpine. Arch typically is on par with Alpine on the toolchain versions, so I think this should also work on Arch. Please re-open, if this is not correct. |
Description
When trying to build
examples/openthread
for #10599 I wasn't able to do so on my current Arch-based laptopSteps to reproduce the issue
Have a setup Arch distribution and try to compile
examples/openthread
Expected results
The application will build successfully.
Actual results
The build errors
Versions
Quite recent Arch while writing this issue (I might not have updated for 1 or 2 days or so ;-))
The text was updated successfully, but these errors were encountered: