Skip to content
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

Fix build on FIPS-enabled systems #13

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

jeffmelville
Copy link

This merge cherry picks 1c7be35 from upstream waf (https://gitlab.com/ita1024/waf/-/issues/2213) to enable building ArduPilot on FIPS systems

See ArduPilot/ardupilot#25513

selsky and others added 12 commits August 7, 2018 11:01
we need to use relative paths and not use --enable-auto-import. The
relative paths are needed to keep paths within the severe path length
limitations of the cygwin cross-compiler for arm-none-eabi
Just convert the list by joining the elements with space. It may not be
perfect since it may explode in cases we have spaces, but it's better
than giving a list that you can't do anything with it.

By adding the error output as a command one can manually build that
single compilation unit to understand better the error and even switch
to another compile to get a better error message.
this fixes an issue with undeclared build products causing build
errors
__xrange()__ was removed in Python 3 in favor of a reworked version of __range()__.  Discovered via ArduPilot/ardupilot#10278
…#2213

(cherry picked from commit 1c7be35)
Signed-off-by: Jeff Melville <[email protected]>
@jeffmelville
Copy link
Author

#11 would supersede this MR by including the same upstream commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants