From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Vckrk-0007Bi-GD for mharc-grub-devel@gnu.org; Sat, 02 Nov 2013 19:44:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vckre-0007BF-F8 for grub-devel@gnu.org; Sat, 02 Nov 2013 19:44:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VckrX-0006t5-Lo for grub-devel@gnu.org; Sat, 02 Nov 2013 19:44:22 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:38646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VckrX-0006sv-AX for grub-devel@gnu.org; Sat, 02 Nov 2013 19:44:15 -0400 Received: by mail-ea0-f180.google.com with SMTP id l9so2228573eaj.39 for ; Sat, 02 Nov 2013 16:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=i5185iFvXaO0lBzBYMSSAU5UEIz9qhjJMxPpNEJQRi4=; b=mLSIeDR/tmi9ls3/x08EtNp8kyfAKGi5dHaZOwEhvLctYhpbDbC79BcToDVZuwNKps 3yZ+sxgHhc1/HwKKOoww8pgk49UBhvu/q9vbM5XjlG6m1yKGxlYwMxgFiycXHjqaFdpB bNfCsrmscC7i0f/SMh978pa0leN/13K11f8ibaBszIu7Dn9QK7EbYiCLCZB+SG4LzaNZ jxL33YggicMDSkSmrto3a6dk6ie6ZM9mDRIJfEMt16yHvyN3EPmhFrAPQVmN97Po5bsw HR3oz/WlJKLByObnEEfYkj6NSfqR/E/gkqG6N97tAKL57Mtm+QK0k2iH3fdJ2XCIh6uV V5wA== X-Received: by 10.14.113.137 with SMTP id a9mr9335478eeh.3.1383435854451; Sat, 02 Nov 2013 16:44:14 -0700 (PDT) Received: from [192.168.1.16] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id e13sm26402513eeu.4.2013.11.02.16.44.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Nov 2013 16:44:13 -0700 (PDT) Message-ID: <52758E4C.6090608@gmail.com> Date: Sun, 03 Nov 2013 00:44:12 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: Fwd: [grub-devel] error when compiling getroot References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2UODIAUAEGOFPPGJIFHDG" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::234 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 23:44:27 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UODIAUAEGOFPPGJIFHDG Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Fix committed, thanks for reporting this. On 02.11.2013 22:14, Javier Vasquez wrote: > I'm getting the following error when compiling from latest git repo > (e7b66a28de17b085a9b71d6c500b0b139e94d818) on mipsel (loongson-2f): >=20 > gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=3D1 > -DGRUB_LIBDIR=3D\"/usr/lib/grub\" -DLOCALEDIR=3D\"/usr/share/locale\" > -DGRUB_FILE=3D\"grub-core/osdep/getroot.c\" -I. -I. -I. -I. -I./include= > -I./include -I./grub-core/lib/libgcrypt-grub/include > -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnulib > -I./grub-core/gnulib -Wall -W -Wshadow > -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Wattributes > -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations > -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wfloat-equal > -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit > -Wimplicit-function-declaration -Wimplicit-int -Winit-self > -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces > -Wmissing-field-initializers -Wmissing-format-attribute -Wmultichar > -Wnonnull -Woverflow -Wparentheses -Wpointer-arith > -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow > -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef > -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label > -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros > -Wvolatile-register-var -Wwrite-strings -Wnested-externs > -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef > -Wno-sign-compare -Wno-unused -Wno-unused-parameter > -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion > -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT > grub-core/osdep/libgrubkern_a-getroot.o -MD -MP -MF > grub-core/osdep/.deps-util/libgrubkern_a-getroot.Tpo -c -o > grub-core/osdep/libgrubkern_a-getroot.o `test -f > 'grub-core/osdep/getroot.c' || echo './'`grub-core/osdep/getroot.c > In file included from grub-core/osdep/getroot.c:2:0: > grub-core/osdep/linux/getroot.c: In function ?get_btrfs_fs_prefix?: > grub-core/osdep/linux/getroot.c:317:10: error: cast increases required > alignment of target type [-Werror=3Dcast-align] > nid =3D (grub_uint64_t *) (sargs.buf + 16); > ^ > grub-core/osdep/linux/getroot.c:319:9: error: cast increases required > alignment of target type [-Werror=3Dcast-align] > br =3D (struct grub_btrfs_root_backref *) (sargs.buf + 32); > ^ > grub-core/osdep/linux/getroot.c:345:10: error: cast increases required > alignment of target type [-Werror=3Dcast-align] > nid =3D (grub_uint64_t *) (sargs.buf + 16); > ^ > grub-core/osdep/linux/getroot.c:348:9: error: cast increases required > alignment of target type [-Werror=3Dcast-align] > ir =3D (struct grub_btrfs_inode_ref *) (sargs.buf + 32); > ^ > cc1: all warnings being treated as errors > make[2]: *** [grub-core/osdep/libgrubkern_a-getroot.o] Error 1 > make[2]: Leaving directory > `/home/general/download/grub/grub-e7b66a28de17b085a9b71d6c500b0b139e94d= 818' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/general/download/grub/grub-e7b66a28de17b085a9b71d6c500b0b139e94d= 818' > make: *** [all] Error 2 >=20 > Any idea? >=20 > -- > Javier. >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 ------enig2UODIAUAEGOFPPGJIFHDG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJ1jkwACgkQNak7dOguQgl9fAEAg82TE97mClVqFxSUKB9ybs4W nXraqPXeE7I8TCfxLEQA/0Fy3WQt7UUUBvXDfzHi4+rNmQ9vtATSalBTBOD1UZda =s2l1 -----END PGP SIGNATURE----- ------enig2UODIAUAEGOFPPGJIFHDG--