gjournal compilation failure

Pawel Jakub Dawidek pjd at FreeBSD.org
Thu Aug 10 12:04:25 UTC 2006

On Wed, Aug 09, 2006 at 02:57:45PM +0400, Igor Robul wrote:
> Hello, 
> I have just tried to compile world with latest gjournal patch, and I got
> cc -pipe -O2  -I/usr/src/sbin/fsck_ffs -DRESCUE -Wsystem-headers -Werror
> -Wall -Wno-format-y2k -Wno-uninitialized -c
> /usr/src/sbin/fsck_ffs/gjournal.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

Is this amd64?
Markus Trippelsdorf reported this problem already. As a workaround he
added -fno-strict-aliasing to the CFLAGS of sbin/fsck_ffs/Makefile.

Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20060810/623a59ab/attachment.pgp

More information about the freebsd-fs mailing list