From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xduja-0008PG-3R for mharc-grub-devel@gnu.org; Tue, 14 Oct 2014 01:33:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdujX-0008PA-PK for grub-devel@gnu.org; Tue, 14 Oct 2014 01:33:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdujW-000099-Lo for grub-devel@gnu.org; Tue, 14 Oct 2014 01:33:19 -0400 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:39844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdujW-000093-Gq for grub-devel@gnu.org; Tue, 14 Oct 2014 01:33:18 -0400 Received: by mail-qg0-f41.google.com with SMTP id a108so881165qge.14 for ; Mon, 13 Oct 2014 22:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=6GtsDQrywWkXlipLNeQz15x8+i0q8Hw7U5/5ach5fTs=; b=c5hyaaxCXdwdGAHGERAenCU866l05I2DI8QIj2i00gQoaKHx5NbySBcrHDobrcbD1E ATylZzsZwowYFkwZcL4Ig2SHimAR3NC8CQb8YRRPablMfFWBRCjBkN4F46NMfsrbeW/B Xl07Zp0PD7renRUI7FZ5u+QpOlfHiFKBgS4kvIQy3dVIW+0Y7EiIa7JJuVELzA7SD6hL inBACU8/DVS933oRnfWba5G718E2AErQd/Mk8SXLxALjdNkhVeOFGM82o00XG8R3XmxA 5OOmMKpwTKgtXD29zUKri2AI4Wbqom05lhDIkUIky3HHfmbdleKqzOtGf+IWtT5Yp0xi hNSw== MIME-Version: 1.0 X-Received: by 10.140.28.133 with SMTP id 5mr4303639qgz.63.1413264798017; Mon, 13 Oct 2014 22:33:18 -0700 (PDT) Received: by 10.140.225.136 with HTTP; Mon, 13 Oct 2014 22:33:17 -0700 (PDT) In-Reply-To: <543C8E49.9000303@gluglug.org.uk> References: <543C8E49.9000303@gluglug.org.uk> Date: Tue, 14 Oct 2014 09:33:17 +0400 Message-ID: Subject: Re: build issue with 631a820: missing initialiser [-Werror=missing-field-initializers] From: Andrei Borzenkov To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::229 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: Tue, 14 Oct 2014 05:33:20 -0000 On Tue, Oct 14, 2014 at 6:45 AM, The Gluglug wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Here is how I try to build GRUB (to be used as a coreboot payload): > > git clone git://git.savannah.gnu.org/grub.git > cd grub > ./autogen.sh > ./configure --with-platform=3Dcoreboot > make > > Usually this works, but recently I get this error: > > loader/i386/pc/linux.c: In function =E2=80=98grub_cmd_initrd=E2=80=99: > loader/i386/pc/linux.c:391:10: error: missing initialiser > [-Werror=3Dmissing-field-initializers] > loader/i386/pc/linux.c:391:10: error: (near initialisation for > =E2=80=98initrd_ctx.components=E2=80=99) [-Werror=3Dmissing-field-initial= izers] Hmm ... it builds fine here, with gcc 4.8. What compiler and version? > cc1: all warnings being treated as errors > make[3]: *** [loader/i386/pc/linux16_module-linux.o] Error 1 > make[3]: Leaving directory `/home/user/libreboot/grub/grub-core' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/user/libreboot/grub/grub-core' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/user/libreboot/grub' > make: *** [all] Error 2 > > I tracked it down to commit 631a82003851ca68bfaf87e12be5c94e14cd2a91. > Short of reverting the commit, what is the best way to go about > solving this issue? > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (GNU/Linux) > > iQEcBAEBAgAGBQJUPI5IAAoJEP9Ft0z50c+Ug64IAMeQEmnQcj82JEBllTh1rAs7 > 2YT39SxdzUmQK2LG5Lq6yv7Soh3hgVhObHhokGrs8lEgzV4jVELkPnzIrLFG/Mqk > akOXQSUlM8ra7ZNwTW5ThlDETqQjkj98T2yL2sDXClBCm/u9FFzN6eybcM0jUIfd > pa8rW53B4snG5DOmcmjvo5VQX1Gr7WPYUGPiSuqfqlqePhsiUkea6jzMmkTwhukW > oqeyFmNrZ3VIzobhy/4wKmD104/IzLeyaaMBlWOLl4qc9/HSLJhR5i62BaqC2GAS > jEjDfO0uvrE7C24St902lBezCPxyB11lhZEU18uy/KA1BY08C2Ie0qmHPmvaGls=3D > =3Dmk/h > -----END PGP SIGNATURE----- > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel