Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 23:02:11 +0200
From:      Markus Trippelsdorf <markus@trippelsdorf.de>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   Re: GJournal (hopefully) final patches.
Message-ID:  <20060808210211.GA730@bsd.trippelsdorf.de>
In-Reply-To: <20060808195202.GA1564@garage.freebsd.pl>
References:  <20060808195202.GA1564@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
Markus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808210211.GA730>