Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VfedK-0001nx-Ab for mharc-grub-devel@gnu.org; Sun, 10 Nov 2013 18:41:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfedB-0001no-Jc for grub-devel@gnu.org; Sun, 10 Nov 2013 18:41:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfed4-0004Wk-1i for grub-devel@gnu.org; Sun, 10 Nov 2013 18:41:25 -0500 Received: from mail-bk0-f50.google.com ([209.85.214.50]:54683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfed3-0004Wg-R5 for grub-devel@gnu.org; Sun, 10 Nov 2013 18:41:17 -0500 Received: by mail-bk0-f50.google.com with SMTP id d7so653568bkh.9 for ; Sun, 10 Nov 2013 15:41:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-type; bh=e3CeHUsDdRr27wytDi0m38BMfhEJuw5YMiTXfZkRiTE=; b=ZJObiSYKhN/Rj1kvfV4AE0wpbIt8S26gxDpDU/zVYnKiBWCq9P3y68yzRAqjJ19hg5 nga19m1SC0aXzAgcfnjIRQzxshKc7T6Xe1dmVQiRgq0zPSmn5rdxtgRI9rqtSCqlPFZh YXDrXvYhhwYuOvVQlsXciXi1TpfCEiLOzoSg00HtXB9jTX1cU7AN0iumxvS6OLXoMI2v M3yNsgiZ6r/34BJjG/HPy8KFIJu25Va0Mofg62pJEMvl75bBIH3qHLZe88948lJXCAVf G3hsVg7Tq6AVXLE8aGfj0Xg+ZxKubOia8P8UuBeEs8zJKf8PwuXaEsjWCBEZzPK7svTA +Y1A== X-Gm-Message-State: ALoCoQlTo4aMOHz8A1QgSJB3K5ZT2EeBxdh5cETb/bodXPGK2k1zWgksa2sc9zxkhziaWx0ATn+i X-Received: by 10.204.226.135 with SMTP id iw7mr19437378bkb.4.1384126876521; Sun, 10 Nov 2013 15:41:16 -0800 (PST) Received: from crass-Ideapad-Z570 (pool-108-1-192-16.herntx.dsl-w.verizon.net. [108.1.192.16]) by mx.google.com with ESMTPSA id z6sm10880819bkn.8.2013.11.10.15.41.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 10 Nov 2013 15:41:16 -0800 (PST) Date: Sun, 10 Nov 2013 17:41:06 -0600 From: Glenn Washburn To: grub-devel@gnu.org Subject: Re: grub_machine_fini definition inconsistencies Message-ID: <20131110174106.3cd41c67@crass-Ideapad-Z570> In-Reply-To: <527F7D2C.4000002@gmail.com> References: <20131110005608.000a28da@crass-Ideapad-Z570> <527F7D2C.4000002@gmail.com> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/RNIROQf7T58XQGdVu/pb4Cu"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.214.50 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: Sun, 10 Nov 2013 23:41:33 -0000 --Sig_/RNIROQf7T58XQGdVu/pb4Cu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 10 Nov 2013 13:33:48 +0100 Vladimir '=CF=86-coder/phcoder' Serbinenko wrote: > On 10.11.2013 07:56, Glenn Washburn wrote: > > I'm now getting compilation errors for platform efi. > >=20 > > /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi= /halt.c: > > In function > > =E2=80=98grub_halt=E2=80=99: /home/crass/development/bootloader/grub2-s= rc/grub.git/grub-core/lib/efi/halt.c:30:3: > > error: too few arguments to function =E2=80=98grub_machine_fini=E2=80= =99 In file > > included > > from /home/crass/development/bootloader/grub2-src/grub.git/grub-core/li= b/efi/halt.c:24:0: /home/crass/development/bootloader/grub2-src/grub.git/in= clude/grub/kernel.h:117:6: > > note: declared here > >=20 > > grub_machine_fini is defined to take one int argument in > > include/grub/kernel.h, however grub-core/lib/efi/halt.c is calling > > grub_machine_fini with no arguments. Grep has shown several such > > invocations. > >=20 > Fixed, thanks It looks like halt.c needs an #include to get GRUB_LOADER_FLAG_NORETURN. I suspect this might be needed for other files changed with the previous fix. /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi/hal= t.c:=20 In function =E2=80=98grub_halt=E2=80=99: /home/crass/development/bootloader/grub2-src/grub.git/grub-core/lib/efi/hal= t.c:3 0:22: error: =E2=80=98GRUB_LOADER_FLAG_NORETURN=E2=80=99 undeclared (first = use in this function) /home/crass/development/bootloader/grub2-src/grub.git/grub-core/l= ib/efi/halt.c:3 0:22: note: each undeclared identifier is reported only once for each function i t appears in --Sig_/RNIROQf7T58XQGdVu/pb4Cu Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJSgBmSAAoJEEPj94mUXoYsL+gH/1Q0OFu41m6APO2FmCI+Z6M/ Osm1IjCvwfWYPVdzPdmdY7HiswCcv5M6JUeeY+Ph9fm6WAvfr1qFiQZEfuJukbxC ZhsZmob3JKmstGHDoBVGFaTUJq/rFZlkCbL11rG/BaJk4WBrKxvN6XmDiIt9Rka1 txl4uo+jdivy1D+vK7EUlH5TcdGcA42LtVkYqCtSPBh43gRQgnCYlRy798+ileSb 2v5xVRjuPskaZJPXGlAQ7F8xB+ihg8gJ1vFY8OBffHWysr2moZ/ZS6RvENwD1/di At36p6duO9No5NVu1WvDWkUaB8QQACNyfiUf0J6hCxFqf+jBsydzWGAkn+U9aps= =FrD+ -----END PGP SIGNATURE----- --Sig_/RNIROQf7T58XQGdVu/pb4Cu--