From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RO41N-0005W6-Im for mharc-grub-devel@gnu.org; Wed, 09 Nov 2011 04:00:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO41I-0005Q7-61 for grub-devel@gnu.org; Wed, 09 Nov 2011 04:00:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO41G-0008Jl-NH for grub-devel@gnu.org; Wed, 09 Nov 2011 04:00:32 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:55941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO41G-0008Jf-Ih for grub-devel@gnu.org; Wed, 09 Nov 2011 04:00:30 -0500 Received: by faaq16 with SMTP id q16so1822631faa.0 for ; Wed, 09 Nov 2011 01:00:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=nSWMU10Rj1LzygpDui1FNEkO9lQ53N9VAaA6I3LTTrY=; b=YaqT2AOgQVPz+McLAhrscojh2whRv/t3avKHe+3PdVCRmQoz0qXJ1OtHr9zTlVFb46 yYIytK6qWBn6C4UzG1KtKoS8jLTluO6dQbpycDtrRZ6buH8StrtZwp3tUf/s71ka8mZD DfkQk8YZeEOR2zgrrATXWVNmqlaVLoLnvIVb4= Received: by 10.223.63.206 with SMTP id c14mr3605833fai.3.1320829228047; Wed, 09 Nov 2011 01:00:28 -0800 (PST) Received: from debian.x201.phnet (gprs07.swisscom-mobile.ch. [193.247.250.7]) by mx.google.com with ESMTPS id g25sm5844743fae.16.2011.11.09.01.00.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Nov 2011 01:00:27 -0800 (PST) Message-ID: <4EBA4127.7000402@gmail.com> Date: Wed, 09 Nov 2011 10:00:23 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111010 Iceowl/1.0b2 Icedove/3.1.15 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: 64-bit UEFI build is broken References: In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3811D40A1E76348B75E79A12" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 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: Wed, 09 Nov 2011 09:00:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3811D40A1E76348B75E79A12 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09.11.2011 07:17, Seth Goldberg wrote: > Hi, > > Just a followup -- it appears that the root cause is a missing > "-m64" -- since the compilation for this platform should be done with > -m64, the preprocessing done for .lst generation should also be done > with that cflag, otherwise (at least in this case), the library gets > confused. > > Adding 'TARGET_CPPFLAGS=3D-m64" to the configure line allowed the buil= d > to finish without errors (though I'm not sure if that's the proper fix)= =2E > =20 You're right. This is the problem. > > --S > > Quoting Seth Goldberg, who wrote the following on Tue, 8 Nov 2011: > >> >> Latest trunk (Linux host, configured with "--target=3Dx86_64 >> --with-platform=3Defi") stops while building btrfs: >> >> gcc -E -DGRUB_LST_GENERATOR -Dgrub_fs_register=3DFS_LIST_MARKER >> -Dgrub_video_register=3DVIDEO_LIST_MARKER >> -Dgrub_parttool_register=3DPARTTOOL_LIST_MARKER >> -Dgrub_partition_map_register=3DPARTMAP_LIST_MARKER >> '-Dgrub_term_register_input(...)=3DINPUT_TERMINAL_LIST_MARKER(__VA_ARG= S__)' >> '-Dgrub_term_register_output(...)=3DOUTPUT_TERMINAL_LIST_MARKER(__VA_A= RGS__)' >> '-Dgrub_register_command(...)=3DCOMMAND_LIST_MARKER(__VA_ARGS__)' >> '-Dgrub_register_extcmd(...)=3DEXTCOMMAND_LIST_MARKER(__VA_ARGS__)' >> '-Dgrub_register_command_p1(...)=3DP1COMMAND_LIST_MARKER(__VA_ARGS__)'= >> -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include >> -I../include -DGRUB_MACHINE_EFI=3D1 -DGRUB_MACHINE=3DX86_64_EFI >> -nostdinc -isystem /usr/lib/gcc/i686-linux-gnu/4.6.1/include >> -DGRUB_FILE=3D\"fs/btrfs.c\" -I. -I../../grub-core -I.. -I../.. >> -I../../include -I../include -I../../grub-core/lib/posix_wrap >> -I../../grub-core/lib/minilzo -DMINILZO_HAVE_CONFIG_H =20 >> ../../grub-core/fs/btrfs.c ../../grub-core/lib/crc.c >>> btrfs.marker.new || (rm -f btrfs.marker; exit 1) >> In file included from ../../grub-core/lib/minilzo/lzoconf.h:75:0, >> from ../../grub-core/lib/minilzo/minilzo.h:60, >> from ../../grub-core/fs/btrfs.c:29: >> ../../grub-core/lib/minilzo/lzodefs.h:849:6: error: #error "this >> should not happen" >> make[3]: *** [btrfs.marker] Error 1 >> >> >> It's not expecting sizeof(ulong_t) to exceed 32-bits. >> >> --S >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >> > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig3811D40A1E76348B75E79A12 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.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk66QScACgkQNak7dOguQgnwbAEAiWgEESb9WJRi8rhf+4r0gG1N SIKmvUvmrSHvIAU2+zkA/jAPOp6k5D1koXpooBi3f7aNQ6PXbRDOPBYT2f9iYd4v =UEe2 -----END PGP SIGNATURE----- --------------enig3811D40A1E76348B75E79A12--