-
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
zfs build warnings #12167
Comments
Can't reproduce. It would probably be helpful if you hadn't deleted the field for "what OS and version did I do this on", and whether you're using a non-default compiler or CFLAGS. |
Oddly, current Clang 13 doesn't see this |
Oh, this is just a really obtuse recursive truncation warning that GCC 8 sees, I'll include this in some patchset soon |
Passes (except for one zstd line) clang 13 with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Closes openzfs#12167
Passes (except for one zstd line) current clang 13 and GCC 10.2.1-6 with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Passes (except for one zstd line) Linux on clang 13 and GCC 10.2.1-6 and FreeBSD 13 (clang 11) with -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Werror Module sources with ARGSUSED also grew a -Werror=unused-parameter Also, remove libefi's efi_type(): its only user is also rmformat, what it returns is only remotely relevant on Solaris, it never had any code, and its return value is just wrong Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes openzfs#12167
Last master
|
|
I don't see those with the apparently same gcc on CentOS 8 (from gcc-toolset-10) with f3678d7, with or without Could you please include:
|
commit 4357552 . Centos Stream. All updates. Sunny Bridge CPU 2960 v1
|
This issue can be reproduced using latest master in @slavonnet Those warnings can be safely ignored. Feel free to apply 6c4ccfb to see if it helped you.
Lines 233 to 235 in 10271af
zfs/cmd/zpool_influxdb/zpool_influxdb.c Lines 279 to 283 in 10271af
|
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes #12167 Closes #13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
New `zfs_type_t` value `ZFS_TYPE_INVALID` is introduced. Variable initialization is now possible to make GCC happy. Reviewed by: Brian Behlendorf <[email protected]> Signed-off-by: szubersk <[email protected]> Closes openzfs#12167 Closes openzfs#13103
last master repo checkout
The text was updated successfully, but these errors were encountered: