http://bugzilla.opensuse.org/show_bug.cgi?id=1121208 Bug ID: 1121208 Summary: GCC 9: grub2 build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- [ 77s] ../grub-core/fs/jfs.c: In function 'getblk': [ 77s] ../grub-core/fs/jfs.c:300:32: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 300 | if (!grub_disk_read (data->disk, [ 77s] | ~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c: In function 'grub_jfs_read_inode': [ 77s] ../grub-core/fs/jfs.c:339:27: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 339 | if (grub_disk_read (data->disk, [ 77s] | ~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c:351:27: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 351 | if (grub_disk_read (data->disk, inoblk, 0, [ 77s] | ~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c: In function 'grub_jfs_mount': [ 77s] ../grub-core/fs/jfs.c:393:27: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 393 | if (grub_disk_read (data->disk, GRUB_JFS_FS1_INODE_BLK, 0, [ 77s] | ~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c: In function 'grub_jfs_opendir': [ 77s] ../grub-core/fs/jfs.c:467:31: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 467 | if (grub_disk_read (data->disk, blk, 0, [ 77s] | ~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c: In function 'grub_jfs_getent': [ 77s] ../grub-core/fs/jfs.c:535:37: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 535 | if (grub_disk_read (diro->data->disk, next, 0, [ 77s] | ~~~~~~~~~~^~~~~~ [ 77s] ../grub-core/fs/jfs.c:557:44: error: taking address of packed member of 'struct grub_jfs_leaf_dirent' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 557 | le_to_cpu16_copy (filename + strpos, leaf->namepart, len < diro->data->namecomponentlen ? len [ 77s] | ~~~~^~~~~~~~~~ [ 77s] ../grub-core/fs/jfs.c:570:48: error: taking address of packed member of 'struct grub_jfs_leaf_next_dirent' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 570 | le_to_cpu16_copy (filename + strpos, next_leaf->namepart, len < 15 ? len : 15); [ 77s] | ~~~~~~~~~^~~~~~~~~~ [ 77s] ../grub-core/fs/jfs.c: In function 'grub_jfs_read_file': [ 77s] ../grub-core/fs/jfs.c:629:27: error: taking address of packed member of 'struct grub_jfs_data' may result in an unaligned pointer value [-Werror=address-of-packed-member] [ 77s] 629 | grub_disk_read (data->disk, [ 77s] | ~~~~^~~~~~ [ 77s] cc1: all warnings being treated as errors and similar errors with -Werror=address-of-packed-member -- You are receiving this mail because: You are on the CC list for the bug.