[PATCH] zfs: fix compilation failure with clang due to alignment

2015-07-03 Thread Andrei Borzenkov
I do not claim I understand why clang complains, but this patch does fix it. fs/xfs.c:452:25: error: cast from 'struct grub_xfs_btree_node *' to 'grub_uint64_t *' (aka 'unsigned long long *') increases required alignment from 1 to 8 [-Werror,-Wcast-align] grub_uint64_t *keys = (grub_

Re: [PATCH 1/2] Add powerpc little-endian (ppc64le) flags

2015-07-03 Thread Andrei Borzenkov
В Tue, 30 Jun 2015 21:34:10 +0200 "Vladimir 'phcoder' Serbinenko" пишет: > I think those flags disable only runtime libraries, not the code generation Yes, you are right. Clang seems to be built for the whole family, i.e. PowerPC, which seems to automatically include all three versions (ppc, ppc