From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eyYE4-0002yY-TT for mharc-grub-devel@gnu.org; Wed, 21 Mar 2018 03:32:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyYE2-0002yM-2y for grub-devel@gnu.org; Wed, 21 Mar 2018 03:31:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyYE1-0003fh-6x for grub-devel@gnu.org; Wed, 21 Mar 2018 03:31:58 -0400 Received: from mail.gw90.de ([2a01:4f8:140:71f5::3]:60904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eyYE0-0003fH-Vs for grub-devel@gnu.org; Wed, 21 Mar 2018 03:31:57 -0400 Received: from [2a02:8109:b5c0:430e:fa51:1615:7b90:1d1b] (helo=mattotaupa) by mail.gw90.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eyYDz-0002ae-VD for grub-devel@gnu.org; Wed, 21 Mar 2018 07:31:56 +0000 Message-ID: <1521617508.7171.729.camel@users.sourceforge.net> Subject: ./include/grub/gpt_partition.h:79:1: error: alignment 1 of =?UTF-8?Q?=E2=80=98struct?= =?UTF-8?Q?_grub=5Fgpt=5Fpartentry=E2=80=99?= is less than 8 [-Werror=packed-not-aligned] From: Paul Menzel To: grub-devel@gnu.org Date: Wed, 21 Mar 2018 08:31:48 +0100 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RMIUJwDTehv8fC8b3wm2" X-Mailer: Evolution 3.26.5-1+b1 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f8:140:71f5::3 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 07:31:59 -0000 --=-RMIUJwDTehv8fC8b3wm2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear GRUB folks, Building GRUB=E2=80=99s master branch with GCC 8 shows the error below. ``` $ gcc-8 --version | head -1 gcc-8 (Debian 8-20180320-1) 8.0.1 20180320 (experimental) [trunk revision 2= 58670] $ git log --oneline -1 e2faabacf ieee1275: split up grub_machine_get_bootlocation $ ./autogen.sh $ ./configure --with-platform=3Dcoreboot --enable-boot-time CC=3Dgcc-8 $ make [=E2=80=A6] gcc-8 -DHAVE_CONFIG_H -I. -Wall -W -DGRUB_UTIL=3D1 -D_FILE_OFFSET_BITS=3D6= 4 -I./include -DGRUB_FILE=3D\"grub-core/disk/ldm.c\" -I. -I. -I. -I. -I./in= clude -I./include -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnul= ib -I./grub-core/gnulib -D_FILE_OFFSET_BITS=3D64 -Wall -W -Wshadow -Wpointe= r-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdis= abled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat= -security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplici= t-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wpare= ntheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wt= rigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunus= ed-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-ext= erns -Wstrict-prototypes -Wcast-align -Wextra -Wattributes -Wendif-labels = -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializer= s -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvari= adic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-include-dirs -= Wmissing-prototypes -Wmissing-declarations -Wformat=3D2 -Werror -Wno-undef= -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -= Wno-unreachable-code -Wno-conversion -MT grub-core/disk/libgrubkern_a-ldm.= o -MD -MP -MF grub-core/disk/.deps-util/libgrubkern_a-ldm.Tpo -c -o grub-co= re/disk/libgrubkern_a-ldm.o `test -f 'grub-core/disk/ldm.c' || echo './'`gr= ub-core/disk/ldm.c In file included from grub-core/disk/ldm.c:26: ./include/grub/gpt_partition.h:79:1: error: alignment 1 of =E2=80=98struct = grub_gpt_partentry=E2=80=99 is less than 8 [-Werror=3Dpacked-not-aligned] } GRUB_PACKED; ^ ``` Thanks, Paul --=-RMIUJwDTehv8fC8b3wm2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQ8+w9d414FAVARIpk9fVorbA4dWAUCWrIKZQAKCRA9fVorbA4d WJ9IAJ9FdI7Q1fZDPhJOdbD1mtbmiOaLJgCfZyAySz9Gh0FD/fossHkBvT6uKNE= =AsI0 -----END PGP SIGNATURE----- --=-RMIUJwDTehv8fC8b3wm2--