Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.0.0, Lustre 2.1.0
-
None
-
RHEL 6.1
-
3
-
4625
Description
Our latest CHAOS kernel builds are based on RHEL 6.1 pre-release kernels. The kernel build system has enabled -Werror so warnings are treated as errors. Also, gcc is detecting and warning about things like unused variables and use of unitialized values. This causes several autoconf tests to fail and give false results. To fix these we can annotate unused variables with _attribute_ ((unused)) and initialize variables as needed.
I will upload a patch to gerrit to clean up the warnings. This patch may be needed to build Lustre on hyperion.