Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RO1Uk-0007Hg-K5 for mharc-grub-devel@gnu.org; Wed, 09 Nov 2011 01:18:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO1Uh-0007Ge-U1 for grub-devel@gnu.org; Wed, 09 Nov 2011 01:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO1Ug-0005rI-Do for grub-devel@gnu.org; Wed, 09 Nov 2011 01:18:43 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:59770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO1Ug-0005r3-24 for grub-devel@gnu.org; Wed, 09 Nov 2011 01:18:42 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pA96Id70009089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 9 Nov 2011 06:18:40 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pA96Ico7020081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 9 Nov 2011 06:18:39 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pA96IXlL002183 for ; Wed, 9 Nov 2011 00:18:33 -0600 Received: from bergsoft (/10.132.136.136) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Nov 2011 22:18:33 -0800 Date: Tue, 8 Nov 2011 22:17:12 -0800 (PST) From: Seth Goldberg X-X-Sender: sethg@bergsoft To: The development of GNU GRUB Subject: Re: 64-bit UEFI build is broken In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090206.4EBA1B40.00C1,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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 06:18:45 -0000 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=-m64" to the configure line allowed the build to finish without errors (though I'm not sure if that's the proper fix). --S Quoting Seth Goldberg, who wrote the following on Tue, 8 Nov 2011: > > Latest trunk (Linux host, configured with "--target=x86_64 > --with-platform=efi") stops while building btrfs: > > gcc -E -DGRUB_LST_GENERATOR -Dgrub_fs_register=FS_LIST_MARKER > -Dgrub_video_register=VIDEO_LIST_MARKER > -Dgrub_parttool_register=PARTTOOL_LIST_MARKER > -Dgrub_partition_map_register=PARTMAP_LIST_MARKER > '-Dgrub_term_register_input(...)=INPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' > '-Dgrub_term_register_output(...)=OUTPUT_TERMINAL_LIST_MARKER(__VA_ARGS__)' > '-Dgrub_register_command(...)=COMMAND_LIST_MARKER(__VA_ARGS__)' > '-Dgrub_register_extcmd(...)=EXTCOMMAND_LIST_MARKER(__VA_ARGS__)' > '-Dgrub_register_command_p1(...)=P1COMMAND_LIST_MARKER(__VA_ARGS__)' > -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include > -I../include -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI -nostdinc > -isystem /usr/lib/gcc/i686-linux-gnu/4.6.1/include -DGRUB_FILE=\"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 ../../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 >