From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ERynj-0005NH-AW for mharc-grub-devel@gnu.org; Tue, 18 Oct 2005 17:15:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERyni-0005N3-0F for grub-devel@gnu.org; Tue, 18 Oct 2005 17:15:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERynh-0005Mo-Fe for grub-devel@gnu.org; Tue, 18 Oct 2005 17:15:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERynh-0005Ml-CN for grub-devel@gnu.org; Tue, 18 Oct 2005 17:15:13 -0400 Received: from [72.14.204.192] (helo=qproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ERynh-0001Vv-9l for grub-devel@gnu.org; Tue, 18 Oct 2005 17:15:13 -0400 Received: by qproxy.gmail.com with SMTP id e14so1198534qbc for ; Tue, 18 Oct 2005 14:15:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:organization:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=LXRFJ80OnRGJrsAQbGaQ/w73dq/Q4mG8s/zua3C57/snr/7G/2sOnM0xpcb/bLKgLPooLZs9qGb0FT/h0hYqc0iBmzwTM+TyJctcC/jGChybIOmBnF4ryLR1DuqLgdj+/jggIVEgtwPQoxTaJbfx8HPVOUonJ3my6TTvi0GTq38= Received: by 10.65.236.5 with SMTP id n5mr54067qbr; Tue, 18 Oct 2005 14:15:11 -0700 (PDT) Received: from ?192.168.0.130? ( [71.255.85.86]) by mx.gmail.com with ESMTP id d2sm1436875qbc.2005.10.18.14.15.11; Tue, 18 Oct 2005 14:15:11 -0700 (PDT) Message-ID: <435565A8.40706@gmail.com> Date: Tue, 18 Oct 2005 17:14:16 -0400 From: Joe Ciccone Organization: Crazy Eye Soft User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050925) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <200510152015.33096.okuji@enbug.org> <4352ACF1.8050908@gmail.com> <874q7hb28r.fsf@student.han.nl> In-Reply-To: <874q7hb28r.fsf@student.han.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: GRUB 1.91 is released X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2005 21:15:14 -0000 Marco Gerards wrote: >Joe Ciccone writes: > > > >>Yoshinori K. Okuji wrote:. >> >> >> >>>* Add support for x86_64. >>> >>> >>> >>I am curious if support for x86_64 still uses -m32 in the build process, >>and if so, why? >> >> >My question: why not? > > I just created a simply dummy program and tried to compile it with a 64bit only compiler, cross-compiling or not, the build of grub fails with -m32, just as the build of this simple program fails with -m32. Now that you have an example of that happens in a Pure64bit enviorment with only 64 bit libs available to the compiler. Do you have any ideas on what can be done to make grub compile and work under these conditions? lfs:~$ echo "int main () {}" > dummy.c lfs:~$ $CC -m32 dummy.c /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/./libgcc.a when searching for -lgcc /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/libgcc.a when searching for -lgcc /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /cross-tools/lib/gcc/x86_64-pc-linux-gnu/4.0.2/./libgcc.a when searching for -lgcc /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /cross-tools/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libgcc.a when searching for -lgcc /home/lfs/cross-tools/bin/../lib/gcc/x86_64-pc-linux-gnu/4.0.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc collect2: ld returned 1 exit status