-
Notifications
You must be signed in to change notification settings - Fork 24
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
building on RPi4 and buster gets compiler errors; but completes! #112
Comments
Update: On Arm (i.e. RPi) the
There's also some good posts about using
This is a bit more fine grained; but like all of this; it's highly dependent on the GCC version (and the architecture being used, i.e. Arm). Plus ... it does not work on the specific setup I have (contrary to the online manuals). So only 1/2 a solution really. [1] nlohmann/json#658 & https://redmine.named-data.net/issues/5106 & others |
The notes are not harmful, but annoying. Disabling -Wpsabi is not ideal, but in this case the problem is with the ABIs of libraries libpredict is linking with, and AFAICT it's not affecting libpredict's own ABI. My idea would be something like this:
And then for relevant targets:
We can use the test case for GCC bug 77738, or maybe 80149 is better. |
The issue that This prompts me to ask ... could the vector code be written in a different way in order to avoid this warming and hence know that this won't be a compiler issue independent of compiler version? |
Using the latest g++ on RPi4 ...
Produces 1200+ make error log file. However, it all comes down to these few errors:
I feel this is a. deep in the code one line fix; however, with 1200+ lines of make error log file; it could be easier for someone else to see this issue.
The
cmake
output is:The text was updated successfully, but these errors were encountered: