Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 14:03:12 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Igor Robul <igorr@speechpro.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: gjournal compilation failure
Message-ID:  <20060810120312.GC22917@garage.freebsd.pl>
In-Reply-To: <20060809105745.GD19441@sysadm.stc>
References:  <20060809105745.GD19441@sysadm.stc>

next in thread | previous in thread | raw e-mail | index | archive | help

--OBd5C1Lgu00Gd/Tn
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Aug 09, 2006 at 02:57:45PM +0400, Igor Robul wrote:
> Hello,=20
>=20
> I have just tried to compile world with latest gjournal patch, and I got
>=20
> 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.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--OBd5C1Lgu00Gd/Tn
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFE2yCAForvXbEpPzQRApA0AKCGmzZKNzMAbne2bplOXWF5sAX2tQCgjVFb
0+vk43Le2SAvA+W0fXFygyQ=
=DWxd
-----END PGP SIGNATURE-----

--OBd5C1Lgu00Gd/Tn--



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