Re: GJournal (hopefully) final patches.

From: Markus Trippelsdorf <markus_at_trippelsdorf.de>
Date: Tue, 8 Aug 2006 23:41:16 +0200
On Tue, Aug 08, 2006 at 11:02:11PM +0200, Markus Trippelsdorf wrote:
> On Tue, Aug 08, 2006 at 09:52:02PM +0200, Pawel Jakub Dawidek wrote:
> > 
> > I'm pleased to announce hopefully the final gjournal patches.
> ...
> > 
> > Patches for 6-STABLE:
> > 
> > 	http://people.freebsd.org/~pjd/patches/gjournal6_20060808.patch
> > 
> > To apply the patches:
> > 
> > 	# cd /usr/src
> > 	# mkdir sys/geom/journal sbin/geom/class/journal sys/modules/geom/geom_journal
> > 	# patch < gjournal_20060808.patch
> > 
> > Now you need to recompile the world and the kernel. Remember to add
> > 'options UFS_GJOURNAL' to your kernel configuration file.
> 
> It does not compile with -Werror on my AMD64 system running STABLE:
> 
> cc -O2 -pipe -march=k8 -DRESCUE -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 -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/bin/test/test.c
> /usr/src/sbin/fsck_ffs/gjournal.c: In function `gjournal_check':
> /usr/src/sbin/fsck_ffs/gjournal.c:717: warning: dereferencing type-punned pointer will break strict-aliasing rules
> *** Error code 1
Adding -fno-strict-aliasing to the CFLAGS of sbin/fsck_ffs/Makefile
solved the problem for now.

-- 
Markus
Received on Tue Aug 08 2006 - 19:41:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC