-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Status: StaleNo recent activity for issueNo recent activity for issueType: ArchitectureIndicates an issue is specific to a single processor architectureIndicates an issue is specific to a single processor architectureType: BuildingIndicates an issue related to building binariesIndicates an issue related to building binariesType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Debian |
| Distribution Version | 11.4 |
| Kernel Version | 5.10.0-16-arm64 |
| Architecture | AArch64 |
| OpenZFS Version | 947465b |
Describe the problem you're observing
Given the interest in being -Werror-clean, I thought this was worth reporting after seeing it while testing #13741:
lib/libzfs/libzfs_dataset.c: In function ‘zfs_rename’:
lib/libzfs/libzfs_dataset.c:4416:1: note: parameter passing for argument of type ‘renameflags_t’ {aka ‘struct renameflags’} changed in GCC 9.1
4416 | zfs_rename(zfs_handle_t *zhp, const char *target, renameflags_t flags)
| ^~~~~~~~~~
CC lib/libzfs/os/linux/libzfs_la-libzfs_mount_os.lo
CC lib/libzfs/os/linux/libzfs_la-libzfs_pool_os.lo
lib/libzfs/libzfs_pool.c: In function ‘zpool_valid_proplist’:
lib/libzfs/libzfs_pool.c:453:1: note: parameter passing for argument of type ‘prop_flags_t’ {aka ‘struct prop_flags’} changed in GCC 9.1
453 | zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname,
| ^~~~~~~~~~~~~~~~~~~~
lib/libzfs/libzfs_dataset.c: In function ‘zfs_rename’:
lib/libzfs/libzfs_dataset.c:4416:1: note: parameter passing for argument of type ‘renameflags_t’ {aka ‘struct renameflags’} changed in GCC 9.1
4416 | zfs_rename(zfs_handle_t *zhp, const char *target, renameflags_t flags)
| ^~~~~~~~~~
CC lib/libzfs/os/linux/libzfs_la-libzfs_util_os.lo
CC lib/libshare/libshare_la-libshare.lo
lib/libzfs/libzfs_pool.c: In function ‘zpool_valid_proplist’:
lib/libzfs/libzfs_pool.c:453:1: note: parameter passing for argument of type ‘prop_flags_t’ {aka ‘struct prop_flags’} changed in GCC 9.1
453 | zpool_valid_proplist(libzfs_handle_t *hdl, const char *poolname,
| ^~~~~~~~~~~~~~~~~~~~
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Describe how to reproduce the problem
Build without --enable-debug. (I presume --enable-debug will also do this, but that's not what I was doing.)
Include any warning/errors/backtraces from the system logs
Above.
Metadata
Metadata
Assignees
Labels
Status: StaleNo recent activity for issueNo recent activity for issueType: ArchitectureIndicates an issue is specific to a single processor architectureIndicates an issue is specific to a single processor architectureType: BuildingIndicates an issue related to building binariesIndicates an issue related to building binariesType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)