newfs_nandfs compile error 11-STABLE
Ronald Klop
ronald-lists at klop.ws
Wed Apr 5 11:01:46 UTC 2017
Hi,
I'm building 11-STABLE for SHEEVAPLUG on a 12-CURRENT/amd64.
I get this compile error.
How can I resolve this without a clean build? I would like to prevent
recompiling llvm for 12 hours.
--- newfs_nandfs.o ---
cc -O -pipe -g -MD -MF.depend.newfs_nandfs.o -MTnewfs_nandfs.o
-std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch
-Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wold-style-definition
-Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Qunused-arguments -c /usr/src-arm/sbin/newfs_nandfs/newfs_nandfs.c -o
newfs_nandfs.o
/usr/src-arm/sbin/newfs_nandfs/newfs_nandfs.c:543:11: error: taking
address of packed member 'f_uuid' of class or structure 'nandfs_fsdata'
may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
uuidgen(&fsdata.f_uuid, 1);
^~~~~~~~~~~~~
1 error generated.
*** [newfs_nandfs.o] Error code 1
make[4]: stopped in /usr/src-arm/sbin/newfs_nandfs
1 error
make[4]: stopped in /usr/src-arm/sbin/newfs_nandfs
*** [all_subdir_sbin/newfs_nandfs] Error code 2
Do I have to clean and rebuild some specific library?
Or something else?
Regards,
Ronald.
More information about the freebsd-arm
mailing list