From owner-freebsd-fs@FreeBSD.ORG Thu Aug 10 12:04:25 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 333E516A4DD for ; Thu, 10 Aug 2006 12:04:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2396243D60 for ; Thu, 10 Aug 2006 12:04:07 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DDDF251396; Thu, 10 Aug 2006 14:04:05 +0200 (CEST) Received: from localhost (ana50.internetdsl.tpnet.pl [83.17.82.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id BE32F51392; Thu, 10 Aug 2006 14:04:01 +0200 (CEST) Date: Thu, 10 Aug 2006 14:03:12 +0200 From: Pawel Jakub Dawidek To: Igor Robul Message-ID: <20060810120312.GC22917@garage.freebsd.pl> References: <20060809105745.GD19441@sysadm.stc> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OBd5C1Lgu00Gd/Tn" Content-Disposition: inline In-Reply-To: <20060809105745.GD19441@sysadm.stc> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: gjournal compilation failure X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 12:04:25 -0000 --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--