-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Release build fails with clang10 on Linux 5.6 #10279
Comments
12 tasks
Thank you, I confirm that it's compiling correctly now. |
behlendorf
pushed a commit
that referenced
this issue
May 4, 2020
Usage of this variable uninitialized triggers -Werror,-Wuninitialized when compiled under clang for linux kernel 5.6, leading the build system to believe that the function is not declared. This commit initializes the variable to suppress the warning and fix the build for kernel 5.6 with clang. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Hiếu Lê <leorize+oss@disroot.org> Closes #10279 Closes #10281
as-com
pushed a commit
to as-com/zfs
that referenced
this issue
Jun 20, 2020
Usage of this variable uninitialized triggers -Werror,-Wuninitialized when compiled under clang for linux kernel 5.6, leading the build system to believe that the function is not declared. This commit initializes the variable to suppress the warning and fix the build for kernel 5.6 with clang. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Hiếu Lê <leorize+oss@disroot.org> Closes openzfs#10279 Closes openzfs#10281 (cherry picked from commit 3e5d41d)
jsai20
pushed a commit
to jsai20/zfs
that referenced
this issue
Mar 30, 2021
Usage of this variable uninitialized triggers -Werror,-Wuninitialized when compiled under clang for linux kernel 5.6, leading the build system to believe that the function is not declared. This commit initializes the variable to suppress the warning and fix the build for kernel 5.6 with clang. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Hiếu Lê <leorize+oss@disroot.org> Closes openzfs#10279 Closes openzfs#10281
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System information
Describe the problem you're observing
Building with clang10 fails with the errors noted below.
Patches used:
5.5 and 5.6 compat patches mentioned here: #9961 (comment)
clang compat patches mentioned here: #10107
Include any warning/errors/backtraces from the system logs
Let me know if you need more info.
The text was updated successfully, but these errors were encountered: